=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mongodb-4.2.15nb10 => Replacing database paths. => Changing /var to /var. cd /Users/pbulk/build-disk/databases/mongodb/work/mongodb-src-r4.2.15 && /usr/bin/env USETOOLS=no GOTMPDIR=/Users/pbulk/build-disk DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= MACOSX_DEPLOYMENT_TARGET=11.3 PYTHON=/opt/pkg/bin/python3.10 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -D_REENTRANT\ -I/opt/pkg/include/python3.10\ -DLDAP_DEPRECATED CPPFLAGS=-fno-jump-tables\ -I/opt/pkg/include\ -D_REENTRANT\ -I/opt/pkg/include/python3.10\ -DLDAP_DEPRECATED CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -D_REENTRANT\ -I/opt/pkg/include/python3.10\ -DLDAP_DEPRECATED COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -L/opt/pkg/lib\ -lexecinfo LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/bin:/Users/pbulk/build-disk/databases/mongodb/work/.buildlink/bin:/Users/pbulk/build-disk/databases/mongodb/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/Users/pbulk/build-disk/databases/mongodb/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build-disk/databases/mongodb/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build-disk/databases/mongodb/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build-disk/databases/mongodb/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build-disk/databases/mongodb/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build-disk/databases/mongodb/work/.buildlink/lib/pkgconfig:/Users/pbulk/build-disk/databases/mongodb/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build-disk/databases/mongodb/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/config /opt/pkg/bin/scons -j3 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-boost --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-sqlite --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --ssl=on --ssl-provider=openssl CC=clang CXX=clang++ CFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include\ -D_REENTRANT\ -I/opt/pkg/include/python3.10\ -DLDAP_DEPRECATED CXXFLAGS=\ -pipe\ -Os\ -I/opt/pkg/include\ -D_REENTRANT\ -I/opt/pkg/include/python3.10\ -DLDAP_DEPRECATED LINKFLAGS=\ -L/opt/pkg/lib\ -L/opt/pkg/lib\ \ \ -lexecinfo CPPPATH=/opt/pkg/include/libbson-1.0\ /opt/pkg/include/libmongoc-1.0 VERBOSE=1 core /opt/pkg/bin/scons:104: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources scons: Reading SConscript files ... scons: running with args /opt/pkg/bin/python3.10 /opt/pkg/bin/scons -j3 --dbg=off --disable-warnings-as-errors --release --runtime-hardening=off --use-system-boost --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-sqlite --use-system-tcmalloc --use-system-yaml --use-system-zlib --use-system-zstd --ssl=on --ssl-provider=openssl CC=clang CXX=clang++ CFLAGS= -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED CXXFLAGS= -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED LINKFLAGS= -L/opt/pkg/lib -L/opt/pkg/lib -lexecinfo CPPPATH=/opt/pkg/include/libbson-1.0 /opt/pkg/include/libmongoc-1.0 VERBOSE=1 core Mkdir("build/scons") scons version: 3.1.2 python version: 3 10 12 'final' 0 CC is clang clang found in $PATH at /Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/bin/clang /Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/bin/clang resolves to /opt/pkg/libexec/cwrappers/cc-wrapper CXX is clang++ clang++ found in $PATH at /Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/bin/clang++ /Users/pbulk/build-disk/databases/mongodb/work/.cwrapper/bin/clang++ resolves to /opt/pkg/libexec/cwrappers/c++-wrapper 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 "clang++" is GCC... no Checking if C++ compiler "clang++" is clang... yes Checking if C compiler "clang" is clang... yes Detected a aarch64 processor Checking if target OS macOS is supported by the toolchain... yes Checking if C compiler is clang 7.0 (or Apple XCode 10.0) or newer...yes Checking if C++ compiler is clang 7.0 (or Apple XCode 10.0) or newer...yes Checking for sufficient macOS target version minimum... 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... yes Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... yes Checking if C compiler supports -Wno-tautological-constant-compare... yes Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... yes Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... yes 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... yes Checking if C compiler supports -Wno-potentially-evaluated-expression... yes Checking if C++ compiler supports -Wpessimizing-move... yes Checking if C++ compiler supports -Wredundant-move... yes Checking if C++ compiler supports -Wno-maybe-uninitialized... no Checking if C++ compiler supports -Wno-undefined-var-template... yes Checking if C++ compiler supports -Wno-instantiation-after-specialization... yes Checking if C compiler supports -Wno-unused-lambda-capture... yes Checking if C compiler supports -Wno-exceptions... yes Checking if C++ compiler supports -fsized-deallocation... yes Checking if C++ compiler supports -Wno-defaulted-function-deleted... yes Checking -Wnon-virtual-dtor for false positives... no Checking if C compiler supports -Wunguarded-availability... yes Checking if we are using libstdc++... no Checking if C++ compiler supports -std=c++17... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14/17 support Checking for C++17... yes Checking for memset_s... yes Checking for C function strnlen()... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... no Checking off_t is 8 bytes... 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... no Checking for SSLeay_version(0) in C library crypto... yes Checking for SSL_version(NULL) in C library ssl... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... yes Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes Checking if EC_KEY_new_by_curve_name is supported... yes Using SSL Provider: openssl Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library zstd... yes Checking for C library yaml-cpp... yes Checking for C library icudata... yes Checking for C++ header file sqlite3.h... yes Checking for C library sqlite3... 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... no Checking for C library dl... yes Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking if std::atomic 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... yes Checking if mongoc version is 1.13.0 or newer...yes Checking for curl_global_init(0) in C library curl... yes Checking for curl_global_init(0) in C library curl... yes Checking if C compiler supports -moutline-atomics... yes Checking for C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file arm_neon.h... yes scons: done reading SConscript files. scons: Building targets ... clang++ -o build/opt/third_party/shim_yaml.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_yaml.cpp /opt/pkg/bin/python3.10 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp Creating 'build/opt/mongo/config.h' /usr/bin/libtool -static -o build/opt/third_party/libshim_yaml.a -s -no_warning_for_no_symbols build/opt/third_party/shim_yaml.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_yaml.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/third_party/libshim_yaml.a /opt/pkg/bin/python3.10 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type_gen.h build/opt/mongo/db/auth/action_type_gen.cpp clang++ -o build/opt/mongo/db/catalog/commit_quorum_options.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/commit_quorum_options.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/ops/write_ops_gen.h --output build/opt/mongo/db/ops/write_ops_gen.cpp src/mongo/db/ops/write_ops.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/ops/single_write_result_gen.h --output build/opt/mongo/db/ops/single_write_result_gen.cpp src/mongo/db/ops/single_write_result.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/apply_ops_gen.h --output build/opt/mongo/db/repl/apply_ops_gen.cpp src/mongo/db/repl/apply_ops.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/oplog_entry_gen.h --output build/opt/mongo/db/repl/oplog_entry_gen.cpp src/mongo/db/repl/oplog_entry.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/traffic_recorder_gen.h --output build/opt/mongo/db/traffic_recorder_gen.cpp src/mongo/db/traffic_recorder.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/exchange_spec_gen.h --output build/opt/mongo/db/pipeline/exchange_spec_gen.cpp src/mongo/db/pipeline/exchange_spec.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/generic_cursor_gen.h --output build/opt/mongo/db/generic_cursor_gen.cpp src/mongo/db/generic_cursor.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/client/read_preference_gen.h --output build/opt/mongo/client/read_preference_gen.cpp src/mongo/client/read_preference.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/query/query_knobs_gen.h --output build/opt/mongo/db/query/query_knobs_gen.cpp src/mongo/db/query/query_knobs.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/runtime_constants_gen.h --output build/opt/mongo/db/pipeline/runtime_constants_gen.cpp src/mongo/db/pipeline/runtime_constants.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/logical_session_id_gen.h --output build/opt/mongo/db/logical_session_id_gen.cpp src/mongo/db/logical_session_id.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/database_version_gen.h --output build/opt/mongo/s/database_version_gen.cpp src/mongo/s/database_version.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/query/tailable_mode_gen.h --output build/opt/mongo/db/query/tailable_mode_gen.cpp src/mongo/db/query/tailable_mode.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/drop_connections_gen.h --output build/opt/mongo/db/commands/drop_connections_gen.cpp src/mongo/db/commands/drop_connections.idl clang++ -o build/opt/mongo/db/commands/generic_servers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/generic_servers.cpp clang++ -o build/opt/mongo/db/commands/traffic_recording_cmds.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/traffic_recording_cmds.cpp /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcommit_quorum_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/commit_quorum_options.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcommit_quorum_options.a clang++ -o build/opt/mongo/db/commands/drop_connections_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/drop_connections_command.cpp In file included from src/mongo/db/commands/generic_servers.cpp:36: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/traffic_recording_cmds.cpp:36: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/traffic_recording_cmds.cpp:37: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/traffic_recording_cmds.cpp:37: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/traffic_recording_cmds.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/generic_servers.cpp:36: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/traffic_recording_cmds.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/drop_connections_command.cpp:34: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/drop_connections_command.cpp:34: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/drop_connections_command.cpp:34: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/drop_connections_command.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/drop_connections_command.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/commands/user_management_commands_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/user_management_commands_common.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/commands/mr_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/mr_common.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/user_management_commands_gen.h --output build/opt/mongo/db/commands/user_management_commands_gen.cpp src/mongo/db/commands/user_management_commands.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/auth/address_restriction_gen.h --output build/opt/mongo/db/auth/address_restriction_gen.cpp src/mongo/db/auth/address_restriction.idl clang++ -o build/opt/mongo/db/commands/user_management_commands_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/user_management_commands_gen.cpp In file included from src/mongo/db/commands/user_management_commands_common.cpp:44: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/user_management_commands_common.cpp:44: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/user_management_commands_common.cpp:44: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/mr_common.cpp:32: In file included from src/mongo/db/commands/mr.h:36: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/mr_common.cpp:32: In file included from src/mongo/db/commands/mr.h:36: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/commands/user_management_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 3 warnings generated. clang++ -o build/opt/mongo/db/commands/isself.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/isself.cpp In file included from build/opt/mongo/db/commands/user_management_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/isself.cpp:33: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/commands/drop_connections_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/drop_connections_gen.cpp 2 warnings generated. In file included from src/mongo/db/commands/isself.cpp:33: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/conn_pool_sync.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/conn_pool_sync.cpp In file included from src/mongo/db/commands/conn_pool_sync.cpp:32: In file included from src/mongo/client/global_conn_pool.h:32: In file included from src/mongo/client/connpool.h:35: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/commands/drop_connections_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/commands/drop_connections_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. In file included from src/mongo/db/commands/conn_pool_sync.cpp:33: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/logical_session_cache_gen.h --output build/opt/mongo/db/logical_session_cache_gen.cpp src/mongo/db/logical_session_cache.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/logical_session_cache_stats_gen.h --output build/opt/mongo/db/logical_session_cache_stats_gen.cpp src/mongo/db/logical_session_cache_stats.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/kill_sessions_gen.h --output build/opt/mongo/db/kill_sessions_gen.cpp src/mongo/db/kill_sessions.idl clang++ -o build/opt/mongo/db/commands/logical_session_server_status_section.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/logical_session_server_status_section.cpp 2 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/commands/connection_status.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/connection_status.cpp clang++ -o build/opt/mongo/db/commands/reap_logical_session_cache_now.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/reap_logical_session_cache_now.cpp In file included from src/mongo/db/commands/logical_session_server_status_section.cpp:32: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/logical_session_server_status_section.cpp:32: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/connection_status.cpp:33: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/connection_status.cpp:34: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/reap_logical_session_cache_now.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/connection_status.cpp:34: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/connection_status.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/reap_logical_session_cache_now.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/connection_status.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/repl_set_config_gen.h --output build/opt/mongo/db/repl/repl_set_config_gen.cpp src/mongo/db/repl/repl_set_config.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/catalog/type_chunk_base_gen.h --output build/opt/mongo/s/catalog/type_chunk_base_gen.cpp src/mongo/s/catalog/type_chunk_base.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/repl_settings_gen.h --output build/opt/mongo/db/repl/repl_settings_gen.cpp src/mongo/db/repl/repl_settings.idl clang++ -o build/opt/mongo/db/commands/conn_pool_stats.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/conn_pool_stats.cpp 2 warnings generated. clang++ -o build/opt/mongo/util/options_parser/options_parser_init.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/options_parser_init.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/sessions_commands_gen.h --output build/opt/mongo/db/commands/sessions_commands_gen.cpp src/mongo/db/commands/sessions_commands.idl clang++ -o build/opt/mongo/db/commands/refresh_sessions_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/refresh_sessions_command.cpp In file included from src/mongo/db/commands/conn_pool_stats.cpp:36: In file included from src/mongo/client/connpool.h:35: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/conn_pool_stats.cpp:39: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/refresh_sessions_command.cpp:32: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/refresh_sessions_command.cpp:32: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/refresh_sessions_command.cpp:32: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/refresh_sessions_command.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/util/options_parser/liboptions_parser_init.a -s -no_warning_for_no_symbols build/opt/mongo/util/options_parser/options_parser_init.o Skipping ranlib for libtool generated target build/opt/mongo/util/options_parser/liboptions_parser_init.a clang++ -o build/opt/mongo/db/commands/start_session_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/start_session_command.cpp In file included from src/mongo/db/commands/refresh_sessions_command.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/start_session_command.cpp:35: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/start_session_command.cpp:36: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/start_session_command.cpp:36: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/start_session_command.cpp:39: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libservers.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/conn_pool_stats.o build/opt/mongo/db/commands/conn_pool_sync.o build/opt/mongo/db/commands/connection_status.o build/opt/mongo/db/commands/drop_connections_command.o build/opt/mongo/db/commands/generic_servers.o build/opt/mongo/db/commands/isself.o build/opt/mongo/db/commands/logical_session_server_status_section.o build/opt/mongo/db/commands/mr_common.o build/opt/mongo/db/commands/reap_logical_session_cache_now.o build/opt/mongo/db/commands/traffic_recording_cmds.o build/opt/mongo/db/commands/user_management_commands_common.o build/opt/mongo/db/commands/drop_connections_gen.o build/opt/mongo/db/commands/user_management_commands_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libservers.a clang++ -o build/opt/mongo/db/commands/generic.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/generic.cpp In file included from src/mongo/db/commands/start_session_command.cpp:39: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/parameters_gen.h --output build/opt/mongo/db/commands/parameters_gen.cpp src/mongo/db/commands/parameters.idl clang++ -o build/opt/mongo/db/commands/parameters_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/parameters_gen.cpp In file included from src/mongo/db/commands/generic.cpp:36: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/commands/parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/generic.cpp:36: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ src/mongo/db/commands/generic.cpp:164:25: warning: loop variable 'command' creates a copy from type 'const absl::container_internal::raw_hash_set, mongo::Command *>, mongo::StringMapHasher, mongo::StringMapEq, std::allocator, mongo::Command *>>>::value_type' (aka 'const std::pair, mongo::Command *>') [-Wrange-loop-construct] for (const auto command : globalCommandRegistry()->allCommands()) { ^ src/mongo/db/commands/generic.cpp:164:14: note: use reference type 'const absl::container_internal::raw_hash_set, mongo::Command *>, mongo::StringMapHasher, mongo::StringMapEq, std::allocator, mongo::Command *>>>::value_type &' (aka 'const std::pair, mongo::Command *> &') to prevent copying for (const auto command : globalCommandRegistry()->allCommands()) { ^~~~~~~~~~~~~~~~~~~~ & In file included from build/opt/mongo/db/commands/parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/commands/refresh_logical_session_cache_now.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/refresh_logical_session_cache_now.cpp In file included from src/mongo/db/commands/refresh_logical_session_cache_now.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 3 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/commands/end_sessions_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/end_sessions_command.cpp clang++ -o build/opt/mongo/db/commands/sessions_commands_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/sessions_commands_gen.cpp In file included from src/mongo/db/commands/refresh_logical_session_cache_now.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/commands/sessions_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/end_sessions_command.cpp:33: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/end_sessions_command.cpp:33: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/end_sessions_command.cpp:33: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/end_sessions_command.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/commands/sessions_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/end_sessions_command.cpp:35: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/commands/kill_all_sessions_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_all_sessions_command.cpp In file included from src/mongo/db/commands/kill_all_sessions_command.cpp:37: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_command.cpp:38: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_command.cpp:38: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 5 warnings generated. clang++ -o build/opt/mongo/db/commands/kill_sessions_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_sessions_command.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/request_types/wait_for_fail_point_gen.h --output build/opt/mongo/s/request_types/wait_for_fail_point_gen.cpp src/mongo/s/request_types/wait_for_fail_point.idl In file included from src/mongo/db/commands/kill_all_sessions_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/fail_point_cmd.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/fail_point_cmd.cpp In file included from src/mongo/db/commands/kill_sessions_command.cpp:37: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_sessions_command.cpp:38: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_sessions_command.cpp:38: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_sessions_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/fail_point_cmd.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/kill_sessions_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/fail_point_cmd.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/commands/find_and_modify_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/find_and_modify_common.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/commands/kill_all_sessions_by_pattern_command.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp In file included from src/mongo/db/commands/find_and_modify_common.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 5 warnings generated. clang++ -o build/opt/mongo/db/commands/parameters.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/parameters.cpp In file included from src/mongo/db/commands/find_and_modify_common.cpp:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:37: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:38: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:38: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp:41: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/parameters.cpp:40: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/parameters.cpp:42: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/commands/update_metrics.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/update_metrics.cpp In file included from src/mongo/db/commands/parameters.cpp:42: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/hashcmd.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/hashcmd.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/commands/rename_collection_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/rename_collection_common.cpp 3 warnings generated. In file included from src/mongo/db/commands/hashcmd.cpp:42: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/cloner_gen.h --output build/opt/mongo/db/cloner_gen.cpp src/mongo/db/cloner.idl clang++ -o build/opt/mongo/db/cloner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/cloner.cpp In file included from src/mongo/db/commands/hashcmd.cpp:42: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/rename_collection_common.cpp:37: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/rename_collection_common.cpp:37: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/rename_collection_common.cpp:37: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/cloner.cpp:34: In file included from src/mongo/db/cloner.h:39: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 3 warnings generated. clang++ -o build/opt/mongo/db/cloner_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/cloner_gen.cpp In file included from src/mongo/db/cloner.cpp:42: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libcore.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/end_sessions_command.o build/opt/mongo/db/commands/fail_point_cmd.o build/opt/mongo/db/commands/find_and_modify_common.o build/opt/mongo/db/commands/generic.o build/opt/mongo/db/commands/hashcmd.o build/opt/mongo/db/commands/kill_all_sessions_by_pattern_command.o build/opt/mongo/db/commands/kill_all_sessions_command.o build/opt/mongo/db/commands/kill_sessions_command.o build/opt/mongo/db/commands/parameters.o build/opt/mongo/db/commands/refresh_logical_session_cache_now.o build/opt/mongo/db/commands/refresh_sessions_command.o build/opt/mongo/db/commands/rename_collection_common.o build/opt/mongo/db/commands/start_session_command.o build/opt/mongo/db/commands/update_metrics.o build/opt/mongo/db/commands/parameters_gen.o build/opt/mongo/db/commands/sessions_commands_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libcore.a clang++ -o build/opt/mongo/db/auth/address_restriction_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/auth/address_restriction_gen.cpp In file included from src/mongo/db/cloner.cpp:62: In file included from src/mongo/db/storage/durable_catalog.h:37: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from build/opt/mongo/db/cloner_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/cloner_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/auth/address_restriction_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/auth/address_restriction_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/auth/address_restriction.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/auth/address_restriction.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libcloner.a -s -no_warning_for_no_symbols build/opt/mongo/db/cloner.o build/opt/mongo/db/cloner_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libcloner.a clang++ -o build/opt/mongo/db/fts/ftsmongod.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/ftsmongod.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/fts/libftsmongod.a -s -no_warning_for_no_symbols build/opt/mongo/db/fts/ftsmongod.o clang++ -o build/opt/mongo/db/storage/snapshot_helper.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/snapshot_helper.cpp warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/db/fts/libftsmongod.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/mongo/db/fts/libftsmongod.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/session_txn_record_gen.h --output build/opt/mongo/db/session_txn_record_gen.cpp src/mongo/db/session_txn_record.idl clang++ -o build/opt/mongo/db/s/op_observer_sharding_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/op_observer_sharding_impl.cpp In file included from src/mongo/db/s/op_observer_sharding_impl.cpp:32: In file included from src/mongo/db/s/op_observer_sharding_impl.h:32: In file included from src/mongo/db/op_observer_impl.h:32: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/db/auth/libaddress_restriction.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/address_restriction.o build/opt/mongo/db/auth/address_restriction_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libaddress_restriction.a clang++ -o build/opt/mongo/db/catalog/index_catalog_entry.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_catalog_entry.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libsnapshot_helper.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/snapshot_helper.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libsnapshot_helper.a clang++ -o build/opt/mongo/util/debugger.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/debugger.cpp In file included from src/mongo/db/s/op_observer_sharding_impl.cpp:32: In file included from src/mongo/db/s/op_observer_sharding_impl.h:32: In file included from src/mongo/db/op_observer_impl.h:32: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/util/libdebugger.a -s -no_warning_for_no_symbols build/opt/mongo/util/debugger.o Skipping ranlib for libtool generated target build/opt/mongo/util/libdebugger.a clang++ -o build/opt/mongo/db/logical_session_id_helpers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_id_helpers.cpp /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libindex_catalog_entry.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/index_catalog_entry.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libindex_catalog_entry.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/query/async_results_merger_params_gen.h --output build/opt/mongo/s/query/async_results_merger_params_gen.cpp src/mongo/s/query/async_results_merger_params.idl In file included from src/mongo/db/logical_session_id_helpers.cpp:34: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/logical_session_id_helpers.cpp:34: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/logical_session_id_helpers.cpp:34: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/s/query/cluster_client_cursor_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_client_cursor_impl.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libop_observer_sharding_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/op_observer_sharding_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libop_observer_sharding_impl.a clang++ -o build/opt/mongo/db/repl/abstract_async_component.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/abstract_async_component.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_session_id_helpers.a -s -no_warning_for_no_symbols build/opt/mongo/db/logical_session_id_helpers.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_session_id_helpers.a clang++ -o build/opt/mongo/util/icu.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/icu.cpp In file included from src/mongo/s/query/cluster_client_cursor_impl.cpp:32: In file included from src/mongo/s/query/cluster_client_cursor_impl.h:36: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/query/cluster_client_cursor_impl.cpp:32: In file included from src/mongo/s/query/cluster_client_cursor_impl.h:36: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/util/libicu.a -s -no_warning_for_no_symbols build/opt/mongo/util/icu.o Skipping ranlib for libtool generated target build/opt/mongo/util/libicu.a clang++ -o build/opt/mongo/db/fts/fts_spec_legacy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec_legacy.cpp /usr/bin/libtool -static -o build/opt/mongo/db/repl/libabstract_async_component.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/abstract_async_component.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libabstract_async_component.a clang++ -o build/opt/mongo/db/fts/fts_query_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_impl.cpp clang++ -o build/opt/mongo/db/fts/tokenizer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/tokenizer.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_client_cursor.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_client_cursor_impl.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_client_cursor.a clang++ -o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_phrase_matcher.cpp clang++ -o build/opt/mongo/db/fts/fts_element_iterator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_element_iterator.cpp clang++ -o build/opt/mongo/db/fts/stop_words.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/stop_words.cpp /opt/pkg/bin/python3.10 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/opt/mongo/db/fts/stop_words_list.h build/opt/mongo/db/fts/stop_words_list.cpp clang++ -o build/opt/mongo/db/fts/stop_words_list.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/fts/stop_words_list.cpp clang++ -o build/opt/mongo/db/fts/fts_query_parser.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_parser.cpp clang++ -o build/opt/mongo/db/fts/fts_spec.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec.cpp clang++ -o build/opt/mongo/db/fts/fts_index_format.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_index_format.cpp clang++ -o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_phrase_matcher.cpp clang++ -o build/opt/mongo/db/fts/fts_util.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_util.cpp In file included from src/mongo/db/fts/fts_spec.cpp:39: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/fts/fts_spec.cpp:39: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/fts/fts_unicode_tokenizer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_tokenizer.cpp clang++ -o build/opt/mongo/db/fts/fts_basic_tokenizer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_tokenizer.cpp clang++ -o build/opt/mongo/db/fts/stemmer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/stemmer.cpp clang++ -o build/opt/mongo/db/fts/fts_language.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_language.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/fts/fts_matcher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_matcher.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.h --output build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp src/mongo/db/auth/enable_localhost_auth_bypass_parameter.idl clang++ -o build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp clang++ -o build/opt/mongo/db/auth/authz_session_external_state_server_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_session_external_state_server_common.cpp In file included from build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/db/fts/libbase_fts.a -s -no_warning_for_no_symbols build/opt/mongo/db/fts/fts_index_format.o build/opt/mongo/db/fts/fts_matcher.o build/opt/mongo/db/fts/fts_query_impl.o build/opt/mongo/db/fts/fts_query_parser.o build/opt/mongo/db/fts/fts_spec.o build/opt/mongo/db/fts/fts_spec_legacy.o build/opt/mongo/db/fts/fts_language.o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o build/opt/mongo/db/fts/fts_basic_tokenizer.o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o build/opt/mongo/db/fts/fts_unicode_tokenizer.o build/opt/mongo/db/fts/fts_util.o build/opt/mongo/db/fts/fts_element_iterator.o build/opt/mongo/db/fts/stemmer.o build/opt/mongo/db/fts/stop_words.o build/opt/mongo/db/fts/stop_words_list.o build/opt/mongo/db/fts/tokenizer.o Skipping ranlib for libtool generated target build/opt/mongo/db/fts/libbase_fts.a clang++ -o build/opt/mongo/db/auth/sasl_commands.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_commands.cpp In file included from build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/auth/authz_session_external_state_server_common.cpp:34: In file included from src/mongo/db/auth/authz_session_external_state_server_common.h:33: In file included from src/mongo/db/auth/authz_session_external_state.h:35: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/auth/authz_session_external_state_server_common.cpp:34: In file included from src/mongo/db/auth/authz_session_external_state_server_common.h:33: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/util/quick_exit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/quick_exit.cpp In file included from src/mongo/db/auth/sasl_commands.cpp:44: In file included from src/mongo/db/auth/authentication_session.h:34: In file included from src/mongo/db/auth/sasl_mechanism_registry.h:37: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/auth/sasl_commands.cpp:44: In file included from src/mongo/db/auth/authentication_session.h:34: In file included from src/mongo/db/auth/sasl_mechanism_registry.h:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/util/libquick_exit.a -s -no_warning_for_no_symbols build/opt/mongo/util/quick_exit.o Skipping ranlib for libtool generated target build/opt/mongo/util/libquick_exit.a clang++ -o build/opt/mongo/db/command_generic_argument.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/command_generic_argument.cpp In file included from src/mongo/db/auth/sasl_commands.cpp:44: In file included from src/mongo/db/auth/authentication_session.h:34: In file included from src/mongo/db/auth/sasl_mechanism_registry.h:38: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/generic_cursor_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/generic_cursor_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libcommand_generic_argument.a -s -no_warning_for_no_symbols build/opt/mongo/db/command_generic_argument.o In file included from src/mongo/db/auth/sasl_commands.cpp:45: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/auth/sasl_commands.cpp:45: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/db/libcommand_generic_argument.a clang++ -o build/opt/mongo/rpc/message.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/message.cpp In file included from src/mongo/db/auth/sasl_commands.cpp:46: In file included from src/mongo/db/auth/authz_manager_external_state_mock.h:37: In file included from src/mongo/db/auth/authz_manager_external_state_local.h:35: src/mongo/db/auth/authz_manager_external_state.h:62:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ Creating 'build/opt/third_party/wiredtiger/wiredtiger.h' clang++ -o build/opt/mongo/rpc/op_msg.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/op_msg.cpp In file included from build/opt/mongo/db/generic_cursor_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/generic_cursor_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 6 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauthservercommon.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/authz_session_external_state_server_common.o build/opt/mongo/db/auth/sasl_commands.o build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauthservercommon.a clang++ -o build/opt/mongo/rpc/protocol.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/protocol.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.h --output build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.cpp src/mongo/db/auth/authorization_manager_global_parameters.idl clang++ -o build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/rpc/libprotocol.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/message.o build/opt/mongo/rpc/op_msg.o build/opt/mongo/rpc/protocol.o /usr/bin/libtool -static -o build/opt/mongo/db/libgeneric_cursor.a -s -no_warning_for_no_symbols build/opt/mongo/db/generic_cursor_gen.o Skipping ranlib for libtool generated target build/opt/mongo/rpc/libprotocol.a clang++ -o build/opt/mongo/db/auth/authorization_manager_global.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_manager_global.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/libgeneric_cursor.a clang++ -o build/opt/mongo/db/catalog/collection_catalog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_catalog.cpp In file included from build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:9: In file included from build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.h:21: In file included from src/mongo/db/auth/authorization_manager_impl.h:32: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/collection_catalog.cpp:33: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/auth/authorization_manager_global.cpp:32: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/auth/authorization_manager_global.cpp:34: src/mongo/db/auth/authz_manager_external_state.h:62:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/collection_catalog.cpp:33: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/repl/drop_pending_collection_reaper.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/drop_pending_collection_reaper.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauthorization_manager_global.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/authorization_manager_global.o build/opt/mongo/db/auth/authorization_manager_global_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauthorization_manager_global.a clang++ -o build/opt/third_party/shim_pcrecpp.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_pcrecpp.cc In file included from src/mongo/db/repl/drop_pending_collection_reaper.cpp:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/third_party/libshim_pcrecpp.a -s -no_warning_for_no_symbols build/opt/third_party/shim_pcrecpp.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_pcrecpp.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/third_party/libshim_pcrecpp.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/document_source_replace_root_gen.h --output build/opt/mongo/db/pipeline/document_source_replace_root_gen.cpp src/mongo/db/pipeline/document_source_replace_root.idl clang++ -o build/opt/mongo/db/pipeline/document_source_replace_root_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_source_replace_root_gen.cpp In file included from src/mongo/db/repl/drop_pending_collection_reaper.cpp:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcollection_catalog.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/collection_catalog.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcollection_catalog.a In file included from build/opt/mongo/db/pipeline/document_source_replace_root_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/document_source_list_sessions_gen.h --output build/opt/mongo/db/pipeline/document_source_list_sessions_gen.cpp src/mongo/db/pipeline/document_source_list_sessions.idl clang++ -o build/opt/mongo/db/pipeline/document_source_list_sessions_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_source_list_sessions_gen.cpp In file included from build/opt/mongo/db/pipeline/document_source_replace_root_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libdrop_pending_collection_reaper.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/drop_pending_collection_reaper.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libdrop_pending_collection_reaper.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/value_gen.h --output build/opt/mongo/db/pipeline/value_gen.cpp src/mongo/db/pipeline/value.idl clang++ -o build/opt/mongo/db/pipeline/value_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/value_gen.cpp In file included from build/opt/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/pipeline/document_source_list_sessions_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/document_source_merge_modes_gen.h --output build/opt/mongo/db/pipeline/document_source_merge_modes_gen.cpp src/mongo/db/pipeline/document_source_merge_modes.idl clang++ -o build/opt/mongo/db/pipeline/document_source_merge_modes_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_source_merge_modes_gen.cpp In file included from build/opt/mongo/db/pipeline/value_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/pipeline/value_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/exchange_spec_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/exchange_spec_gen.cpp In file included from build/opt/mongo/db/pipeline/document_source_merge_modes_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/document_source_change_stream_gen.h --output build/opt/mongo/db/pipeline/document_source_change_stream_gen.cpp src/mongo/db/pipeline/document_source_change_stream.idl clang++ -o build/opt/mongo/db/pipeline/resume_token.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/resume_token.cpp In file included from build/opt/mongo/db/pipeline/exchange_spec_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/pipeline/exchange_spec_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_change_stream_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_source_change_stream_gen.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/pipeline/document_source_merge_gen.h --output build/opt/mongo/db/pipeline/document_source_merge_gen.cpp src/mongo/db/pipeline/document_source_merge.idl clang++ -o build/opt/mongo/db/pipeline/document_source_merge_spec.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_merge_spec.cpp In file included from build/opt/mongo/db/pipeline/document_source_change_stream_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/pipeline/document_source_change_stream_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_merge_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_source_merge_gen.cpp In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:38: In file included from src/mongo/db/pipeline/document_source_merge.h:33: In file included from src/mongo/db/pipeline/document_source_writer.h:36: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:38: In file included from src/mongo/db/pipeline/document_source_merge.h:33: In file included from src/mongo/db/pipeline/document_source_writer.h:36: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/pipeline/document_source_merge_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. In file included from build/opt/mongo/db/pipeline/document_source_merge_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/concurrency/write_conflict_exception.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/write_conflict_exception.cpp In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:38: In file included from src/mongo/db/pipeline/document_source_merge.h:33: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:54:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:38: In file included from src/mongo/db/pipeline/document_source_merge.h:33: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:67:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, const int readConcernTimeout)->Status) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/pipeline/document_source_merge_spec.cpp:38: In file included from src/mongo/db/pipeline/document_source_merge.h:33: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:75:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/concurrency/write_conflict_exception.cpp:32: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/concurrency/write_conflict_exception.cpp:32: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/concurrency/write_conflict_exception_gen.h --output build/opt/mongo/db/concurrency/write_conflict_exception_gen.cpp src/mongo/db/concurrency/write_conflict_exception.idl clang++ -o build/opt/mongo/db/concurrency/write_conflict_exception_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/concurrency/write_conflict_exception_gen.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libdocument_sources_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/document_source_change_stream_gen.o build/opt/mongo/db/pipeline/document_source_list_sessions_gen.o build/opt/mongo/db/pipeline/document_source_merge_gen.o build/opt/mongo/db/pipeline/document_source_merge_modes_gen.o build/opt/mongo/db/pipeline/document_source_replace_root_gen.o build/opt/mongo/db/pipeline/exchange_spec_gen.o build/opt/mongo/db/pipeline/value_gen.o build/opt/mongo/db/pipeline/document_source_merge_spec.o build/opt/mongo/db/pipeline/resume_token.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libdocument_sources_idl.a clang++ -o build/opt/mongo/db/command_can_run_here.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/command_can_run_here.cpp In file included from build/opt/mongo/db/concurrency/write_conflict_exception_gen.cpp:9: In file included from build/opt/mongo/db/concurrency/write_conflict_exception_gen.h:21: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/storage/biggie/biggie_init.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/biggie/biggie_init.cpp In file included from build/opt/mongo/db/concurrency/write_conflict_exception_gen.cpp:9: In file included from build/opt/mongo/db/concurrency/write_conflict_exception_gen.h:21: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/command_can_run_here.cpp:32: In file included from src/mongo/db/command_can_run_here.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/storage/biggie/biggie_init.cpp:35: In file included from src/mongo/db/storage/storage_engine_impl.h:39: In file included from src/mongo/db/storage/durable_catalog.h:37: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/storage/biggie/biggie_init.cpp:35: In file included from src/mongo/db/storage/storage_engine_impl.h:40: In file included from src/mongo/db/storage/durable_catalog_feature_tracker.h:36: In file included from src/mongo/db/storage/durable_catalog_impl.h:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/command_can_run_here.cpp:32: In file included from src/mongo/db/command_can_run_here.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/storage/biggie/biggie_init.cpp:35: In file included from src/mongo/db/storage/storage_engine_impl.h:40: In file included from src/mongo/db/storage/durable_catalog_feature_tracker.h:36: In file included from src/mongo/db/storage/durable_catalog_impl.h:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/concurrency/libwrite_conflict_exception.a -s -no_warning_for_no_symbols build/opt/mongo/db/concurrency/write_conflict_exception.o build/opt/mongo/db/concurrency/write_conflict_exception_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/concurrency/libwrite_conflict_exception.a clang++ -o build/opt/mongo/db/commands.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libcommand_can_run_here.a -s -no_warning_for_no_symbols build/opt/mongo/db/command_can_run_here.o In file included from src/mongo/db/commands.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning Skipping ranlib for libtool generated target build/opt/mongo/db/libcommand_can_run_here.a clang++ -o build/opt/mongo/scripting/bson_template_evaluator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/scripting/bson_template_evaluator.cpp In file included from src/mongo/db/commands.cpp:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/biggie/libstorage_biggie.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/biggie/biggie_init.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/biggie/libstorage_biggie.a clang++ -o build/opt/mongo/db/repl/oplog_interface_remote.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_interface_remote.cpp In file included from src/mongo/db/commands.cpp:46: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands.cpp:47: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands.cpp:47: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/scripting/libbson_template_evaluator.a -s -no_warning_for_no_symbols build/opt/mongo/scripting/bson_template_evaluator.o Skipping ranlib for libtool generated target build/opt/mongo/scripting/libbson_template_evaluator.a clang++ -o build/opt/mongo/db/session_catalog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/session_catalog.cpp In file included from src/mongo/db/repl/oplog_interface_remote.cpp:34: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_interface_remote.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_interface_remote.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_interface_remote.a clang++ -o build/opt/mongo/db/exec/working_set.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/exec/working_set.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libcommands.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands.o Skipping ranlib for libtool generated target build/opt/mongo/db/libcommands.a clang++ -o build/opt/mongo/db/exec/working_set_computed_data.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/exec/working_set_computed_data.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libsession_catalog.a -s -no_warning_for_no_symbols build/opt/mongo/db/session_catalog.o Skipping ranlib for libtool generated target build/opt/mongo/db/libsession_catalog.a clang++ -o build/opt/mongo/bson/mutable/document.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/bson/mutable/document.cpp clang++ -o build/opt/mongo/bson/mutable/element.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/bson/mutable/element.cpp /usr/bin/libtool -static -o build/opt/mongo/db/exec/libworking_set.a -s -no_warning_for_no_symbols build/opt/mongo/db/exec/working_set.o build/opt/mongo/db/exec/working_set_computed_data.o Skipping ranlib for libtool generated target build/opt/mongo/db/exec/libworking_set.a clang++ -o build/opt/mongo/db/storage/storage_engine_lock_file.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_lock_file.cpp clang++ -o build/opt/mongo/db/storage/storage_engine_lock_file_posix.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_lock_file_posix.cpp /usr/bin/libtool -static -o build/opt/mongo/bson/mutable/libmutable_bson.a -s -no_warning_for_no_symbols build/opt/mongo/bson/mutable/document.o build/opt/mongo/bson/mutable/element.o Skipping ranlib for libtool generated target build/opt/mongo/bson/mutable/libmutable_bson.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/free_mon/free_mon_protocol_gen.h --output build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp src/mongo/db/free_mon/free_mon_protocol.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/free_mon/free_mon_storage_gen.h --output build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp src/mongo/db/free_mon/free_mon_storage.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/free_mon/free_mon_commands_gen.h --output build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp src/mongo/db/free_mon/free_mon_commands.idl clang++ -o build/opt/mongo/db/free_mon/free_mon_status.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_status.cpp clang++ -o build/opt/mongo/db/free_mon/free_mon_commands.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_commands.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libstorage_engine_lock_file.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/storage_engine_lock_file.o build/opt/mongo/db/storage/storage_engine_lock_file_posix.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libstorage_engine_lock_file.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/free_mon/free_mon_options_gen.h --output build/opt/mongo/db/free_mon/free_mon_options_gen.cpp src/mongo/db/free_mon/free_mon_options.idl clang++ -o build/opt/mongo/db/free_mon/free_mon_options_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_options_gen.cpp In file included from src/mongo/db/free_mon/free_mon_status.cpp:32: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/free_mon/free_mon_commands.cpp:32: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_commands.cpp:32: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_commands.cpp:32: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_commands.cpp:33: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/free_mon/free_mon_status.cpp:32: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_commands.cpp:33: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/free_mon/free_mon_options_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/free_mon/free_mon_options_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/free_mon/free_mon_options.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_options.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/free_mon/free_mon_mongod_gen.h --output build/opt/mongo/db/free_mon/free_mon_mongod_gen.cpp src/mongo/db/free_mon/free_mon_mongod.idl clang++ -o build/opt/mongo/db/free_mon/free_mon_mongod_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_mongod_gen.cpp In file included from build/opt/mongo/db/free_mon/free_mon_mongod_gen.cpp:9: In file included from build/opt/mongo/db/free_mon/free_mon_mongod_gen.h:21: In file included from src/mongo/db/free_mon/free_mon_mongod.h:34: In file included from src/mongo/db/op_observer_registry.h:36: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/free_mon/free_mon_mongod.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_mongod.cpp clang++ -o build/opt/mongo/util/regex_util.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/regex_util.cpp In file included from build/opt/mongo/db/free_mon/free_mon_mongod_gen.cpp:9: In file included from build/opt/mongo/db/free_mon/free_mon_mongod_gen.h:21: In file included from src/mongo/db/free_mon/free_mon_mongod.h:34: In file included from src/mongo/db/op_observer_registry.h:36: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_mongod.cpp:34: In file included from src/mongo/db/free_mon/free_mon_mongod.h:34: In file included from src/mongo/db/op_observer_registry.h:36: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/util/libregex_util.a -s -no_warning_for_no_symbols build/opt/mongo/util/regex_util.o Skipping ranlib for libtool generated target build/opt/mongo/util/libregex_util.a clang++ -o build/opt/mongo/s/catalog/dist_lock_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_manager.cpp In file included from src/mongo/db/free_mon/free_mon_mongod.cpp:34: In file included from src/mongo/db/free_mon/free_mon_mongod.h:34: In file included from src/mongo/db/op_observer_registry.h:36: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/catalog/dist_lock_ping_info.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_ping_info.cpp clang++ -o build/opt/mongo/executor/network_interface_factory.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface_factory.cpp /usr/bin/libtool -static -o build/opt/mongo/s/catalog/libdist_lock_manager.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/dist_lock_manager.o build/opt/mongo/s/catalog/dist_lock_ping_info.o Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libdist_lock_manager.a clang++ -o build/opt/mongo/scripting/scripting_server.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/scripting/scripting_server.cpp /usr/bin/libtool -static -o build/opt/mongo/scripting/libscripting_server.a -s -no_warning_for_no_symbols build/opt/mongo/scripting/scripting_server.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/scripting/libscripting_server.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/mongo/scripting/libscripting_server.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/query/count_command_gen.h --output build/opt/mongo/db/query/count_command_gen.cpp src/mongo/db/query/count_command.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/transactions_stats_gen.h --output build/opt/mongo/db/transactions_stats_gen.cpp src/mongo/db/transactions_stats.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/txn_cmds_gen.h --output build/opt/mongo/db/commands/txn_cmds_gen.cpp src/mongo/db/commands/txn_cmds.idl clang++ -o build/opt/mongo/db/ops/write_ops_exec.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/ops/write_ops_exec.cpp /usr/bin/libtool -static -o build/opt/mongo/executor/libnetwork_interface_factory.a -s -no_warning_for_no_symbols build/opt/mongo/executor/network_interface_factory.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libnetwork_interface_factory.a clang++ -o build/opt/mongo/util/winutil.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/winutil.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libwinutil.a -s -no_warning_for_no_symbols build/opt/mongo/util/winutil.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/util/libwinutil.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/mongo/util/libwinutil.a clang++ -o build/opt/mongo/db/sessions_collection_rs.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection_rs.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/free_mon/libfree_mon_mongod.a -s -no_warning_for_no_symbols build/opt/mongo/db/free_mon/free_mon_commands.o build/opt/mongo/db/free_mon/free_mon_mongod.o build/opt/mongo/db/free_mon/free_mon_mongod_gen.o build/opt/mongo/db/free_mon/free_mon_options.o build/opt/mongo/db/free_mon/free_mon_options_gen.o build/opt/mongo/db/free_mon/free_mon_status.o Skipping ranlib for libtool generated target build/opt/mongo/db/free_mon/libfree_mon_mongod.a In file included from src/mongo/db/sessions_collection_rs.cpp:32: In file included from src/mongo/db/sessions_collection_rs.h:35: In file included from src/mongo/client/connpool.h:35: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/ops/write_ops_exec.cpp:39: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/ops/write_ops_exec.cpp:39: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/ops/write_ops_exec.cpp:39: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/ops/write_ops_exec.cpp:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/ops/write_ops_exec.cpp:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/repl_server_parameters_gen.h --output build/opt/mongo/db/repl/repl_server_parameters_gen.cpp src/mongo/db/repl/repl_server_parameters.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/feature_compatibility_version_gen.h --output build/opt/mongo/db/commands/feature_compatibility_version_gen.cpp src/mongo/db/commands/feature_compatibility_version.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/keys_collection_manager_gen.h --output build/opt/mongo/db/keys_collection_manager_gen.cpp src/mongo/db/keys_collection_manager.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/s/transaction_coordinator_document_gen.h --output build/opt/mongo/db/s/transaction_coordinator_document_gen.cpp src/mongo/db/s/transaction_coordinator_document.idl 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/libsessions_collection_rs.a -s -no_warning_for_no_symbols build/opt/mongo/db/sessions_collection_rs.o /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/storage/flow_control_parameters_gen.h --output build/opt/mongo/db/storage/flow_control_parameters_gen.cpp src/mongo/db/storage/flow_control_parameters.idl Skipping ranlib for libtool generated target build/opt/mongo/db/libsessions_collection_rs.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/s/add_shard_cmd_gen.h --output build/opt/mongo/db/s/add_shard_cmd_gen.cpp src/mongo/db/s/add_shard_cmd.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/replication_consistency_markers_gen.h --output build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp src/mongo/db/repl/replication_consistency_markers.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/replication_coordinator_impl_gen.h --output build/opt/mongo/db/repl/replication_coordinator_impl_gen.cpp src/mongo/db/repl/replication_coordinator_impl.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/replication_metrics_gen.h --output build/opt/mongo/db/repl/replication_metrics_gen.cpp src/mongo/db/repl/replication_metrics.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/storage/storage_parameters_gen.h --output build/opt/mongo/db/storage/storage_parameters_gen.cpp src/mongo/db/storage/storage_parameters.idl clang++ -o build/opt/mongo/db/storage/key_string.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/key_string.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/repl/election_reason_counter_gen.h --output build/opt/mongo/db/repl/election_reason_counter_gen.cpp src/mongo/db/repl/election_reason_counter.idl clang++ -o build/opt/mongo/db/db.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/db.cpp In file included from src/mongo/db/db.cpp:45: In file included from src/mongo/client/global_conn_pool.h:32: In file included from src/mongo/client/connpool.h:35: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/db/storage/libkey_string.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/key_string.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libkey_string.a clang++ -o build/opt/mongo/db/repl/speculative_majority_read_info.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/speculative_majority_read_info.cpp In file included from src/mongo/db/db.cpp:49: In file included from src/mongo/db/auth/auth_op_observer.h:32: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/db.cpp:50: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/db.cpp:80: In file included from src/mongo/db/index_builds_coordinator_mongod.h:32: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/ops/libwrite_ops_exec.a -s -no_warning_for_no_symbols build/opt/mongo/db/ops/write_ops_exec.o Skipping ranlib for libtool generated target build/opt/mongo/db/ops/libwrite_ops_exec.a clang++ -o build/opt/mongo/s/write_ops/chunk_manager_targeter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/chunk_manager_targeter.cpp In file included from src/mongo/db/db.cpp:112: In file included from src/mongo/db/repl/replication_coordinator_external_state_impl.h:35: In file included from src/mongo/db/repl/bgsync.h:42: src/mongo/db/repl/rollback_impl.h:494:35: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using PendingDropInfo = struct { ^ PendingDropInfo src/mongo/db/repl/rollback_impl.h:495:9: note: type is not C-compatible due to this default member initializer long long count = 0; ^~~~~~~~~~~~~~~ src/mongo/db/repl/rollback_impl.h:494:11: note: type is given name 'PendingDropInfo' for linkage purposes by this alias declaration using PendingDropInfo = struct { ^ /usr/bin/libtool -static -o build/opt/mongo/db/repl/libspeculative_majority_read_info.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/speculative_majority_read_info.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libspeculative_majority_read_info.a clang++ -o build/opt/mongo/s/write_ops/write_op.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/write_op.cpp In file included from src/mongo/s/write_ops/chunk_manager_targeter.cpp:39: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/write_ops/chunk_manager_targeter.cpp:39: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/write_ops/write_op.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/write_ops/write_op.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/write_ops/batch_write_exec.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_exec.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/write_ops/batch_write_op.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_op.cpp 5 warnings generated. clang++ -o build/opt/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.cc /usr/bin/libtool -static -o build/opt/third_party/abseil-cpp-master/libabsl_container.a -s -no_warning_for_no_symbols build/opt/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/raw_hash_set.o Skipping ranlib for libtool generated target build/opt/third_party/abseil-cpp-master/libabsl_container.a clang++ -o build/opt/mongo/db/pipeline/expression_trigonometric.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/expression_trigonometric.cpp In file included from src/mongo/s/write_ops/batch_write_exec.cpp:47: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/write_ops/batch_write_op.cpp:39: In file included from src/mongo/db/s/database_sharding_state.h:32: In file included from src/mongo/db/catalog/database.h:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/write_ops/batch_write_exec.cpp:47: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/write_ops/batch_write_op.cpp:39: In file included from src/mongo/db/s/database_sharding_state.h:32: In file included from src/mongo/db/catalog/database.h:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/pipeline/expression_trigonometric.cpp:32: In file included from src/mongo/db/pipeline/expression_trigonometric.h:32: In file included from src/mongo/db/pipeline/expression.h:45: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/expression_trigonometric.cpp:32: In file included from src/mongo/db/pipeline/expression_trigonometric.h:32: In file included from src/mongo/db/pipeline/expression.h:45: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/expression.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/expression.cpp 2 warnings generated. clang++ -o build/opt/mongo/util/secure_compare_memory.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/secure_compare_memory.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libsecure_compare_memory.a -s -no_warning_for_no_symbols build/opt/mongo/util/secure_compare_memory.o Skipping ranlib for libtool generated target build/opt/mongo/util/libsecure_compare_memory.a clang++ -o build/opt/mongo/db/hasher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/hasher.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/write_ops/libcluster_write_op.a -s -no_warning_for_no_symbols build/opt/mongo/s/write_ops/batch_write_exec.o build/opt/mongo/s/write_ops/batch_write_op.o build/opt/mongo/s/write_ops/chunk_manager_targeter.o build/opt/mongo/s/write_ops/write_op.o Skipping ranlib for libtool generated target build/opt/mongo/s/write_ops/libcluster_write_op.a clang++ -o build/opt/mongo/db/repl/database_cloner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/database_cloner.cpp In file included from src/mongo/db/pipeline/expression.cpp:34: In file included from src/mongo/db/pipeline/expression.h:45: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/expression.cpp:34: In file included from src/mongo/db/pipeline/expression.h:45: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/db/libmongohasher.a -s -no_warning_for_no_symbols build/opt/mongo/db/hasher.o Skipping ranlib for libtool generated target build/opt/mongo/db/libmongohasher.a clang++ -o build/opt/mongo/db/s/sharding_state.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_state.cpp In file included from src/mongo/db/repl/database_cloner.cpp:34: In file included from src/mongo/db/repl/database_cloner.h:39: In file included from src/mongo/client/fetcher.h:41: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/repl/database_cloner.cpp:34: In file included from src/mongo/db/repl/database_cloner.h:39: In file included from src/mongo/client/fetcher.h:41: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/transaction_coordinator_curop.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/transaction_coordinator_curop.cpp In file included from src/mongo/db/s/transaction_coordinator_curop.cpp:29: In file included from src/mongo/db/s/transaction_coordinator_curop.h:31: In file included from src/mongo/db/pipeline/mongos_process_interface.h:33: In file included from src/mongo/db/pipeline/mongo_process_common.h:35: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/s/transaction_coordinator_curop.cpp:29: In file included from src/mongo/db/s/transaction_coordinator_curop.h:31: In file included from src/mongo/db/pipeline/mongos_process_interface.h:33: In file included from src/mongo/db/pipeline/mongo_process_common.h:35: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator_curop.cpp:29: src/mongo/db/s/transaction_coordinator_curop.h:34:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, bool includeIdle, std::vector* ops) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libdatabase_cloner.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/database_cloner.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libdatabase_cloner.a clang++ -o build/opt/mongo/db/s/sharded_connection_info.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/sharded_connection_info.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32: In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/db/s/sharding_migration_critical_section.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_migration_critical_section.cpp In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32: In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository.cpp:32: src/mongo/db/s/transaction_coordinator_worker_curop_repository.h:68:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM(()->std::shared_ptr) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/s/collection_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_metadata.cpp clang++ -o build/opt/mongo/db/s/operation_sharding_state.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/operation_sharding_state.cpp clang++ -o build/opt/mongo/db/s/collection_sharding_state.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_sharding_state.cpp clang++ -o build/opt/mongo/db/s/database_sharding_state.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/database_sharding_state.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libexpression.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/expression.o build/opt/mongo/db/pipeline/expression_trigonometric.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libexpression.a In file included from src/mongo/db/s/database_sharding_state.cpp:34: In file included from src/mongo/db/s/database_sharding_state.h:32: In file included from src/mongo/db/catalog/database.h:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/db/s/transaction_coordinator_factory.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/s/transaction_coordinator_factory.cpp In file included from src/mongo/db/s/database_sharding_state.cpp:34: In file included from src/mongo/db/s/database_sharding_state.h:32: In file included from src/mongo/db/catalog/database.h:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator_factory.cpp:32: src/mongo/db/s/transaction_coordinator_factory.h:38:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, TxnNumber clientTxnNumber)->void) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/util/md5.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/md5.cpp clang++ -o build/opt/mongo/util/password_digest.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/password_digest.cpp 1 warning generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/create_indexes_gen.h --output build/opt/mongo/db/create_indexes_gen.cpp src/mongo/db/create_indexes.idl clang++ -o build/opt/mongo/db/sessions_collection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libmd5.a -s -no_warning_for_no_symbols build/opt/mongo/util/md5.o build/opt/mongo/util/password_digest.o Skipping ranlib for libtool generated target build/opt/mongo/util/libmd5.a clang++ -o build/opt/mongo/db/create_indexes_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/create_indexes_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_api_d.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/collection_metadata.o build/opt/mongo/db/s/collection_sharding_state.o build/opt/mongo/db/s/database_sharding_state.o build/opt/mongo/db/s/operation_sharding_state.o build/opt/mongo/db/s/sharded_connection_info.o build/opt/mongo/db/s/sharding_migration_critical_section.o build/opt/mongo/db/s/sharding_state.o build/opt/mongo/db/s/transaction_coordinator_curop.o build/opt/mongo/db/s/transaction_coordinator_factory.o build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_api_d.a clang++ -o build/opt/mongo/db/stats/timer_stats.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/stats/timer_stats.cpp In file included from src/mongo/db/sessions_collection.cpp:38: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/create_indexes_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/db/stats/libtimer_stats.a -s -no_warning_for_no_symbols build/opt/mongo/db/stats/timer_stats.o Skipping ranlib for libtool generated target build/opt/mongo/db/stats/libtimer_stats.a clang++ -o build/opt/mongo/db/index/duplicate_key_tracker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/duplicate_key_tracker.cpp In file included from build/opt/mongo/db/create_indexes_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 1 warning generated. clang++ -o build/opt/mongo/util/periodic_runner_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/periodic_runner_impl.cpp In file included from src/mongo/db/index/duplicate_key_tracker.cpp:37: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/index/duplicate_key_tracker.cpp:37: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libsessions_collection.a -s -no_warning_for_no_symbols build/opt/mongo/db/sessions_collection.o build/opt/mongo/db/create_indexes_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libsessions_collection.a clang++ -o build/opt/mongo/db/collection_index_usage_tracker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/collection_index_usage_tracker.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libperiodic_runner_impl.a -s -no_warning_for_no_symbols build/opt/mongo/util/periodic_runner_impl.o Skipping ranlib for libtool generated target build/opt/mongo/util/libperiodic_runner_impl.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/snapshot_window_options_gen.h --output build/opt/mongo/db/snapshot_window_options_gen.cpp src/mongo/db/snapshot_window_options.idl clang++ -o build/opt/mongo/db/snapshot_window_options_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/snapshot_window_options_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/index/libduplicate_key_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/duplicate_key_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libduplicate_key_tracker.a clang++ -o build/opt/mongo/db/snapshot_window_options.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/snapshot_window_options.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libcollection_index_usage_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/db/collection_index_usage_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/db/libcollection_index_usage_tracker.a clang++ -o build/opt/mongo/db/repl/read_concern_args.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/read_concern_args.cpp In file included from build/opt/mongo/db/snapshot_window_options_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/db/repl/oplog_applier.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_applier.cpp In file included from build/opt/mongo/db/snapshot_window_options_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/db/repl/libread_concern_args.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/read_concern_args.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libread_concern_args.a clang++ -o build/opt/mongo/executor/connection_pool_stats.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/executor/connection_pool_stats.cpp In file included from src/mongo/db/repl/oplog_applier.cpp:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/repl/oplog_applier.cpp:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/oplog_applier.cpp:36: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/oplog_applier.cpp:36: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/oplog_applier.cpp:36: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libsnapshot_window_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/snapshot_window_options.o build/opt/mongo/db/snapshot_window_options_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libsnapshot_window_options.a clang++ -o build/opt/mongo/s/client/sharding_network_connection_hook.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/client/sharding_network_connection_hook.cpp /usr/bin/libtool -static -o build/opt/mongo/executor/libconnection_pool_stats.a -s -no_warning_for_no_symbols build/opt/mongo/executor/connection_pool_stats.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libconnection_pool_stats.a clang++ -o build/opt/mongo/s/sharding_task_executor_pool_controller.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/sharding_task_executor_pool_controller.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_application_interface.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_applier.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_application_interface.a clang++ -o build/opt/mongo/s/client/sharding_connection_hook.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/client/sharding_connection_hook.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/sharding_task_executor_pool_gen.h --output build/opt/mongo/s/sharding_task_executor_pool_gen.cpp src/mongo/s/sharding_task_executor_pool.idl clang++ -o build/opt/mongo/s/sharding_initialization.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/sharding_initialization.cpp clang++ -o build/opt/mongo/s/sharding_task_executor_pool_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/s/sharding_task_executor_pool_gen.cpp In file included from src/mongo/s/client/sharding_connection_hook.cpp:34: In file included from src/mongo/s/client/sharding_connection_hook.h:32: In file included from src/mongo/client/connpool.h:35: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 1 warning generated. In file included from src/mongo/s/sharding_initialization.cpp:65: In file included from src/mongo/s/query/cluster_cursor_manager.h:43: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/sharding_initialization.cpp:65: In file included from src/mongo/s/query/cluster_cursor_manager.h:43: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.h --output build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp src/mongo/db/storage/wiredtiger/oplog_stone_parameters.idl In file included from build/opt/mongo/s/sharding_task_executor_pool_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/valgrind-3.14.0/include -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp In file included from build/opt/mongo/s/sharding_task_executor_pool_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/catalog/multi_index_block_gen.h --output build/opt/mongo/db/catalog/multi_index_block_gen.cpp src/mongo/db/catalog/multi_index_block.idl /usr/bin/libtool -static -o build/opt/mongo/s/libsharding_initialization.a -s -no_warning_for_no_symbols build/opt/mongo/s/sharding_initialization.o build/opt/mongo/s/sharding_task_executor_pool_controller.o build/opt/mongo/s/sharding_task_executor_pool_gen.o build/opt/mongo/s/client/sharding_connection_hook.o build/opt/mongo/s/client/sharding_network_connection_hook.o Skipping ranlib for libtool generated target build/opt/mongo/s/libsharding_initialization.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/db_raii_gen.h --output build/opt/mongo/db/db_raii_gen.cpp src/mongo/db/db_raii.idl clang++ -o build/opt/mongo/db/catalog/multi_index_block_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/catalog/multi_index_block_gen.cpp clang++ -o build/opt/mongo/db/catalog/multi_index_block.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/multi_index_block.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/wiredtiger/liboplog_stone_parameters.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/wiredtiger/oplog_stone_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/wiredtiger/liboplog_stone_parameters.a clang++ -o build/opt/mongo/db/db_raii.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/db_raii.cpp In file included from build/opt/mongo/db/catalog/multi_index_block_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/multi_index_block.cpp:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/catalog/multi_index_block_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/db_raii.cpp:34: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/multi_index_block.cpp:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/db_raii.cpp:34: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/db_raii_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/db_raii_gen.cpp In file included from build/opt/mongo/db/db_raii_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libmulti_index_block.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/multi_index_block.o build/opt/mongo/db/catalog/multi_index_block_gen.o 2 warnings generated. clang++ -o build/opt/mongo/db/key_generator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/key_generator.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libmulti_index_block.a clang++ -o build/opt/mongo/db/keys_collection_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_manager.cpp In file included from build/opt/mongo/db/db_raii_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libdb_raii.a -s -no_warning_for_no_symbols build/opt/mongo/db/db_raii.o build/opt/mongo/db/db_raii_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libdb_raii.a clang++ -o build/opt/mongo/db/keys_collection_manager_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/keys_collection_manager_gen.cpp clang++ -o build/opt/mongo/db/keys_collection_cache.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_cache.cpp clang++ -o build/opt/mongo/db/pipeline/granularity_rounder_preferred_numbers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp In file included from build/opt/mongo/db/keys_collection_manager_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/keys_collection_manager_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/pipeline/granularity_rounder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder.cpp In file included from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libkeys_collection_manager.a -s -no_warning_for_no_symbols build/opt/mongo/db/keys_collection_manager_gen.o build/opt/mongo/db/keys_collection_manager.o build/opt/mongo/db/keys_collection_cache.o build/opt/mongo/db/key_generator.o Skipping ranlib for libtool generated target build/opt/mongo/db/libkeys_collection_manager.a clang++ -o build/opt/mongo/db/pipeline/granularity_rounder_powers_of_two.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp In file included from src/mongo/db/pipeline/granularity_rounder.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/granularity_rounder.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/executor/connection_pool_tl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/executor/connection_pool_tl.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/executor/executor_parameters_gen.h --output build/opt/mongo/executor/executor_parameters_gen.cpp src/mongo/executor/executor_parameters.idl clang++ -o build/opt/mongo/executor/network_interface_tl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface_tl.cpp In file included from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:32: In file included from src/mongo/db/pipeline/granularity_rounder.h:36: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/executor/connection_pool_tl.cpp:37: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libgranularity_rounder.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/granularity_rounder.o build/opt/mongo/db/pipeline/granularity_rounder_powers_of_two.o build/opt/mongo/db/pipeline/granularity_rounder_preferred_numbers.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libgranularity_rounder.a clang++ -o build/opt/mongo/db/commands/write_commands/write_commands_common.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/write_commands/write_commands_common.cpp In file included from src/mongo/db/commands/write_commands/write_commands_common.cpp:32: In file included from src/mongo/db/commands/write_commands/write_commands_common.h:32: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/write_commands/write_commands_common.cpp:32: In file included from src/mongo/db/commands/write_commands/write_commands_common.h:32: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/commands/write_commands/write_commands_common.cpp:32: In file included from src/mongo/db/commands/write_commands/write_commands_common.h:32: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libwrite_commands_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/write_commands/write_commands_common.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libwrite_commands_common.a clang++ -o build/opt/mongo/db/commands/test_commands.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/test_commands.cpp 1 warning generated. clang++ -o build/opt/mongo/db/commands/whats_my_uri_cmd.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/commands/whats_my_uri_cmd.cpp /usr/bin/libtool -static -o build/opt/mongo/executor/libnetwork_interface_tl.a -s -no_warning_for_no_symbols build/opt/mongo/executor/connection_pool_tl.o build/opt/mongo/executor/network_interface_tl.o In file included from src/mongo/db/commands/test_commands.cpp:39: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning Skipping ranlib for libtool generated target build/opt/mongo/executor/libnetwork_interface_tl.a clang++ -o build/opt/mongo/util/intrusive_counter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/intrusive_counter.cpp In file included from src/mongo/db/commands/whats_my_uri_cmd.cpp:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/commands/test_commands.cpp:39: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/util/libintrusive_counter.a -s -no_warning_for_no_symbols build/opt/mongo/util/intrusive_counter.o In file included from src/mongo/db/commands/whats_my_uri_cmd.cpp:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/util/libintrusive_counter.a clang++ -o build/opt/mongo/db/catalog/drop_collection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_collection.cpp In file included from src/mongo/db/commands/test_commands.cpp:44: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/catalog/drop_collection.cpp:39: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/catalog/create_collection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/create_collection.cpp In file included from src/mongo/db/catalog/drop_collection.cpp:39: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/create_collection.cpp:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/drop_collection.cpp:42: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libshell_protocol.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/test_commands.o build/opt/mongo/db/commands/whats_my_uri_cmd.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libshell_protocol.a clang++ -o build/opt/mongo/db/catalog/coll_mod.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/coll_mod.cpp In file included from src/mongo/db/catalog/create_collection.cpp:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/coll_mod.cpp:45: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/coll_mod.cpp:45: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/catalog/collection_compact.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_compact.cpp In file included from src/mongo/db/catalog/coll_mod.cpp:47: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/catalog/collection_compact.cpp:32: In file included from src/mongo/db/catalog/collection_compact.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/db/catalog/drop_indexes.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_indexes.cpp In file included from src/mongo/db/catalog/collection_compact.cpp:32: In file included from src/mongo/db/catalog/collection_compact.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/drop_indexes.cpp:39: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 3 warnings generated. clang++ -o build/opt/mongo/db/catalog/capped_utils.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/capped_utils.cpp In file included from src/mongo/db/catalog/drop_indexes.cpp:39: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/catalog/drop_database.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_database.cpp In file included from src/mongo/db/catalog/drop_indexes.cpp:43: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/catalog/capped_utils.cpp:43: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/capped_utils.cpp:43: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/drop_database.cpp:39: In file included from src/mongo/db/catalog/database_holder.h:36: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/capped_utils.cpp:47: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/catalog/drop_database.cpp:39: In file included from src/mongo/db/catalog/database_holder.h:36: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/drop_database.cpp:44: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ 3 warnings generated. clang++ -o build/opt/mongo/db/catalog/rename_collection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/rename_collection.cpp In file included from src/mongo/db/catalog/rename_collection.cpp:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 3 warnings generated. clang++ -o build/opt/mongo/db/concurrency/flow_control_ticketholder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/flow_control_ticketholder.cpp In file included from src/mongo/db/catalog/rename_collection.cpp:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 3 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/catalog/disable_index_spec_namespace_generation_gen.h --output build/opt/mongo/db/catalog/disable_index_spec_namespace_generation_gen.cpp src/mongo/db/catalog/disable_index_spec_namespace_generation.idl clang++ -o build/opt/mongo/db/storage/durable_catalog_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/durable_catalog_impl.cpp In file included from src/mongo/db/catalog/rename_collection.cpp:47: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ /usr/bin/libtool -static -o build/opt/mongo/db/concurrency/libflow_control_ticketholder.a -s -no_warning_for_no_symbols build/opt/mongo/db/concurrency/flow_control_ticketholder.o Skipping ranlib for libtool generated target build/opt/mongo/db/concurrency/libflow_control_ticketholder.a clang++ -o build/opt/mongo/db/catalog/catalog_control.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/catalog/catalog_control.cpp In file included from src/mongo/db/storage/durable_catalog_impl.cpp:32: In file included from src/mongo/db/storage/durable_catalog_impl.h:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/storage/durable_catalog_impl.cpp:32: In file included from src/mongo/db/storage/durable_catalog_impl.h:37: In file included from src/mongo/db/catalog/collection_catalog.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/storage/durable_catalog_impl.cpp:32: In file included from src/mongo/db/storage/durable_catalog_impl.h:41: In file included from src/mongo/db/storage/durable_catalog.h:37: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ In file included from src/mongo/db/catalog/catalog_control.cpp:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/catalog/catalog_control.cpp:38: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/catalog/catalog_control.cpp:43: In file included from src/mongo/db/index_builds_coordinator.h:40: In file included from src/mongo/db/collection_index_builds_tracker.h:35: src/mongo/db/repl_index_build_state.h:119:37: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using IndexCatalogStats = struct { ^ IndexCatalogStats src/mongo/db/repl_index_build_state.h:120:9: note: type is not C-compatible due to this default member initializer int numIndexesBefore = 0; ^~~~~~~~~~~~~~~~~~~~ src/mongo/db/repl_index_build_state.h:119:11: note: type is given name 'IndexCatalogStats' for linkage purposes by this alias declaration using IndexCatalogStats = struct { ^ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcatalog_helpers.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/capped_utils.o build/opt/mongo/db/catalog/coll_mod.o build/opt/mongo/db/catalog/collection_compact.o build/opt/mongo/db/catalog/create_collection.o build/opt/mongo/db/catalog/drop_collection.o build/opt/mongo/db/catalog/drop_database.o build/opt/mongo/db/catalog/drop_indexes.o build/opt/mongo/db/catalog/rename_collection.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcatalog_helpers.a clang++ -o build/opt/mongo/transport/message_compressor_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_manager.cpp src/mongo/transport/message_compressor_manager.cpp:204:21: warning: loop variable 'e' creates a copy from type 'const std::basic_string' [-Wrange-loop-construct] for (const auto e : _registry->getCompressorNames()) { ^ src/mongo/transport/message_compressor_manager.cpp:204:10: note: use reference type 'const std::basic_string &' to prevent copying for (const auto e : _registry->getCompressorNames()) { ^~~~~~~~~~~~~~ & 1 warning generated. clang++ -o build/opt/mongo/transport/message_compressor_metrics.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_metrics.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/libdurable_catalog_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/durable_catalog_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libdurable_catalog_impl.a clang++ -o build/opt/mongo/transport/message_compressor_zstd.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_zstd.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcatalog_control.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/catalog_control.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcatalog_control.a clang++ -o build/opt/mongo/transport/message_compressor_zlib.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_zlib.cpp clang++ -o build/opt/mongo/transport/message_compressor_registry.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_registry.cpp clang++ -o build/opt/mongo/transport/message_compressor_snappy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_snappy.cpp clang++ -o build/opt/mongo/db/bson/dotted_path_support.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/bson/dotted_path_support.cpp clang++ -o build/opt/third_party/shim_stemmer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/libstemmer_c/include -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_stemmer.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_stemmer.a -s -no_warning_for_no_symbols build/opt/third_party/shim_stemmer.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_stemmer.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/third_party/libshim_stemmer.a clang++ -o build/opt/mongo/db/repl/bgsync.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/bgsync.cpp /usr/bin/libtool -static -o build/opt/mongo/db/bson/libdotted_path_support.a -s -no_warning_for_no_symbols build/opt/mongo/db/bson/dotted_path_support.o Skipping ranlib for libtool generated target build/opt/mongo/db/bson/libdotted_path_support.a clang++ -o build/opt/mongo/util/latch_analyzer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/latch_analyzer.cpp /usr/bin/libtool -static -o build/opt/mongo/transport/libmessage_compressor.a -s -no_warning_for_no_symbols build/opt/mongo/transport/message_compressor_manager.o build/opt/mongo/transport/message_compressor_metrics.o build/opt/mongo/transport/message_compressor_registry.o build/opt/mongo/transport/message_compressor_snappy.o build/opt/mongo/transport/message_compressor_zlib.o build/opt/mongo/transport/message_compressor_zstd.o Skipping ranlib for libtool generated target build/opt/mongo/transport/libmessage_compressor.a clang++ -o build/opt/mongo/s/query/cluster_cursor_cleanup_job.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_cursor_cleanup_job.cpp In file included from src/mongo/db/repl/bgsync.cpp:34: In file included from src/mongo/db/repl/bgsync.h:36: In file included from src/mongo/db/repl/data_replicator_external_state.h:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/util/latch_analyzer.cpp:34: In file included from src/mongo/util/latch_analyzer.h:36: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/repl/bgsync.cpp:34: In file included from src/mongo/db/repl/bgsync.h:36: In file included from src/mongo/db/repl/data_replicator_external_state.h:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/bgsync.cpp:34: In file included from src/mongo/db/repl/bgsync.h:42: src/mongo/db/repl/rollback_impl.h:494:35: warning: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Wnon-c-typedef-for-linkage] using PendingDropInfo = struct { ^ PendingDropInfo src/mongo/db/repl/rollback_impl.h:495:9: note: type is not C-compatible due to this default member initializer long long count = 0; ^~~~~~~~~~~~~~~ src/mongo/db/repl/rollback_impl.h:494:11: note: type is given name 'PendingDropInfo' for linkage purposes by this alias declaration using PendingDropInfo = struct { ^ In file included from src/mongo/util/latch_analyzer.cpp:34: In file included from src/mongo/util/latch_analyzer.h:36: In file included from src/mongo/db/commands/server_status.h:32: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/bgsync.cpp:40: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/bgsync.cpp:40: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/repl/bgsync.cpp:40: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37: In file included from src/mongo/s/query/cluster_cursor_manager.h:43: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:37: In file included from src/mongo/s/query/cluster_cursor_manager.h:43: In file included from src/mongo/s/query/cluster_client_cursor.h:38: In file included from src/mongo/s/query/cluster_client_cursor_params.h:43: In file included from src/mongo/db/pipeline/pipeline.h:37: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_cursor_cleanup_job.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a clang++ -o build/opt/mongo/executor/egress_tag_closer_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/executor/egress_tag_closer_manager.cpp 6 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libbgsync.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/bgsync.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libbgsync.a clang++ -o build/opt/mongo/transport/service_entry_point_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/service_entry_point_impl.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/util/liblatch_analyzer.a -s -no_warning_for_no_symbols build/opt/mongo/util/latch_analyzer.o Skipping ranlib for libtool generated target build/opt/mongo/util/liblatch_analyzer.a clang++ -o build/opt/mongo/transport/service_state_machine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/transport/service_state_machine.cpp In file included from src/mongo/transport/service_entry_point_impl.cpp:34: In file included from src/mongo/transport/service_entry_point_impl.h:38: In file included from src/mongo/transport/service_entry_point.h:33: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning /usr/bin/libtool -static -o build/opt/mongo/executor/libegress_tag_closer_manager.a -s -no_warning_for_no_symbols build/opt/mongo/executor/egress_tag_closer_manager.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libegress_tag_closer_manager.a clang++ -o build/opt/mongo/client/async_client.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/client/async_client.cpp In file included from src/mongo/transport/service_state_machine.cpp:34: In file included from src/mongo/transport/service_state_machine.h:43: In file included from src/mongo/transport/service_entry_point.h:33: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 1 warning generated. clang++ -o build/opt/mongo/util/net/ssl_options.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_options.cpp 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/transport/libservice_entry_point.a -s -no_warning_for_no_symbols build/opt/mongo/transport/service_entry_point_impl.o build/opt/mongo/transport/service_state_machine.o Skipping ranlib for libtool generated target build/opt/mongo/transport/libservice_entry_point.a clang++ -o build/opt/mongo/base/secure_allocator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/base/secure_allocator.cpp /usr/bin/libtool -static -o build/opt/mongo/util/net/libssl_options.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/ssl_options.o Skipping ranlib for libtool generated target build/opt/mongo/util/net/libssl_options.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/query/cluster_query_knobs_gen.h --output build/opt/mongo/s/query/cluster_query_knobs_gen.cpp src/mongo/s/query/cluster_query_knobs.idl /usr/bin/libtool -static -o build/opt/mongo/client/libasync_client.a -s -no_warning_for_no_symbols build/opt/mongo/client/async_client.o Skipping ranlib for libtool generated target build/opt/mongo/client/libasync_client.a clang++ -o build/opt/mongo/s/client/rs_local_client.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/client/rs_local_client.cpp clang++ -o build/opt/mongo/s/query/cluster_aggregate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_aggregate.cpp /usr/bin/libtool -static -o build/opt/mongo/base/libsecure_allocator.a -s -no_warning_for_no_symbols build/opt/mongo/base/secure_allocator.o Skipping ranlib for libtool generated target build/opt/mongo/base/libsecure_allocator.a clang++ -o build/opt/mongo/util/fast_clock_source_factory.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/fast_clock_source_factory.cpp In file included from src/mongo/s/query/cluster_aggregate.cpp:34: In file included from src/mongo/s/query/cluster_aggregate.h:39: In file included from src/mongo/db/pipeline/document_source.h:44: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/util/background_thread_clock_source.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/background_thread_clock_source.cpp In file included from src/mongo/s/client/rs_local_client.cpp:38: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/query/cluster_aggregate.cpp:34: In file included from src/mongo/s/query/cluster_aggregate.h:39: In file included from src/mongo/db/pipeline/document_source.h:44: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/client/rs_local_client.cpp:38: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:39: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:39: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:39: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:46: In file included from src/mongo/db/pipeline/document_source_out.h:32: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:54:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:46: In file included from src/mongo/db/pipeline/document_source_out.h:32: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:67:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, const int readConcernTimeout)->Status) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/query/cluster_aggregate.cpp:46: In file included from src/mongo/db/pipeline/document_source_out.h:32: In file included from src/mongo/db/pipeline/document_source_writer.h:39: src/mongo/db/read_concern.h:75:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/util/clock_source.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/clock_source.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/client/librs_local_client.a -s -no_warning_for_no_symbols build/opt/mongo/s/client/rs_local_client.o Skipping ranlib for libtool generated target build/opt/mongo/s/client/librs_local_client.a clang++ -o build/opt/mongo/db/storage/flow_control_parameters_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/storage/flow_control_parameters_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libclock_sources.a -s -no_warning_for_no_symbols build/opt/mongo/util/background_thread_clock_source.o build/opt/mongo/util/clock_source.o build/opt/mongo/util/fast_clock_source_factory.o Skipping ranlib for libtool generated target build/opt/mongo/util/libclock_sources.a clang++ -o build/opt/mongo/db/index/wildcard_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/wildcard_access_method.cpp In file included from build/opt/mongo/db/storage/flow_control_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/storage/flow_control_parameters_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/index/wildcard_access_method.cpp:35: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/index/wildcard_access_method.cpp:35: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 8 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_aggregate.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_aggregate.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_aggregate.a clang++ -o build/opt/mongo/db/index/2d_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/2d_access_method.cpp 2 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/index/fts_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/fts_access_method.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libflow_control_parameters.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/flow_control_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libflow_control_parameters.a clang++ -o build/opt/mongo/db/index/s2_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/s2_access_method.cpp clang++ -o build/opt/mongo/db/index/hash_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/hash_access_method.cpp In file included from src/mongo/db/index/s2_access_method.cpp:39: In file included from src/mongo/db/geo/geoparser.h:32: In file included from src/mongo/db/geo/shapes.h:37: In file included from src/mongo/db/geo/big_polygon.h:34: In file included from src/mongo/db/geo/s2.h:41: In file included from src/third_party/s2/s2.h:22: In file included from src/third_party/s2/base/basictypes.h:10: src/third_party/s2/base/port.h:299:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] #define MSG_NOSIGNAL 0 ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:584:9: note: previous definition is here #define MSG_NOSIGNAL 0x80000 /* do not generate SIGPIPE on EOF */ ^ clang++ -o build/opt/mongo/db/index/index_access_method_factory_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/index_access_method_factory_impl.cpp 1 warning generated. clang++ -o build/opt/mongo/db/index/btree_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/btree_access_method.cpp clang++ -o build/opt/mongo/db/index/haystack_access_method.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/index/haystack_access_method.cpp clang++ -o build/opt/mongo/db/free_mon/free_mon_storage_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp In file included from src/mongo/db/index/haystack_access_method.cpp:44: In file included from src/mongo/db/index/haystack_access_method_internal.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/db/free_mon/free_mon_queue.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_queue.cpp In file included from src/mongo/db/index/haystack_access_method.cpp:44: In file included from src/mongo/db/index/haystack_access_method_internal.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/index/haystack_access_method.cpp:44: In file included from src/mongo/db/index/haystack_access_method_internal.h:36: In file included from src/mongo/db/geo/shapes.h:37: In file included from src/mongo/db/geo/big_polygon.h:34: In file included from src/mongo/db/geo/s2.h:41: In file included from src/third_party/s2/s2.h:22: In file included from src/third_party/s2/base/basictypes.h:10: src/third_party/s2/base/port.h:299:9: warning: 'MSG_NOSIGNAL' macro redefined [-Wmacro-redefined] #define MSG_NOSIGNAL 0 ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/socket.h:584:9: note: previous definition is here #define MSG_NOSIGNAL 0x80000 /* do not generate SIGPIPE on EOF */ ^ In file included from build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/free_mon/free_mon_processor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_processor.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/index/libindex_access_methods.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/2d_access_method.o build/opt/mongo/db/index/btree_access_method.o build/opt/mongo/db/index/fts_access_method.o build/opt/mongo/db/index/hash_access_method.o build/opt/mongo/db/index/haystack_access_method.o build/opt/mongo/db/index/index_access_method_factory_impl.o build/opt/mongo/db/index/s2_access_method.o build/opt/mongo/db/index/wildcard_access_method.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libindex_access_methods.a clang++ -o build/opt/mongo/db/free_mon/free_mon_storage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_storage.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/free_mon/free_mon_controller.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_controller.cpp In file included from src/mongo/db/free_mon/free_mon_storage.cpp:36: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/free_mon/free_mon_storage.cpp:36: In file included from src/mongo/db/db_raii.h:34: In file included from src/mongo/db/catalog_raii.h:33: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/free_mon/free_mon_protocol_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp clang++ -o build/opt/mongo/db/free_mon/free_mon_op_observer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_op_observer.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/free_mon/free_mon_commands_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp In file included from build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/free_mon/free_mon_op_observer.cpp:32: In file included from src/mongo/db/free_mon/free_mon_op_observer.h:32: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/free_mon/free_mon_op_observer.cpp:32: In file included from src/mongo/db/free_mon/free_mon_op_observer.h:32: In file included from src/mongo/db/op_observer.h:35: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/keys_collection_document.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_document.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/read_concern_mongod_gen.h --output build/opt/mongo/db/read_concern_mongod_gen.cpp src/mongo/db/read_concern_mongod.idl clang++ -o build/opt/mongo/db/read_concern_mongod_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/read_concern_mongod_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/free_mon/libfree_mon.a -s -no_warning_for_no_symbols build/opt/mongo/db/free_mon/free_mon_processor.o build/opt/mongo/db/free_mon/free_mon_queue.o build/opt/mongo/db/free_mon/free_mon_op_observer.o build/opt/mongo/db/free_mon/free_mon_storage.o build/opt/mongo/db/free_mon/free_mon_controller.o build/opt/mongo/db/free_mon/free_mon_protocol_gen.o build/opt/mongo/db/free_mon/free_mon_commands_gen.o build/opt/mongo/db/free_mon/free_mon_storage_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/free_mon/libfree_mon.a clang++ -o build/opt/mongo/db/read_concern_mongod.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/read_concern_mongod.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libkeys_collection_document.a -s -no_warning_for_no_symbols build/opt/mongo/db/keys_collection_document.o Skipping ranlib for libtool generated target build/opt/mongo/db/libkeys_collection_document.a clang++ -o build/opt/mongo/rpc/metadata/config_server_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/config_server_metadata.cpp In file included from build/opt/mongo/db/read_concern_mongod_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/read_concern_mongod.cpp:34: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/read_concern_mongod_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/read_concern_mongod.cpp:34: In file included from src/mongo/db/concurrency/write_conflict_exception.h:35: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata/config_server_metadata.cpp:34: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/read_concern_mongod.cpp:39: src/mongo/db/read_concern.h:54:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/read_concern_mongod.cpp:39: src/mongo/db/read_concern.h:67:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, const int readConcernTimeout)->Status) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/db/read_concern_mongod.cpp:39: src/mongo/db/read_concern.h:75:8: warning: expression result unused [-Wunused-value] extern MONGO_DECLARE_SHIM((OperationContext * opCtx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata/config_server_metadata.cpp:34: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/rpc/metadata/oplog_query_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/oplog_query_metadata.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/rpc/metadata/impersonated_user_metadata_gen.h --output build/opt/mongo/rpc/metadata/impersonated_user_metadata_gen.cpp src/mongo/rpc/metadata/impersonated_user_metadata.idl clang++ -o build/opt/mongo/rpc/metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata.cpp In file included from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libread_concern_d_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/read_concern_mongod.o build/opt/mongo/db/read_concern_mongod_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libread_concern_d_impl.a clang++ -o build/opt/mongo/rpc/metadata/sharding_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/sharding_metadata.cpp In file included from src/mongo/rpc/metadata/oplog_query_metadata.cpp:32: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata.cpp:35: In file included from src/mongo/db/auth/authorization_session.h:39: src/mongo/db/auth/authorization_manager.h:99:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM(()->std::unique_ptr) create; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata.cpp:35: In file included from src/mongo/db/auth/authorization_session.h:40: src/mongo/db/auth/authz_session_external_state.h:53:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata.cpp:35: src/mongo/db/auth/authorization_session.h:75:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata.cpp:36: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/rpc/metadata/egress_metadata_hook_list.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/egress_metadata_hook_list.cpp 2 warnings generated. clang++ -o build/opt/mongo/rpc/metadata/repl_set_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/repl_set_metadata.cpp 4 warnings generated. clang++ -o build/opt/mongo/rpc/metadata/tracking_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/tracking_metadata.cpp clang++ -o build/opt/mongo/rpc/metadata/logical_time_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/logical_time_metadata.cpp In file included from src/mongo/rpc/metadata/repl_set_metadata.cpp:32: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/rpc/metadata/tracking_metadata.cpp:34: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/rpc/metadata/repl_set_metadata.cpp:32: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/rpc/metadata/tracking_metadata.cpp:34: In file included from src/mongo/bson/util/bson_check.h:34: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/request_types/create_database_gen.h --output build/opt/mongo/s/request_types/create_database_gen.cpp src/mongo/s/request_types/create_database.idl clang++ -o build/opt/mongo/s/cluster_commands_helpers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/cluster_commands_helpers.cpp 2 warnings generated. 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/router_transactions_stats_gen.h --output build/opt/mongo/s/router_transactions_stats_gen.cpp src/mongo/s/router_transactions_stats.idl /usr/bin/libtool -static -o build/opt/mongo/rpc/libmetadata.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/metadata.o build/opt/mongo/rpc/metadata/config_server_metadata.o build/opt/mongo/rpc/metadata/egress_metadata_hook_list.o build/opt/mongo/rpc/metadata/logical_time_metadata.o build/opt/mongo/rpc/metadata/sharding_metadata.o build/opt/mongo/rpc/metadata/repl_set_metadata.o build/opt/mongo/rpc/metadata/oplog_query_metadata.o build/opt/mongo/rpc/metadata/tracking_metadata.o In file included from src/mongo/s/cluster_commands_helpers.cpp:39: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning Skipping ranlib for libtool generated target build/opt/mongo/rpc/libmetadata.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/commands/txn_two_phase_commit_cmds_gen.h --output build/opt/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp src/mongo/db/commands/txn_two_phase_commit_cmds.idl clang++ -o build/opt/mongo/s/router_transactions_stats_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/s/router_transactions_stats_gen.cpp clang++ -o build/opt/mongo/s/transaction_router.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/transaction_router.cpp In file included from src/mongo/s/cluster_commands_helpers.cpp:39: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from build/opt/mongo/s/router_transactions_stats_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/transaction_router.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/s/router_transactions_stats_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/transaction_router.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/session_catalog_router.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/session_catalog_router.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/router_transactions_metrics.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/router_transactions_metrics.cpp In file included from src/mongo/s/session_catalog_router.cpp:37: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/session_catalog_router.cpp:37: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/router_transactions_metrics.cpp:32: In file included from src/mongo/s/router_transactions_metrics.h:35: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/router_transactions_metrics.cpp:32: In file included from src/mongo/s/router_transactions_metrics.h:35: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/multi_statement_transaction_requests_sender.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/multi_statement_transaction_requests_sender.cpp 2 warnings generated. clang++ -o build/opt/mongo/bson/util/bson_extract.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/bson/util/bson_extract.cpp In file included from src/mongo/s/multi_statement_transaction_requests_sender.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning 2 warnings generated. clang++ -o build/opt/mongo/s/catalog/dist_lock_catalog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_catalog.cpp In file included from src/mongo/s/multi_statement_transaction_requests_sender.cpp:34: In file included from src/mongo/s/transaction_router.h:39: In file included from src/mongo/db/stats/single_transaction_stats.h:32: In file included from src/mongo/db/curop.h:34: In file included from src/mongo/db/clientcursor.h:39: In file included from src/mongo/db/query/plan_executor.h:36: In file included from src/mongo/db/query/query_solution.h:40: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/bson/util/libbson_extract.a -s -no_warning_for_no_symbols build/opt/mongo/bson/util/bson_extract.o Skipping ranlib for libtool generated target build/opt/mongo/bson/util/libbson_extract.a clang++ -o build/opt/mongo/db/repl/data_replicator_external_state_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/data_replicator_external_state_impl.cpp /usr/bin/libtool -static -o build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/dist_lock_catalog.o Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a clang++ -o build/opt/mongo/shell/linenoise_utf8.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/shell/linenoise_utf8.cpp /usr/bin/libtool -static -o build/opt/mongo/liblinenoise_utf8.a -s -no_warning_for_no_symbols build/opt/mongo/shell/linenoise_utf8.o Skipping ranlib for libtool generated target build/opt/mongo/liblinenoise_utf8.a clang++ -o build/opt/mongo/s/shard_key_pattern.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/shard_key_pattern.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/libsharding_router_api.a -s -no_warning_for_no_symbols build/opt/mongo/s/cluster_commands_helpers.o build/opt/mongo/s/multi_statement_transaction_requests_sender.o build/opt/mongo/s/transaction_router.o build/opt/mongo/s/router_transactions_metrics.o build/opt/mongo/s/session_catalog_router.o build/opt/mongo/s/router_transactions_stats_gen.o Skipping ranlib for libtool generated target build/opt/mongo/s/libsharding_router_api.a clang++ -o build/opt/mongo/s/chunk.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/chunk.cpp In file included from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34: In file included from src/mongo/db/repl/data_replicator_external_state_impl.h:32: In file included from src/mongo/db/repl/data_replicator_external_state.h:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/db/repl/data_replicator_external_state_impl.cpp:34: In file included from src/mongo/db/repl/data_replicator_external_state_impl.h:32: In file included from src/mongo/db/repl/data_replicator_external_state.h:34: In file included from src/mongo/db/repl/oplog_applier.h:41: In file included from src/mongo/db/repl/storage_interface.h:40: In file included from src/mongo/db/catalog/collection.h:42: In file included from src/mongo/db/catalog/collection_info_cache.h:33: In file included from src/mongo/db/query/plan_cache.h:37: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ In file included from src/mongo/s/shard_key_pattern.cpp:41: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from src/mongo/s/shard_key_pattern.cpp:41: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/s/chunk_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/s/chunk_manager.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libdata_replicator_external_state_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/data_replicator_external_state_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libdata_replicator_external_state_impl.a clang++ -o build/opt/third_party/shim_zlib.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_zlib.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_zlib.a -s -no_warning_for_no_symbols build/opt/third_party/shim_zlib.o In file included from src/mongo/s/chunk_manager.cpp:40: In file included from src/mongo/db/query/index_bounds_builder.h:34: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: In file included from src/mongo/db/pipeline/mongo_process_interface.h:40: In file included from src/mongo/client/dbclient_base.h:37: In file included from src/mongo/client/dbclient_cursor.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_zlib.a the table of contents is empty (no object file members in the library define global symbols) Skipping ranlib for libtool generated target build/opt/third_party/libshim_zlib.a clang++ -o build/opt/mongo/util/fail_point_service.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/fail_point_service.cpp In file included from src/mongo/s/chunk_manager.cpp:40: In file included from src/mongo/db/query/index_bounds_builder.h:34: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/util/fail_point_server_parameter_gen.h --output build/opt/mongo/util/fail_point_server_parameter_gen.cpp src/mongo/util/fail_point_server_parameter.idl clang++ -o build/opt/mongo/util/fail_point_server_parameter_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/util/fail_point_server_parameter_gen.cpp In file included from build/opt/mongo/util/fail_point_server_parameter_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning clang++ -o build/opt/mongo/util/fail_point.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/fail_point.cpp In file included from build/opt/mongo/util/fail_point_server_parameter_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/libsharding_routing_table.a -s -no_warning_for_no_symbols build/opt/mongo/s/chunk.o build/opt/mongo/s/chunk_manager.o build/opt/mongo/s/shard_key_pattern.o Skipping ranlib for libtool generated target build/opt/mongo/s/libsharding_routing_table.a clang++ -o build/opt/mongo/util/fail_point_registry.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/fail_point_registry.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/bson_extract_optime.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/bson_extract_optime.cpp clang++ -o build/opt/mongo/db/repl/optime.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/repl/optime.cpp clang++ -o build/opt/mongo/db/logical_session_cache_stats_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/logical_session_cache_stats_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libfail_point.a -s -no_warning_for_no_symbols build/opt/mongo/util/fail_point.o build/opt/mongo/util/fail_point_registry.o build/opt/mongo/util/fail_point_service.o build/opt/mongo/util/fail_point_server_parameter_gen.o Skipping ranlib for libtool generated target build/opt/mongo/util/libfail_point.a clang++ -o build/opt/mongo/db/logical_session_cache.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_cache.cpp /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboptime.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/bson_extract_optime.o build/opt/mongo/db/repl/optime.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboptime.a clang++ -o build/opt/mongo/db/logical_session_cache_gen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc build/opt/mongo/db/logical_session_cache_gen.cpp In file included from build/opt/mongo/db/logical_session_cache_stats_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/logical_session_cache_stats_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ clang++ -o build/opt/mongo/db/storage/storage_repair_observer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/s2 -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_repair_observer.cpp In file included from build/opt/mongo/db/logical_session_cache_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:34: src/mongo/db/dbmessage.h:223:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return (_msg.operation() >= dbUpdate) & (_msg.operation() <= dbDelete); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && src/mongo/db/dbmessage.h:223:16: note: cast one or both operands to int to silence this warning In file included from build/opt/mongo/db/logical_session_cache_gen.cpp:16: In file included from src/mongo/db/commands.h:46: In file included from src/mongo/db/query/explain.h:34: In file included from src/mongo/db/query/canonical_query.h:39: In file included from src/mongo/db/query/parsed_projection.h:33: In file included from src/mongo/db/matcher/expression_parser.h:38: In file included from src/mongo/db/matcher/expression_with_placeholder.h:37: In file included from src/mongo/db/pipeline/expression_context.h:43: src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value] static MONGO_DECLARE_SHIM( ^~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM' #define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1' #define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2' LibTUHook{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/util/net/ssl_types.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -moutline-atomics -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_types.cpp src/mongo/db/storage/storage_repair_observer.cpp:124:19: error: no matching constructor for initialization of 'std::ofstream' (aka 'basic_ofstream') std::ofstream fileStream(_repairIncompleteFilePath); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/iosfwd:146:32: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'boost::filesystem::path' to 'const std::basic_ofstream' for 1st argument class _LIBCPP_TEMPLATE_VIS basic_ofstream; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/fstream:1358:14: note: candidate constructor not viable: no known conversion from 'boost::filesystem::path' to 'const char *' for 1st argument explicit basic_ofstream(const char* __s, ios_base::openmode __mode = ios_base::out); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/fstream:1364:14: note: candidate constructor not viable: no known conversion from 'boost::filesystem::path' to 'const std::string' (aka 'const basic_string, allocator>') for 1st argument explicit basic_ofstream(const string& __s, ios_base::openmode __mode = ios_base::out); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/fstream:1368:14: note: candidate constructor not viable: no known conversion from 'boost::filesystem::path' to 'const filesystem::path' for 1st argument explicit basic_ofstream(const filesystem::path& __p, ios_base::openmode __mode = ios_base::out) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/fstream:1374:5: note: candidate constructor not viable: no known conversion from 'boost::filesystem::path' to 'std::basic_ofstream' for 1st argument basic_ofstream(basic_ofstream&& __rhs); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/fstream:1356:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided basic_ofstream(); ^ 1 error generated. scons: *** [build/opt/mongo/db/storage/storage_repair_observer.o] Error 1 2 warnings generated. scons: building terminated because of errors. build/opt/mongo/db/storage/storage_repair_observer.o failed: Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/databases/mongodb *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/databases/mongodb