=> 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 x86_64 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 for C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file x86intrin.h... yes Checking for C header file arm_neon.h... no scons: done reading SConscript files. scons: Building targets ... clang++ -o build/opt/third_party/s2/base/strtoint.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/base/strtoint.cc Creating 'build/opt/mongo/config.h' /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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/third_party/s2/base/stringprintf.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/base/stringprintf.cc clang++ -o build/opt/third_party/s2/base/int128.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/base/int128.cc clang++ -o build/opt/third_party/s2/base/logging.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/base/logging.cc /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 /usr/bin/libtool -static -o build/opt/third_party/s2/base/libbase_s2.a -s -no_warning_for_no_symbols build/opt/third_party/s2/base/int128.o build/opt/third_party/s2/base/logging.o build/opt/third_party/s2/base/stringprintf.o build/opt/third_party/s2/base/strtoint.o clang++ -o build/opt/mongo/dbtests/mock/mock_remote_db_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 -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/dbtests/mock/mock_remote_db_server.cpp Skipping ranlib for libtool generated target build/opt/third_party/s2/base/libbase_s2.a clang++ -o build/opt/mongo/dbtests/mock/mock_replica_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 -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/dbtests/mock/mock_replica_set.cpp In file included from src/mongo/dbtests/mock/mock_remote_db_server.cpp:36: In file included from src/mongo/dbtests/mock/mock_dbclient_connection.h:35: In file included from src/mongo/client/dbclient_connection.h:36: 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/dbtests/mock/mock_replica_set.cpp:35: In file included from src/mongo/dbtests/mock/mock_conn_registry.h:33: In file included from src/mongo/dbtests/mock/mock_dbclient_connection.h:35: In file included from src/mongo/client/dbclient_connection.h:36: 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 x86_64 --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 1 warning generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 x86_64 --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 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 x86_64 --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 x86_64 --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 1 warning generated. clang++ -o build/opt/mongo/dbtests/mock/mock_dbclient_connection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbtests/mock/mock_dbclient_connection.cpp clang++ -o build/opt/mongo/dbtests/mock/mock_conn_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 -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/dbtests/mock/mock_conn_registry.cpp 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 -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 src/mongo/dbtests/mock/mock_dbclient_connection.cpp:32: In file included from src/mongo/dbtests/mock/mock_dbclient_connection.h:35: In file included from src/mongo/client/dbclient_connection.h:36: 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/dbtests/mock/mock_conn_registry.cpp:32: In file included from src/mongo/dbtests/mock/mock_conn_registry.h:33: In file included from src/mongo/dbtests/mock/mock_dbclient_connection.h:35: In file included from src/mongo/client/dbclient_connection.h:36: 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/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{}; \ ^ ~~ 1 warning generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/dbtests/libmocklib.a -s -no_warning_for_no_symbols build/opt/mongo/dbtests/mock/mock_conn_registry.o build/opt/mongo/dbtests/mock/mock_dbclient_connection.o build/opt/mongo/dbtests/mock/mock_remote_db_server.o build/opt/mongo/dbtests/mock/mock_replica_set.o 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 -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 Skipping ranlib for libtool generated target build/opt/mongo/dbtests/libmocklib.a 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 -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 2 warnings generated. 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/mongo/db/catalog/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 -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.cpp clang++ -o build/opt/mongo/db/s/merge_chunks_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 -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/merge_chunks_command.cpp In file included from src/mongo/db/catalog/collection.cpp:34: 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. /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_session_cache.a -s -no_warning_for_no_symbols build/opt/mongo/db/logical_session_cache.o build/opt/mongo/db/logical_session_cache_stats_gen.o build/opt/mongo/db/logical_session_cache_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_session_cache.a In file included from src/mongo/db/s/merge_chunks_command.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/db/s/merge_chunks_command.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/config/configsvr_merge_chunks_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 -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/config/configsvr_merge_chunks_command.cpp In file included from src/mongo/db/s/merge_chunks_command.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/db/s/merge_chunks_command.cpp:37: 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/collection.cpp:34: 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/merge_chunks_command.cpp:37: 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/s/config/configsvr_merge_chunks_command.cpp:30: 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/s/config/configsvr_merge_chunks_command.cpp:30: 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/s/config/configsvr_merge_chunks_command.cpp:30: 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/s/config/configsvr_merge_chunks_command.cpp:31: 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/s/config/configsvr_merge_chunks_command.cpp:31: 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/catalog/libcollection.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/collection.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcollection.a clang++ -o build/opt/mongo/db/s/sharding_state_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 -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_command.cpp In file included from src/mongo/db/s/sharding_state_command.cpp:37: 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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/flush_database_cache_updates_gen.h --output build/opt/mongo/s/request_types/flush_database_cache_updates_gen.cpp src/mongo/s/request_types/flush_database_cache_updates.idl In file included from src/mongo/db/s/sharding_state_command.cpp:37: 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/s/flush_database_cache_updates_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 -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/flush_database_cache_updates_command.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/s/check_sharding_index_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 -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/check_sharding_index_command.cpp In file included from src/mongo/db/s/flush_database_cache_updates_command.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/s/flush_database_cache_updates_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/s/flush_database_cache_updates_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/s/flush_database_cache_updates_command.cpp:38: 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 2 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_add_shard_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 -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/config/configsvr_add_shard_command.cpp In file included from src/mongo/db/s/flush_database_cache_updates_command.cpp:38: 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/s/check_sharding_index_command.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/s/check_sharding_index_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/s/check_sharding_index_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/s/check_sharding_index_command.cpp:40: 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/s/check_sharding_index_command.cpp:40: 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/s/config/configsvr_add_shard_command.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/s/config/configsvr_add_shard_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/s/config/configsvr_add_shard_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/s/config/configsvr_add_shard_command.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/s/config/configsvr_add_shard_command.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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/migration_chunk_cloner_source_legacy_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 -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/migration_chunk_cloner_source_legacy_commands.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/create_collection_gen.h --output build/opt/mongo/s/request_types/create_collection_gen.cpp src/mongo/s/request_types/create_collection.idl clang++ -o build/opt/mongo/db/s/config/configsvr_create_collection_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 -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/config/configsvr_create_collection_command.cpp 5 warnings generated. In file included from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.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/s/migration_chunk_cloner_source_legacy_commands.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/s/migration_chunk_cloner_source_legacy_commands.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/s/migration_chunk_cloner_source_legacy_commands.cpp:38: 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/s/migration_chunk_cloner_source_legacy_commands.cpp:38: 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/s/config/configsvr_create_collection_command.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/s/config/configsvr_create_collection_command.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/s/config/configsvr_create_collection_command.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/s/config/configsvr_create_collection_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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 In file included from src/mongo/db/s/config/configsvr_create_collection_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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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/s/txn_two_phase_commit_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 -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/txn_two_phase_commit_cmds.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_drop_database_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 -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/config/configsvr_drop_database_command.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/shard_collection_gen.h --output build/opt/mongo/s/request_types/shard_collection_gen.cpp src/mongo/s/request_types/shard_collection.idl In file included from src/mongo/db/s/txn_two_phase_commit_cmds.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/s/txn_two_phase_commit_cmds.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/s/txn_two_phase_commit_cmds.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/s/txn_two_phase_commit_cmds.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 clang++ -o build/opt/mongo/db/s/config/configsvr_shard_collection_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 -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/config/configsvr_shard_collection_command.cpp In file included from src/mongo/db/s/txn_two_phase_commit_cmds.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{}; \ ^ ~~ In file included from src/mongo/db/s/config/configsvr_drop_database_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/s/config/configsvr_drop_database_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/s/config/configsvr_drop_database_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/s/config/configsvr_drop_database_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 In file included from src/mongo/db/s/config/configsvr_drop_database_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/s/config/configsvr_shard_collection_command.cpp:38: 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/s/config/configsvr_shard_collection_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/s/config/configsvr_shard_collection_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/s/config/configsvr_shard_collection_command.cpp:40: 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/s/config/configsvr_shard_collection_command.cpp:40: 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/s/split_chunk_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 -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/split_chunk_command.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.h --output build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp src/mongo/s/request_types/clone_collection_options_from_primary_shard.idl clang++ -o build/opt/mongo/db/s/clone_collection_options_from_primary_shard_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 -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/clone_collection_options_from_primary_shard_cmd.cpp In file included from src/mongo/db/s/split_chunk_command.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/s/split_chunk_command.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/s/split_chunk_command.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/s/split_chunk_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. In file included from src/mongo/db/s/split_chunk_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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.h --output build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp src/mongo/s/request_types/flush_routing_table_cache_updates.idl clang++ -o build/opt/mongo/db/s/flush_routing_table_cache_updates_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 -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/flush_routing_table_cache_updates_command.cpp In file included from src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.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/s/clone_collection_options_from_primary_shard_cmd.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/s/clone_collection_options_from_primary_shard_cmd.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/s/clone_collection_options_from_primary_shard_cmd.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/s/clone_collection_options_from_primary_shard_cmd.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{}; \ ^ ~~ In file included from src/mongo/db/s/flush_routing_table_cache_updates_command.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/s/flush_routing_table_cache_updates_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/s/flush_routing_table_cache_updates_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/s/flush_routing_table_cache_updates_command.cpp:38: 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 5 warnings generated. clang++ -o build/opt/mongo/db/s/unset_sharding_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 -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/unset_sharding_command.cpp In file included from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:38: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_commit_chunk_migration_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 -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/config/configsvr_commit_chunk_migration_command.cpp In file included from src/mongo/db/s/unset_sharding_command.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/s/unset_sharding_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/s/unset_sharding_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/s/unset_sharding_command.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/s/unset_sharding_command.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/s/config/configsvr_commit_chunk_migration_command.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/db/s/config/configsvr_commit_chunk_migration_command.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/db/s/config/configsvr_commit_chunk_migration_command.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/db/s/config/configsvr_commit_chunk_migration_command.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 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/clone_catalog_data_gen.h --output build/opt/mongo/s/request_types/clone_catalog_data_gen.cpp src/mongo/s/request_types/clone_catalog_data.idl In file included from src/mongo/db/s/config/configsvr_commit_chunk_migration_command.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/clone_catalog_data_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 -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/clone_catalog_data_command.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/move_primary_gen.h --output build/opt/mongo/s/request_types/move_primary_gen.cpp src/mongo/s/request_types/move_primary.idl clang++ -o build/opt/mongo/db/s/move_primary_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 -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/move_primary_command.cpp In file included from src/mongo/db/s/clone_catalog_data_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/s/clone_catalog_data_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/s/clone_catalog_data_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/s/clone_catalog_data_command.cpp:36: 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 5 warnings generated. In file included from src/mongo/db/s/clone_catalog_data_command.cpp:37: 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/s/get_shard_version_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 -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/get_shard_version_command.cpp In file included from src/mongo/db/s/move_primary_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/s/move_primary_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/s/move_primary_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/s/move_primary_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/s/move_primary_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{}; \ ^ ~~ In file included from src/mongo/db/s/get_shard_version_command.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/s/get_shard_version_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/s/get_shard_version_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/s/get_shard_version_command.cpp:38: 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/s/get_shard_version_command.cpp:38: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_update_zone_key_range_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 -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/config/configsvr_update_zone_key_range_command.cpp In file included from src/mongo/db/s/config/configsvr_update_zone_key_range_command.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/db/s/config/configsvr_update_zone_key_range_command.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{}; \ ^ ~~ 5 warnings generated. In file included from src/mongo/db/s/config/configsvr_update_zone_key_range_command.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/sharding_server_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 -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_server_status.cpp In file included from src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp:37: 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/s/config/configsvr_update_zone_key_range_command.cpp:37: 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/s/config/configsvr_commit_move_primary_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 -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/config/configsvr_commit_move_primary_command.cpp In file included from src/mongo/db/s/sharding_server_status.cpp:33: 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/s/sharding_server_status.cpp:33: 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/s/config/configsvr_commit_move_primary_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/s/config/configsvr_commit_move_primary_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/s/config/configsvr_commit_move_primary_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/s/config/configsvr_commit_move_primary_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 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_move_chunk_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 -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/config/configsvr_move_chunk_command.cpp In file included from src/mongo/db/s/config/configsvr_commit_move_primary_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{}; \ ^ ~~ In file included from src/mongo/db/s/config/configsvr_move_chunk_command.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{}; \ ^ ~~ 2 warnings generated. In file included from src/mongo/db/s/config/configsvr_move_chunk_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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/migration_destination_manager_legacy_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 -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/migration_destination_manager_legacy_commands.cpp In file included from src/mongo/db/s/config/configsvr_move_chunk_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/s/config/configsvr_move_chunk_command.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/s/config/configsvr_move_chunk_command.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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/db/s/config/configsvr_create_database_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 -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/config/configsvr_create_database_command.cpp In file included from src/mongo/db/s/migration_destination_manager_legacy_commands.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/s/migration_destination_manager_legacy_commands.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/s/migration_destination_manager_legacy_commands.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/s/migration_destination_manager_legacy_commands.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/s/migration_destination_manager_legacy_commands.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/s/config/configsvr_create_database_command.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/s/config/configsvr_create_database_command.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/s/config/configsvr_create_database_command.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{}; \ ^ ~~ 5 warnings generated. In file included from src/mongo/db/s/config/configsvr_create_database_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 clang++ -o build/opt/mongo/db/s/config/configsvr_merge_chunk_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 -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/config/configsvr_merge_chunk_command.cpp In file included from src/mongo/db/s/config/configsvr_create_database_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/s/config/configsvr_merge_chunk_command.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/db/s/config/configsvr_merge_chunk_command.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/db/s/config/configsvr_merge_chunk_command.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/db/s/config/configsvr_merge_chunk_command.cpp:37: 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/s/config/configsvr_add_shard_to_zone_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 -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/config/configsvr_add_shard_to_zone_command.cpp In file included from src/mongo/db/s/config/configsvr_merge_chunk_command.cpp:37: 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/s/config/configsvr_move_primary_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 -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/config/configsvr_move_primary_command.cpp In file included from src/mongo/db/s/config/configsvr_add_shard_to_zone_command.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/db/s/config/configsvr_add_shard_to_zone_command.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/db/s/config/configsvr_add_shard_to_zone_command.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/db/s/config/configsvr_add_shard_to_zone_command.cpp:37: 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/s/config/configsvr_add_shard_to_zone_command.cpp:37: 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/s/config/configsvr_move_primary_command.cpp:34: 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 5 warnings generated. clang++ -o build/opt/mongo/db/s/split_vector_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 -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/split_vector_command.cpp In file included from src/mongo/db/s/config/configsvr_move_primary_command.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/s/config/configsvr_move_primary_command.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/s/config/configsvr_move_primary_command.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/s/config/configsvr_move_primary_command.cpp:40: 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/s/split_vector_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/s/split_vector_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/s/split_vector_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/s/split_vector_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 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_remove_shard_from_zone_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 -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/config/configsvr_remove_shard_from_zone_command.cpp In file included from src/mongo/db/s/split_vector_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/s/config/configsvr_enable_sharding_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 -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/config/configsvr_enable_sharding_command.cpp In file included from src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.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/db/s/config/configsvr_remove_shard_from_zone_command.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/db/s/config/configsvr_remove_shard_from_zone_command.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/db/s/config/configsvr_remove_shard_from_zone_command.cpp:37: 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/s/config/configsvr_remove_shard_from_zone_command.cpp:37: 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 x86_64 --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 clang++ -o build/opt/mongo/db/s/add_shard_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 -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/add_shard_cmd.cpp In file included from src/mongo/db/s/config/configsvr_enable_sharding_command.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/s/config/configsvr_enable_sharding_command.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/s/config/configsvr_enable_sharding_command.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/s/config/configsvr_enable_sharding_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/s/config/configsvr_enable_sharding_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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_control_balancer_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 -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/config/configsvr_control_balancer_command.cpp In file included from src/mongo/db/s/add_shard_cmd.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/s/add_shard_cmd.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/s/add_shard_cmd.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/s/add_shard_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/s/add_shard_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. In file included from src/mongo/db/s/config/configsvr_control_balancer_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/s/config/configsvr_control_balancer_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/s/config/configsvr_control_balancer_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/s/config/configsvr_control_balancer_command.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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/get_database_version_gen.h --output build/opt/mongo/s/request_types/get_database_version_gen.cpp src/mongo/s/request_types/get_database_version.idl clang++ -o build/opt/mongo/db/s/get_database_version_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 -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/get_database_version_command.cpp In file included from src/mongo/db/s/config/configsvr_control_balancer_command.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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/set_shard_version_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 -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/set_shard_version_command.cpp In file included from src/mongo/db/s/get_database_version_command.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/s/get_database_version_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/s/get_database_version_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/s/get_database_version_command.cpp:38: 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/s/get_database_version_command.cpp:38: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_remove_shard_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 -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/config/configsvr_remove_shard_command.cpp In file included from src/mongo/db/s/set_shard_version_command.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/s/set_shard_version_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/s/set_shard_version_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/s/set_shard_version_command.cpp:38: 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/s/set_shard_version_command.cpp:38: 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/s/config/configsvr_remove_shard_command.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/s/config/configsvr_remove_shard_command.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/s/config/configsvr_remove_shard_command.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/s/config/configsvr_remove_shard_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/s/shardsvr_shard_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 -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/shardsvr_shard_collection.cpp In file included from src/mongo/db/s/config/configsvr_remove_shard_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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/cleanup_orphaned_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 -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/cleanup_orphaned_cmd.cpp In file included from src/mongo/db/s/shardsvr_shard_collection.cpp:38: 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/s/shardsvr_shard_collection.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/s/shardsvr_shard_collection.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/s/shardsvr_shard_collection.cpp:39: 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/s/shardsvr_shard_collection.cpp:39: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/wait_for_ongoing_chunk_splits_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 -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/wait_for_ongoing_chunk_splits_command.cpp In file included from src/mongo/db/s/cleanup_orphaned_cmd.cpp:38: 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/s/cleanup_orphaned_cmd.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/s/cleanup_orphaned_cmd.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/s/cleanup_orphaned_cmd.cpp:40: 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/s/cleanup_orphaned_cmd.cpp:40: 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/s/wait_for_ongoing_chunk_splits_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 In file included from src/mongo/db/s/wait_for_ongoing_chunk_splits_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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/move_chunk_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 -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/move_chunk_command.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/clear_jumbo_flag_gen.h --output build/opt/mongo/s/request_types/clear_jumbo_flag_gen.cpp src/mongo/s/request_types/clear_jumbo_flag.idl 2 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_drop_collection_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 -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/config/configsvr_drop_collection_command.cpp clang++ -o build/opt/mongo/db/s/config/configsvr_clear_jumbo_flag_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 -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/config/configsvr_clear_jumbo_flag_command.cpp In file included from src/mongo/db/s/move_chunk_command.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/s/move_chunk_command.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/s/move_chunk_command.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/s/move_chunk_command.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/s/config/configsvr_drop_collection_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/s/config/configsvr_drop_collection_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/s/config/configsvr_drop_collection_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/s/config/configsvr_drop_collection_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 In file included from src/mongo/db/s/move_chunk_command.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/s/config/configsvr_clear_jumbo_flag_command.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/db/s/config/configsvr_clear_jumbo_flag_command.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/db/s/config/configsvr_clear_jumbo_flag_command.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/db/s/config/configsvr_clear_jumbo_flag_command.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/s/config/configsvr_drop_collection_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/s/config/configsvr_clear_jumbo_flag_command.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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/config/configsvr_split_chunk_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 -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/config/configsvr_split_chunk_command.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/lasterror.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/lasterror.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/repl/replication_consistency_markers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_consistency_markers.cpp In file included from src/mongo/db/s/config/configsvr_split_chunk_command.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/db/s/config/configsvr_split_chunk_command.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/db/s/config/configsvr_split_chunk_command.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/db/s/config/configsvr_split_chunk_command.cpp:37: 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 x86_64 --header build/opt/mongo/db/repl/rollback_gen.h --output build/opt/mongo/db/repl/rollback_gen.cpp src/mongo/db/repl/rollback.idl In file included from src/mongo/db/s/config/configsvr_split_chunk_command.cpp:37: 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/repl/replication_process.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_process.cpp /usr/bin/libtool -static -o build/opt/mongo/db/liblasterror.a -s -no_warning_for_no_symbols build/opt/mongo/db/lasterror.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblasterror.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/mongo/db/pipeline/document_source_list_sessions.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_list_sessions.cpp In file included from src/mongo/db/repl/replication_process.cpp:42: 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/replication_process.cpp:42: 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{}; \ ^ ~~ 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_commands_d.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/add_shard_cmd.o build/opt/mongo/db/s/check_sharding_index_command.o build/opt/mongo/db/s/cleanup_orphaned_cmd.o build/opt/mongo/db/s/clone_catalog_data_command.o build/opt/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o build/opt/mongo/db/s/config/configsvr_add_shard_command.o build/opt/mongo/db/s/config/configsvr_add_shard_to_zone_command.o build/opt/mongo/db/s/config/configsvr_clear_jumbo_flag_command.o build/opt/mongo/db/s/config/configsvr_commit_chunk_migration_command.o build/opt/mongo/db/s/config/configsvr_commit_move_primary_command.o build/opt/mongo/db/s/config/configsvr_control_balancer_command.o build/opt/mongo/db/s/config/configsvr_create_collection_command.o build/opt/mongo/db/s/config/configsvr_create_database_command.o build/opt/mongo/db/s/config/configsvr_drop_collection_command.o build/opt/mongo/db/s/config/configsvr_drop_database_command.o build/opt/mongo/db/s/config/configsvr_enable_sharding_command.o build/opt/mongo/db/s/config/configsvr_merge_chunk_command.o build/opt/mongo/db/s/config/configsvr_merge_chunks_command.o build/opt/mongo/db/s/config/configsvr_move_chunk_command.o build/opt/mongo/db/s/config/configsvr_move_primary_command.o build/opt/mongo/db/s/config/configsvr_remove_shard_command.o build/opt/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o build/opt/mongo/db/s/config/configsvr_shard_collection_command.o build/opt/mongo/db/s/config/configsvr_split_chunk_command.o build/opt/mongo/db/s/config/configsvr_update_zone_key_range_command.o build/opt/mongo/db/s/flush_database_cache_updates_command.o build/opt/mongo/db/s/flush_routing_table_cache_updates_command.o build/opt/mongo/db/s/get_database_version_command.o build/opt/mongo/db/s/get_shard_version_command.o build/opt/mongo/db/s/merge_chunks_command.o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o build/opt/mongo/db/s/migration_destination_manager_legacy_commands.o build/opt/mongo/db/s/move_chunk_command.o build/opt/mongo/db/s/move_primary_command.o build/opt/mongo/db/s/set_shard_version_command.o build/opt/mongo/db/s/sharding_server_status.o build/opt/mongo/db/s/sharding_state_command.o build/opt/mongo/db/s/shardsvr_shard_collection.o build/opt/mongo/db/s/split_chunk_command.o build/opt/mongo/db/s/split_vector_command.o build/opt/mongo/db/s/txn_two_phase_commit_cmds.o build/opt/mongo/db/s/unset_sharding_command.o build/opt/mongo/db/s/wait_for_ongoing_chunk_splits_command.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_commands_d.a clang++ -o build/opt/mongo/db/pipeline/document_source_sample.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_sample.cpp In file included from src/mongo/db/pipeline/document_source_list_sessions.cpp: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 In file included from src/mongo/db/pipeline/document_source_list_sessions.cpp: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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/document_source_sample.cpp:32: In file included from src/mongo/db/pipeline/document_source_sample.h:32: 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 In file included from src/mongo/db/pipeline/document_source_sample.cpp:32: In file included from src/mongo/db/pipeline/document_source_sample.h:32: 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreplication_process.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/replication_consistency_markers.o build/opt/mongo/db/repl/replication_process.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplication_process.a clang++ -o build/opt/mongo/db/pipeline/sequential_document_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 -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/sequential_document_cache.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_plan_cache_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 -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_plan_cache_stats.cpp clang++ -o build/opt/mongo/db/pipeline/document_source_group.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_group.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_match.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_match.cpp In file included from src/mongo/db/pipeline/document_source_plan_cache_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_plan_cache_stats.h:32: 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 In file included from src/mongo/db/pipeline/document_source_group.cpp:35: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/document_source_plan_cache_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_plan_cache_stats.h:32: 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/db/pipeline/document_source_group.cpp:35: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/document_source_match.cpp:32: In file included from src/mongo/db/pipeline/document_source_match.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/pipeline/document_source_match.cpp:32: In file included from src/mongo/db/pipeline/document_source_match.h:36: In file included from src/mongo/db/matcher/matcher.h:36: 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_tee_consumer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_tee_consumer.cpp 2 warnings generated. In file included from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32: In file included from src/mongo/db/pipeline/document_source_tee_consumer.h:35: 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/db/pipeline/document_source_bucket_auto.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_bucket_auto.cpp In file included from src/mongo/db/pipeline/document_source_tee_consumer.cpp:32: In file included from src/mongo/db/pipeline/document_source_tee_consumer.h:35: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_geo_near.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_geo_near.cpp In file included from src/mongo/db/pipeline/document_source_bucket_auto.cpp:32: In file included from src/mongo/db/pipeline/document_source_bucket_auto.h:32: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/document_source_bucket_auto.cpp:32: In file included from src/mongo/db/pipeline/document_source_bucket_auto.h:32: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/document_source_graph_lookup.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_graph_lookup.cpp In file included from src/mongo/db/pipeline/document_source_geo_near.cpp:34: In file included from src/mongo/db/pipeline/document_source_geo_near.h:32: 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 In file included from src/mongo/db/pipeline/document_source_geo_near.cpp:34: In file included from src/mongo/db/pipeline/document_source_geo_near.h:32: 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/db/pipeline/document_source_graph_lookup.cpp:32: In file included from src/mongo/db/pipeline/document_source_graph_lookup.h:32: 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 In file included from src/mongo/db/pipeline/document_source_graph_lookup.cpp:32: In file included from src/mongo/db/pipeline/document_source_graph_lookup.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_internal_inhibit_optimization.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_skip.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_skip.cpp In file included from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32: In file included from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:32: 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 In file included from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:32: In file included from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:32: 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/db/pipeline/document_source_skip.cpp:32: In file included from src/mongo/db/pipeline/document_source_skip.h:32: 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 In file included from src/mongo/db/pipeline/document_source_skip.cpp:32: In file included from src/mongo/db/pipeline/document_source_skip.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_redact.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_redact.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_sequential_document_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 -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_sequential_document_cache.cpp In file included from src/mongo/db/pipeline/document_source_redact.cpp:32: In file included from src/mongo/db/pipeline/document_source_redact.h:32: 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 In file included from src/mongo/db/pipeline/document_source_redact.cpp:32: In file included from src/mongo/db/pipeline/document_source_redact.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_facet.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_facet.cpp In file included from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32: In file included from src/mongo/db/pipeline/document_source_sequential_document_cache.h:32: 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 In file included from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:32: In file included from src/mongo/db/pipeline/document_source_sequential_document_cache.h:32: 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/db/pipeline/document_source_facet.cpp:32: In file included from src/mongo/db/pipeline/document_source_facet.h:37: 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 In file included from src/mongo/db/pipeline/document_source_facet.cpp:32: In file included from src/mongo/db/pipeline/document_source_facet.h:37: 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{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_out.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_out.cpp clang++ -o build/opt/mongo/db/pipeline/document_source_check_invalidate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_check_invalidate.cpp In file included from src/mongo/db/pipeline/document_source_out.cpp:34: 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: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_check_invalidate.cpp:34: In file included from src/mongo/db/pipeline/document_source_change_stream.h:32: 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 In file included from src/mongo/db/pipeline/document_source_out.cpp:34: 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: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 src/mongo/db/pipeline/document_source_check_invalidate.cpp:34: In file included from src/mongo/db/pipeline/document_source_change_stream.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_sort.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_sort.cpp In file included from src/mongo/db/pipeline/document_source_out.cpp:34: 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/db/pipeline/document_source_out.cpp:34: 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/db/pipeline/document_source_out.cpp:34: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_single_document_transformation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_single_document_transformation.cpp In file included from src/mongo/db/pipeline/document_source_sort.cpp:32: In file included from src/mongo/db/pipeline/document_source_sort.h:33: 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 In file included from src/mongo/db/pipeline/document_source_sort.cpp:32: In file included from src/mongo/db/pipeline/document_source_sort.h:33: 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/db/pipeline/document_source_single_document_transformation.cpp:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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 In file included from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_lookup.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_lookup.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_list_cached_and_active_users.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_list_cached_and_active_users.cpp In file included from src/mongo/db/pipeline/document_source_lookup.cpp:32: In file included from src/mongo/db/pipeline/document_source_lookup.h:34: 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 In file included from src/mongo/db/pipeline/document_source_lookup.cpp:32: In file included from src/mongo/db/pipeline/document_source_lookup.h:34: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_count.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_count.cpp In file included from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32: In file included from src/mongo/db/pipeline/document_source_list_cached_and_active_users.h:34: 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/pipeline/document_source_list_cached_and_active_users.cpp:32: In file included from src/mongo/db/pipeline/document_source_list_cached_and_active_users.h:35: 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 In file included from src/mongo/db/pipeline/document_source_list_cached_and_active_users.cpp:32: In file included from src/mongo/db/pipeline/document_source_list_cached_and_active_users.h:35: 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/db/pipeline/document_source_list_cached_and_active_users.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/pipeline/document_source_list_cached_and_active_users.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/pipeline/document_source_count.cpp:32: In file included from src/mongo/db/pipeline/document_source_count.h:32: 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 In file included from src/mongo/db/pipeline/document_source_count.cpp:32: In file included from src/mongo/db/pipeline/document_source_count.h:32: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_coll_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 -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_coll_stats.cpp 2 warnings generated. In file included from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_coll_stats.h:32: 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_replace_root.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_replace_root.cpp clang++ -o build/opt/mongo/db/pipeline/document_source_sort_by_count.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_sort_by_count.cpp In file included from src/mongo/db/pipeline/document_source_coll_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_coll_stats.h:32: 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/db/pipeline/document_source_replace_root.cpp:32: In file included from src/mongo/db/pipeline/document_source_replace_root.h:33: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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 In file included from src/mongo/db/pipeline/document_source_sort_by_count.cpp:32: In file included from src/mongo/db/pipeline/document_source_sort_by_count.h:32: 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 In file included from src/mongo/db/pipeline/document_source_replace_root.cpp:32: In file included from src/mongo/db/pipeline/document_source_replace_root.h:33: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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/db/pipeline/document_source_sort_by_count.cpp:32: In file included from src/mongo/db/pipeline/document_source_sort_by_count.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_index_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 -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_index_stats.cpp 2 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_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 -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.cpp clang++ -o build/opt/mongo/db/pipeline/document_source_project.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_project.cpp In file included from src/mongo/db/pipeline/document_source_index_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_index_stats.h:33: 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 In file included from src/mongo/db/pipeline/document_source_index_stats.cpp:32: In file included from src/mongo/db/pipeline/document_source_index_stats.h:33: 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/db/pipeline/document_source.cpp:32: 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 In file included from src/mongo/db/pipeline/document_source_project.cpp:32: In file included from src/mongo/db/pipeline/document_source_project.h:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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 In file included from src/mongo/db/pipeline/document_source.cpp:32: 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/db/pipeline/document_source_project.cpp:32: In file included from src/mongo/db/pipeline/document_source_project.h:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_unwind.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_unwind.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_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 -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_queue.cpp In file included from src/mongo/db/pipeline/document_source_unwind.cpp:32: In file included from src/mongo/db/pipeline/document_source_unwind.h:32: 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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_bucket.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_bucket.cpp In file included from src/mongo/db/pipeline/document_source_unwind.cpp:32: In file included from src/mongo/db/pipeline/document_source_unwind.h:32: 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/db/pipeline/document_source_queue.cpp:32: In file included from src/mongo/db/pipeline/document_source_queue.h:34: 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 In file included from src/mongo/db/pipeline/document_source_queue.cpp:32: In file included from src/mongo/db/pipeline/document_source_queue.h:34: 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/db/pipeline/document_source_bucket.cpp:30: In file included from src/mongo/db/pipeline/document_source_bucket.h:32: 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 In file included from src/mongo/db/pipeline/document_source_bucket.cpp:30: In file included from src/mongo/db/pipeline/document_source_bucket.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_change_stream.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_change_stream.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_current_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 -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_current_op.cpp In file included from src/mongo/db/pipeline/document_source_change_stream.cpp:32: In file included from src/mongo/db/pipeline/document_source_change_stream.h:32: 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 In file included from src/mongo/db/pipeline/document_source_change_stream.cpp:32: In file included from src/mongo/db/pipeline/document_source_change_stream.h:32: 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/db/pipeline/document_source_current_op.cpp:32: In file included from src/mongo/db/pipeline/document_source_current_op.h:32: 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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_sample_from_random_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_sample_from_random_cursor.cpp In file included from src/mongo/db/pipeline/document_source_current_op.cpp:32: In file included from src/mongo/db/pipeline/document_source_current_op.h:32: 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/db/pipeline/document_source_sample_from_random_cursor.cpp:34: In file included from src/mongo/db/pipeline/document_source_sample_from_random_cursor.h:32: 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 In file included from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:34: In file included from src/mongo/db/pipeline/document_source_sample_from_random_cursor.h:32: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_list_local_sessions.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_list_local_sessions.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp In file included from src/mongo/db/pipeline/document_source_list_local_sessions.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/pipeline/document_source_list_local_sessions.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/pipeline/document_source_list_local_sessions.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/pipeline/document_source_list_local_sessions.cpp:35: In file included from src/mongo/db/pipeline/document_source_list_local_sessions.h:38: 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 In file included from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:35: In file included from src/mongo/db/pipeline/document_source_list_local_sessions.h:38: 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/db/pipeline/document_source_merge.cpp:34: 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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_change_stream_transform.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_change_stream_transform.cpp In file included from src/mongo/db/pipeline/document_source_merge.cpp:34: 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 src/mongo/db/pipeline/document_source_merge.cpp:34: 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.cpp:34: 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.cpp:34: 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/pipeline/document_source_change_stream_transform.cpp:34: In file included from src/mongo/db/pipeline/document_source_change_stream_transform.h:32: 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 5 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_change_stream_close_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_change_stream_close_cursor.cpp In file included from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:34: In file included from src/mongo/db/pipeline/document_source_change_stream_transform.h:32: 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/db/pipeline/document_source_change_stream_close_cursor.cpp:32: In file included from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:33: 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 In file included from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:32: In file included from src/mongo/db/pipeline/document_source_change_stream_close_cursor.h:33: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_check_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 -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_check_resume_token.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_lookup_change_post_image.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_lookup_change_post_image.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_internal_shard_filter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_internal_shard_filter.cpp In file included from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:32: In file included from src/mongo/db/pipeline/document_source_lookup_change_post_image.h:32: 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 In file included from src/mongo/db/pipeline/document_source_check_resume_token.cpp: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/db/pipeline/document_source_check_resume_token.cpp: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/pipeline/document_source_lookup_change_post_image.cpp:32: In file included from src/mongo/db/pipeline/document_source_lookup_change_post_image.h:32: 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/db/pipeline/document_source_internal_shard_filter.cpp:34: In file included from src/mongo/db/pipeline/document_source_internal_shard_filter.h:33: 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 In file included from src/mongo/db/pipeline/document_source_internal_shard_filter.cpp:34: In file included from src/mongo/db/pipeline/document_source_internal_shard_filter.h:33: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/pipeline.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/pipeline.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/stage_constraints.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/stage_constraints.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_exchange.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_exchange.cpp In file included from src/mongo/db/pipeline/stage_constraints.cpp:32: In file included from src/mongo/db/pipeline/stage_constraints.h:35: 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/pipeline.cpp:32: 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/db/pipeline/stage_constraints.cpp:32: In file included from src/mongo/db/pipeline/stage_constraints.h:35: 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/pipeline.cpp:32: 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. In file included from src/mongo/db/pipeline/document_source_exchange.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 clang++ -o build/opt/mongo/db/pipeline/document_source_internal_split_pipeline.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_internal_split_pipeline.cpp In file included from src/mongo/db/pipeline/document_source_exchange.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/db/pipeline/pipeline.cpp:46: 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/pipeline.cpp:46: 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/pipeline.cpp:46: 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/pipeline/document_source_internal_split_pipeline.cpp:32: In file included from src/mongo/db/pipeline/document_source_internal_split_pipeline.h:32: 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 In file included from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:32: In file included from src/mongo/db/pipeline/document_source_internal_split_pipeline.h:32: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/pipeline/tee_buffer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/tee_buffer.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_add_fields.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_add_fields.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_limit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_limit.cpp In file included from src/mongo/db/pipeline/tee_buffer.cpp:32: In file included from src/mongo/db/pipeline/tee_buffer.h:37: 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 In file included from src/mongo/db/pipeline/document_source_add_fields.cpp:32: In file included from src/mongo/db/pipeline/document_source_add_fields.h:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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 In file included from src/mongo/db/pipeline/tee_buffer.cpp:32: In file included from src/mongo/db/pipeline/tee_buffer.h:37: 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/db/pipeline/document_source_add_fields.cpp:32: In file included from src/mongo/db/pipeline/document_source_add_fields.h:32: In file included from src/mongo/db/pipeline/document_source_single_document_transformation.h:32: 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/db/pipeline/document_source_limit.cpp:32: In file included from src/mongo/db/pipeline/document_source_limit.h:32: 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 In file included from src/mongo/db/pipeline/document_source_limit.cpp:32: In file included from src/mongo/db/pipeline/document_source_limit.h:32: 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{}; \ ^ ~~ 2 warnings generated. 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 -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. 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libpipeline.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/document_source.o build/opt/mongo/db/pipeline/document_source_add_fields.o build/opt/mongo/db/pipeline/document_source_bucket.o build/opt/mongo/db/pipeline/document_source_bucket_auto.o build/opt/mongo/db/pipeline/document_source_change_stream.o build/opt/mongo/db/pipeline/document_source_change_stream_close_cursor.o build/opt/mongo/db/pipeline/document_source_change_stream_transform.o build/opt/mongo/db/pipeline/document_source_check_invalidate.o build/opt/mongo/db/pipeline/document_source_check_resume_token.o build/opt/mongo/db/pipeline/document_source_coll_stats.o build/opt/mongo/db/pipeline/document_source_count.o build/opt/mongo/db/pipeline/document_source_current_op.o build/opt/mongo/db/pipeline/document_source_exchange.o build/opt/mongo/db/pipeline/document_source_facet.o build/opt/mongo/db/pipeline/document_source_geo_near.o build/opt/mongo/db/pipeline/document_source_graph_lookup.o build/opt/mongo/db/pipeline/document_source_group.o build/opt/mongo/db/pipeline/document_source_index_stats.o build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o build/opt/mongo/db/pipeline/document_source_internal_shard_filter.o build/opt/mongo/db/pipeline/document_source_internal_split_pipeline.o build/opt/mongo/db/pipeline/document_source_limit.o build/opt/mongo/db/pipeline/document_source_list_cached_and_active_users.o build/opt/mongo/db/pipeline/document_source_list_local_sessions.o build/opt/mongo/db/pipeline/document_source_list_sessions.o build/opt/mongo/db/pipeline/document_source_lookup.o build/opt/mongo/db/pipeline/document_source_lookup_change_post_image.o build/opt/mongo/db/pipeline/document_source_match.o build/opt/mongo/db/pipeline/document_source_merge.o build/opt/mongo/db/pipeline/document_source_out.o build/opt/mongo/db/pipeline/document_source_plan_cache_stats.o build/opt/mongo/db/pipeline/document_source_project.o build/opt/mongo/db/pipeline/document_source_queue.o build/opt/mongo/db/pipeline/document_source_redact.o build/opt/mongo/db/pipeline/document_source_replace_root.o build/opt/mongo/db/pipeline/document_source_sample.o build/opt/mongo/db/pipeline/document_source_sample_from_random_cursor.o build/opt/mongo/db/pipeline/document_source_sequential_document_cache.o build/opt/mongo/db/pipeline/document_source_single_document_transformation.o build/opt/mongo/db/pipeline/document_source_skip.o build/opt/mongo/db/pipeline/document_source_sort.o build/opt/mongo/db/pipeline/document_source_sort_by_count.o build/opt/mongo/db/pipeline/document_source_tee_consumer.o build/opt/mongo/db/pipeline/document_source_unwind.o build/opt/mongo/db/pipeline/pipeline.o build/opt/mongo/db/pipeline/sequential_document_cache.o build/opt/mongo/db/pipeline/stage_constraints.o build/opt/mongo/db/pipeline/tee_buffer.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libpipeline.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 -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 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 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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 clang++ -o build/opt/mongo/db/repl/replication_consistency_markers_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 -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/replication_consistency_markers_impl.cpp 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{}; \ ^ ~~ In file included from src/mongo/db/repl/replication_consistency_markers_impl.cpp:38: 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/repl/replication_consistency_markers_impl.cpp:38: 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/crypto/sha_block_openssl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/crypto/sha_block_openssl.cpp 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 /usr/bin/libtool -static -o build/opt/mongo/crypto/libsha_block_openssl.a -s -no_warning_for_no_symbols build/opt/mongo/crypto/sha_block_openssl.o Skipping ranlib for libtool generated target build/opt/mongo/crypto/libsha_block_openssl.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/repl/noop_writer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/noop_writer.cpp clang++ -o build/opt/mongo/db/repl/replication_coordinator_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 -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/replication_coordinator_external_state_impl.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/replication_consistency_markers_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a clang++ -o build/opt/mongo/db/repl/sync_source_feedback.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sync_source_feedback.cpp In file included from src/mongo/db/repl/noop_writer.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/repl/replication_coordinator_external_state_impl.cpp:34: 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: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/db/repl/noop_writer.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/repl/replication_coordinator_external_state_impl.cpp:34: 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: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/sync_source_feedback.cpp:37: 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/db/repl/replication_coordinator_external_state_impl.cpp:34: 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 { ^ In file included from src/mongo/db/repl/sync_source_feedback.cpp:37: 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/replication_coordinator_external_state_impl.cpp:41: 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/replication_coordinator_external_state_impl.cpp:41: 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/replication_coordinator_external_state_impl.cpp:41: 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/repl/sync_source_feedback.cpp:37: 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 { ^ 2 warnings generated. clang++ -o build/opt/mongo/idl/idl_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 -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/idl/idl_parser.cpp 3 warnings generated. 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 -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 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 /usr/bin/libtool -static -o build/opt/mongo/idl/libidl_parser.a -s -no_warning_for_no_symbols build/opt/mongo/idl/idl_parser.o Skipping ranlib for libtool generated target build/opt/mongo/idl/libidl_parser.a clang++ -o build/opt/mongo/db/ops/write_ops_parsers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_parsers.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: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/repl/libserveronly_repl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/noop_writer.o build/opt/mongo/db/repl/replication_coordinator_external_state_impl.o build/opt/mongo/db/repl/sync_source_feedback.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libserveronly_repl.a clang++ -o build/opt/mongo/db/ops/write_ops_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 -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/ops/write_ops_gen.cpp 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{}; \ ^ ~~ In file included from src/mongo/db/ops/write_ops_parsers.cpp: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/ops/write_ops_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 1 warning generated. clang++ -o build/opt/mongo/client/connection_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 -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/connection_string.cpp In file included from build/opt/mongo/db/ops/write_ops_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. /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/client/mongo_uri.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/mongo_uri.cpp 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/ops/libwrite_ops_parsers.a -s -no_warning_for_no_symbols build/opt/mongo/db/ops/write_ops_parsers.o build/opt/mongo/db/ops/write_ops_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/ops/libwrite_ops_parsers.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/http_client_gen.h --output build/opt/mongo/db/commands/http_client_gen.cpp src/mongo/db/commands/http_client.idl clang++ -o build/opt/mongo/db/commands/http_client_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 -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/http_client_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/client/libconnection_string.a -s -no_warning_for_no_symbols build/opt/mongo/client/connection_string.o build/opt/mongo/client/mongo_uri.o Skipping ranlib for libtool generated target build/opt/mongo/client/libconnection_string.a clang++ -o build/opt/mongo/db/commands/http_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 -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/http_client.cpp /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 In file included from build/opt/mongo/db/commands/http_client_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 Skipping ranlib for libtool generated target build/opt/mongo/client/libasync_client.a clang++ -o build/opt/mongo/db/commands/index_filter_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 -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/index_filter_commands.cpp In file included from build/opt/mongo/db/commands/http_client_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/http_client.cpp:37: 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/http_client.cpp:37: 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/index_filter_commands.cpp:41: 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/index_filter_commands.cpp:41: 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/index_filter_commands.cpp:41: 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/index_filter_commands.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: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/index_filter_commands.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. clang++ -o build/opt/mongo/db/commands/plan_cache_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 -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/plan_cache_commands.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/commands/rename_collection_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 -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_cmd.cpp In file included from src/mongo/db/commands/plan_cache_commands.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/commands/plan_cache_commands.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/commands/plan_cache_commands.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/commands/plan_cache_commands.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/commands/plan_cache_commands.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/commands/rename_collection_cmd.cpp:32: 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 5 warnings generated. In file included from src/mongo/db/commands/rename_collection_cmd.cpp: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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/mongo/db/commands/run_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 -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/run_aggregate.cpp In file included from src/mongo/db/commands/run_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/db/commands/run_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/db/commands/run_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/db/commands/run_aggregate.cpp:40: 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 5 warnings generated. clang++ -o build/opt/mongo/db/commands/killcursors_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 -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/killcursors_cmd.cpp In file included from src/mongo/db/commands/run_aggregate.cpp:40: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/commands/find_and_modify.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp In file included from src/mongo/db/commands/run_aggregate.cpp:64: 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/commands/run_aggregate.cpp:64: 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/commands/run_aggregate.cpp:64: 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/commands/killcursors_cmd.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/killcursors_cmd.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/killcursors_cmd.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/killcursors_cmd.cpp: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/commands/find_and_modify.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 In file included from src/mongo/db/commands/killcursors_cmd.cpp: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/commands/find_and_modify.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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/commands/validate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/validate.cpp 8 warnings generated. clang++ -o build/opt/mongo/db/commands/repair_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repair_cursor.cpp In file included from src/mongo/db/commands/validate.cpp:34: 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/commands/validate.cpp:34: 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/commands/get_last_error.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/get_last_error.cpp In file included from src/mongo/db/commands/repair_cursor.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/repair_cursor.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/repair_cursor.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/repair_cursor.cpp: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/commands/validate.cpp:40: 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/commands/repair_cursor.cpp: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/commands/get_last_error.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/get_last_error.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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/commands/explain_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 -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/explain_cmd.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/commands/pipeline_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 -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/pipeline_command.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/commands/sleep_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 -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/sleep_command.cpp In file included from src/mongo/db/commands/explain_cmd.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/commands/pipeline_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/pipeline_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/explain_cmd.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/commands/pipeline_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/pipeline_command.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/commands/sleep_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 In file included from src/mongo/db/commands/pipeline_command.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 src/mongo/db/commands/sleep_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{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/create_gen.h --output build/opt/mongo/db/commands/create_gen.cpp src/mongo/db/commands/create.idl clang++ -o build/opt/mongo/db/commands/create_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 -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/create_gen.cpp 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/stats/read_concern_stats_gen.h --output build/opt/mongo/db/stats/read_concern_stats_gen.cpp src/mongo/db/stats/read_concern_stats.idl clang++ -o build/opt/mongo/db/commands/find_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 -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_cmd.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/profile_gen.h --output build/opt/mongo/db/commands/profile_gen.cpp src/mongo/db/commands/profile.idl clang++ -o build/opt/mongo/db/commands/dbcommands.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbcommands.cpp In file included from build/opt/mongo/db/commands/create_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/create_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/find_cmd.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/find_cmd.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/find_cmd.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/find_cmd.cpp:36: 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/dbcommands.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/dbcommands.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/find_cmd.cpp:36: 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/commands/dbcommands.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/dbcommands.cpp:51: 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/commands/dbcommands.cpp:51: 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/commands/dbcommands.cpp:81: 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/commands/dbcommands.cpp:81: 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/commands/dbcommands.cpp:81: 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{}; \ ^ ~~ 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_gen.h --output build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_gen.cpp src/mongo/db/commands/enable_coordinator_for_create_indexes_command.idl clang++ -o build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_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 -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/enable_coordinator_for_create_indexes_command_gen.cpp In file included from build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_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/enable_coordinator_for_create_indexes_command_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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/list_databases_gen.h --output build/opt/mongo/db/commands/list_databases_gen.cpp src/mongo/db/commands/list_databases.idl 8 warnings generated. clang++ -o build/opt/mongo/db/commands/lock_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 -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/lock_info.cpp clang++ -o build/opt/mongo/db/commands/list_databases.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/list_databases.cpp 2 warnings generated. In file included from src/mongo/db/commands/lock_info.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/db/commands/lock_info.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/write_commands/write_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 -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.cpp In file included from src/mongo/db/commands/list_databases.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/list_databases.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/lock_info.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/db/commands/lock_info.cpp:37: 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/list_databases.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/list_databases.cpp:33: 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/commands/lock_info.cpp:37: 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/list_databases.cpp:33: 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/commands/write_commands/write_commands.cpp:33: 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/commands/write_commands/write_commands.cpp:33: 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{}; \ ^ ~~ 5 warnings generated. In file included from src/mongo/db/commands/write_commands/write_commands.cpp:38: 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.cpp:38: 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.cpp:38: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/create_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 -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/create_indexes.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/commands/getmore_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 -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/getmore_cmd.cpp In file included from src/mongo/db/commands/create_indexes.cpp:38: 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/create_indexes.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/create_indexes.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/create_indexes.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/commands/create_indexes.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/commands/getmore_cmd.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/getmore_cmd.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/getmore_cmd.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/getmore_cmd.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/commands/getmore_cmd.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/commands/create_indexes.cpp:52: 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. clang++ -o build/opt/mongo/db/commands/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 -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_indexes.cpp In file included from src/mongo/db/commands/getmore_cmd.cpp:53: 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/commands/getmore_cmd.cpp:53: 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/commands/getmore_cmd.cpp:53: 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/commands/drop_indexes.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/commands/drop_indexes.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{}; \ ^ ~~ 6 warnings generated. clang++ -o build/opt/mongo/db/commands/current_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 -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/current_op.cpp In file included from src/mongo/db/commands/drop_indexes.cpp:50: 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 { ^ 8 warnings generated. clang++ -o build/opt/mongo/db/commands/count_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 -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/count_cmd.cpp In file included from src/mongo/db/commands/current_op.cpp:32: In file included from src/mongo/db/commands/current_op_common.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/commands/current_op.cpp:32: In file included from src/mongo/db/commands/current_op_common.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/commands/count_cmd.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/count_cmd.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/count_cmd.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/count_cmd.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/current_op.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/db/commands/current_op.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/db/commands/current_op.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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/commands/distinct.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/distinct.cpp In file included from src/mongo/db/commands/count_cmd.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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/commands/list_collections.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/list_collections.cpp In file included from src/mongo/db/commands/distinct.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/distinct.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/distinct.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/distinct.cpp:40: 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/distinct.cpp:40: 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/commands/list_collections.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/commands/list_collections.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/commands/list_collections.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/commands/list_collections.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 5 warnings generated. clang++ -o build/opt/mongo/db/commands/kill_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 -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_op.cpp In file included from src/mongo/db/commands/list_collections.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/commands/list_collections.cpp:58: 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/commands/kill_op.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/commands/kill_op.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/commands/kill_op.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/db/commands/kill_op.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 5 warnings generated. clang++ -o build/opt/mongo/db/commands/list_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 -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/list_indexes.cpp In file included from src/mongo/db/commands/kill_op.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{}; \ ^ ~~ 6 warnings generated. clang++ -o build/opt/mongo/db/repl/always_allow_non_local_writes.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/always_allow_non_local_writes.cpp In file included from src/mongo/db/commands/list_indexes.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/list_indexes.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/list_indexes.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/list_indexes.cpp: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 5 warnings generated. clang++ -o build/opt/mongo/db/repl/replication_coordinator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_coordinator.cpp In file included from src/mongo/db/commands/list_indexes.cpp: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/commands/list_indexes.cpp:48: 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 { ^ clang++ -o build/opt/mongo/db/repl/replication_coordinator_noop.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_coordinator_noop.cpp clang++ -o build/opt/mongo/db/repl/repl_client_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 -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/repl_client_info.cpp 6 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libstandalone.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/count_cmd.o build/opt/mongo/db/commands/create_indexes.o build/opt/mongo/db/commands/current_op.o build/opt/mongo/db/commands/dbcommands.o build/opt/mongo/db/commands/distinct.o build/opt/mongo/db/commands/drop_indexes.o build/opt/mongo/db/commands/explain_cmd.o build/opt/mongo/db/commands/find_and_modify.o build/opt/mongo/db/commands/find_cmd.o build/opt/mongo/db/commands/get_last_error.o build/opt/mongo/db/commands/getmore_cmd.o build/opt/mongo/db/commands/http_client.o build/opt/mongo/db/commands/http_client_gen.o build/opt/mongo/db/commands/index_filter_commands.o build/opt/mongo/db/commands/kill_op.o build/opt/mongo/db/commands/killcursors_cmd.o build/opt/mongo/db/commands/lock_info.o build/opt/mongo/db/commands/list_collections.o build/opt/mongo/db/commands/list_databases.o build/opt/mongo/db/commands/list_indexes.o build/opt/mongo/db/commands/pipeline_command.o build/opt/mongo/db/commands/plan_cache_commands.o build/opt/mongo/db/commands/rename_collection_cmd.o build/opt/mongo/db/commands/repair_cursor.o build/opt/mongo/db/commands/run_aggregate.o build/opt/mongo/db/commands/sleep_command.o build/opt/mongo/db/commands/validate.o build/opt/mongo/db/commands/write_commands/write_commands.o build/opt/mongo/db/commands/create_gen.o build/opt/mongo/db/commands/enable_coordinator_for_create_indexes_command_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libstandalone.a clang++ -o build/opt/mongo/db/views/view_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 -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/views/view_catalog.cpp clang++ -o build/opt/mongo/db/views/view.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/views/view.cpp /usr/bin/libtool -static -o build/opt/mongo/db/repl/librepl_coordinator_interface.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/always_allow_non_local_writes.o build/opt/mongo/db/repl/repl_client_info.o build/opt/mongo/db/repl/replication_coordinator.o build/opt/mongo/db/repl/replication_coordinator_noop.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librepl_coordinator_interface.a clang++ -o build/opt/mongo/db/views/view_graph.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/views/view_graph.cpp In file included from src/mongo/db/views/view_catalog.cpp:42: 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 clang++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_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 -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/ephemeral_for_test/ephemeral_for_test_init.cpp In file included from src/mongo/db/views/view_catalog.cpp:42: 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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/traffic_recorder_gen.h --output build/opt/mongo/db/traffic_recorder_gen.cpp src/mongo/db/traffic_recorder.idl 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 -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 In file included from src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34: 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/ephemeral_for_test/ephemeral_for_test_init.cpp:34: 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/storage/ephemeral_for_test/ephemeral_for_test_init.cpp:34: 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{}; \ ^ ~~ 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/views/libviews.a -s -no_warning_for_no_symbols build/opt/mongo/db/views/view.o build/opt/mongo/db/views/view_catalog.o build/opt/mongo/db/views/view_graph.o 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{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/db/views/libviews.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o 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 -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 Skipping ranlib for libtool generated target build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 x86_64 --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 -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 5 warnings generated. 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 -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 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{}; \ ^ ~~ 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 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 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/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{}; \ ^ ~~ 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 -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 2 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 -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 5 warnings generated. 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 -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 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 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/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 3 warnings generated. 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{}; \ ^ ~~ 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 -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 2 warnings generated. 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 -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/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 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{}; \ ^ ~~ 2 warnings generated. 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 -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 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/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{}; \ ^ ~~ 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 -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 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{}; \ ^ ~~ 2 warnings generated. 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 -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 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/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/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. 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 -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 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/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/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 5 warnings generated. clang++ -o build/opt/mongo/util/periodic_runner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp 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{}; \ ^ ~~ 2 warnings generated. 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 -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 /usr/bin/libtool -static -o build/opt/mongo/util/libperiodic_runner.a -s -no_warning_for_no_symbols build/opt/mongo/util/periodic_runner.o Skipping ranlib for libtool generated target build/opt/mongo/util/libperiodic_runner.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 -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 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/db/auth/security_key.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/security_key.cpp 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/mongod_options_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 -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/mongod_options_init.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/repl/scatter_gather_algorithm.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/scatter_gather_algorithm.cpp In file included from src/mongo/db/auth/security_key.cpp:47: 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/security_key.cpp:51: In file included from src/mongo/db/auth/sasl_scram_server_conversation.h:33: In file included from src/mongo/db/auth/sasl_mechanism_policies.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 In file included from src/mongo/db/auth/security_key.cpp:51: In file included from src/mongo/db/auth/sasl_scram_server_conversation.h:33: In file included from src/mongo/db/auth/sasl_mechanism_policies.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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/libmongod_options_init.a -s -no_warning_for_no_symbols build/opt/mongo/db/mongod_options_init.o Skipping ranlib for libtool generated target build/opt/mongo/libmongod_options_init.a clang++ -o build/opt/mongo/db/repl/scatter_gather_runner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/scatter_gather_runner.cpp clang++ -o build/opt/mongo/db/update_index_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 -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/update_index_data.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libsecurity_key.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/security_key.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libsecurity_key.a clang++ -o build/opt/mongo/db/commands/feature_compatibility_version_command_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 -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/feature_compatibility_version_command_parser.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libupdate_index_data.a -s -no_warning_for_no_symbols build/opt/mongo/db/update_index_data.o /usr/bin/libtool -static -o build/opt/mongo/db/repl/libscatter_gather.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/scatter_gather_algorithm.o build/opt/mongo/db/repl/scatter_gather_runner.o Skipping ranlib for libtool generated target build/opt/mongo/db/libupdate_index_data.a clang++ -o build/opt/mongo/db/commands/feature_compatibility_version_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 -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/feature_compatibility_version_parser.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libscatter_gather.a clang++ -o build/opt/mongo/db/index/index_descriptor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_descriptor.cpp In file included from src/mongo/db/commands/feature_compatibility_version_command_parser.cpp:37: 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/index/index_descriptor.cpp:34: 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/commands/feature_compatibility_version_command_parser.cpp:37: 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/kv/kv_prefix.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/kv/kv_prefix.cpp In file included from src/mongo/db/index/index_descriptor.cpp:34: 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/libfeature_compatibility_parsers.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/feature_compatibility_version_parser.o build/opt/mongo/db/commands/feature_compatibility_version_command_parser.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libfeature_compatibility_parsers.a clang++ -o build/opt/mongo/db/pipeline/mongo_process_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 -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/mongo_process_common.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/kv/libkv_prefix.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/kv/kv_prefix.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/kv/libkv_prefix.a clang++ -o build/opt/third_party/s2/util/coding/coder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/util/coding/coder.cc 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/index/libindex_descriptor.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/index_descriptor.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libindex_descriptor.a clang++ -o build/opt/third_party/s2/util/coding/varint.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/util/coding/varint.cc In file included from src/mongo/db/pipeline/mongo_process_common.cpp:34: 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/pipeline/mongo_process_common.cpp:34: 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/pipeline/mongo_process_common.cpp:38: 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/pipeline/mongo_process_common.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/pipeline/mongo_process_common.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/storage/devnull/devnull_kv_engine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/devnull/devnull_kv_engine.cpp /usr/bin/libtool -static -o build/opt/third_party/s2/util/coding/libcoding.a -s -no_warning_for_no_symbols build/opt/third_party/s2/util/coding/coder.o build/opt/third_party/s2/util/coding/varint.o Skipping ranlib for libtool generated target build/opt/third_party/s2/util/coding/libcoding.a clang++ -o build/opt/mongo/db/service_liaison.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/service_liaison.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libservice_liaison.a -s -no_warning_for_no_symbols build/opt/mongo/db/service_liaison.o Skipping ranlib for libtool generated target build/opt/mongo/db/libservice_liaison.a 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/catalog/index_build_entry_gen.h --output build/opt/mongo/db/catalog/index_build_entry_gen.cpp src/mongo/db/catalog/index_build_entry.idl /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libmongo_process_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/mongo_process_common.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libmongo_process_common.a clang++ -o build/opt/mongo/s/is_mongos.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/is_mongos.cpp clang++ -o build/opt/mongo/db/catalog/index_build_entry_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 -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/index_build_entry_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/devnull/libstorage_devnull_core.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/devnull/devnull_kv_engine.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/devnull/libstorage_devnull_core.a clang++ -o build/opt/mongo/db/stats/storage_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 -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/storage_stats.cpp /usr/bin/libtool -static -o build/opt/mongo/s/libis_mongos.a -s -no_warning_for_no_symbols build/opt/mongo/s/is_mongos.o Skipping ranlib for libtool generated target build/opt/mongo/s/libis_mongos.a clang++ -o build/opt/mongo/db/stats/latency_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 -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/latency_server_status_section.cpp In file included from src/mongo/db/stats/storage_stats.cpp:32: 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/index_build_entry_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/catalog/index_build_entry_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/stats/storage_stats.cpp:32: 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/stats/latency_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/stats/latency_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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libindex_build_entry_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/index_build_entry_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libindex_build_entry_idl.a clang++ -o build/opt/mongo/db/stats/lock_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 -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/lock_server_status_section.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/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 -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/isself.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 In file included from src/mongo/db/stats/lock_server_status_section.cpp:35: 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 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 -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 In file included from src/mongo/db/stats/lock_server_status_section.cpp:35: 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/isself.cpp:41: In file included from src/mongo/client/dbclient_connection.h:36: 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/repl/isself.cpp:45: 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/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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/stats/libserveronly_stats.a -s -no_warning_for_no_symbols build/opt/mongo/db/stats/latency_server_status_section.o build/opt/mongo/db/stats/lock_server_status_section.o build/opt/mongo/db/stats/storage_stats.o Skipping ranlib for libtool generated target build/opt/mongo/db/stats/libserveronly_stats.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 -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 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libisself.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/isself.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libisself.a clang++ -o build/opt/mongo/db/catalog/document_validation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/document_validation.cpp clang++ -o build/opt/mongo/db/logical_session_cache_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 -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_impl.cpp 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/db/initialize_operation_session_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 -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/initialize_operation_session_info.cpp /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libdocument_validation.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/document_validation.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libdocument_validation.a clang++ -o build/opt/mongo/db/pipeline/process_interface_factory_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 -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/process_interface_factory_mongod.cpp In file included from src/mongo/db/initialize_operation_session_info.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/initialize_operation_session_info.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/initialize_operation_session_info.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/pipeline/process_interface_factory_mongod.cpp:32: In file included from src/mongo/db/pipeline/process_interface_shardsvr.h:32: In file included from src/mongo/db/dbdirectclient.h:32: 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/util/options_parser/options_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 -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.cpp /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_session_cache_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/initialize_operation_session_info.o build/opt/mongo/db/logical_session_cache_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_session_cache_impl.a clang++ -o build/opt/mongo/util/options_parser/option_description.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/option_description.cpp In file included from src/mongo/db/pipeline/process_interface_factory_mongod.cpp:32: In file included from src/mongo/db/pipeline/process_interface_shardsvr.h:33: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/util/options_parser/value.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/value.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libprocess_interface_factory_mongod.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/process_interface_factory_mongod.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libprocess_interface_factory_mongod.a clang++ -o build/opt/mongo/util/options_parser/startup_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 -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/startup_options.cpp clang++ -o build/opt/mongo/util/options_parser/environment.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/environment.cpp clang++ -o build/opt/mongo/util/options_parser/option_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 -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/option_section.cpp clang++ -o build/opt/mongo/util/options_parser/startup_option_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 -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/startup_option_init.cpp clang++ -o build/opt/mongo/util/options_parser/constraints.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/constraints.cpp 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 -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 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 -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 /usr/bin/libtool -static -o build/opt/mongo/util/options_parser/liboptions_parser.a -s -no_warning_for_no_symbols build/opt/mongo/util/options_parser/constraints.o build/opt/mongo/util/options_parser/environment.o build/opt/mongo/util/options_parser/option_description.o build/opt/mongo/util/options_parser/option_section.o build/opt/mongo/util/options_parser/options_parser.o build/opt/mongo/util/options_parser/startup_option_init.o build/opt/mongo/util/options_parser/startup_options.o build/opt/mongo/util/options_parser/value.o Skipping ranlib for libtool generated target build/opt/mongo/util/options_parser/liboptions_parser.a clang++ -o build/opt/mongo/db/auth/auth_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 -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/auth_op_observer.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{}; \ ^ ~~ In file included from src/mongo/db/auth/auth_op_observer.cpp:32: 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: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: 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{}; \ ^ ~~ In file included from src/mongo/db/auth/auth_op_observer.cpp:32: 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/auth/auth_op_observer.cpp:34: 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. clang++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_zone_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/sharding_catalog_manager_zone_operations.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauth_op_observer.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/auth_op_observer.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauth_op_observer.a clang++ -o build/opt/mongo/db/s/add_shard_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 -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/add_shard_util.cpp clang++ -o build/opt/mongo/db/s/config/initial_split_policy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/initial_split_policy.cpp clang++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_collection_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/sharding_catalog_manager_collection_operations.cpp In file included from src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp:47: 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/s/config/sharding_catalog_manager_collection_operations.cpp:47: 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/s/config/sharding_catalog_manager_database_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/sharding_catalog_manager_database_operations.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/config/namespace_serializer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/namespace_serializer.cpp In file included from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:37: In file included from src/mongo/db/commands/feature_compatibility_version.h:35: 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/s/config/sharding_catalog_manager_database_operations.cpp:37: In file included from src/mongo/db/commands/feature_compatibility_version.h:35: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/config/sharding_catalog_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 -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/config/sharding_catalog_manager.cpp 2 warnings generated. 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/s/sharding_runtime_d_params_gen.h --output build/opt/mongo/db/s/sharding_runtime_d_params_gen.cpp src/mongo/db/s/sharding_runtime_d_params.idl /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 clang++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_shard_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/sharding_catalog_manager_shard_operations.cpp clang++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/config/sharding_catalog_manager_chunk_operations.cpp In file included from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:47: 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/s/config/sharding_catalog_manager_chunk_operations.cpp:41: 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/s/config/sharding_catalog_manager_shard_operations.cpp:47: 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/s/config/sharding_catalog_manager_chunk_operations.cpp:41: 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/exec/scoped_timer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/scoped_timer.cpp /usr/bin/libtool -static -o build/opt/mongo/db/exec/libscoped_timer.a -s -no_warning_for_no_symbols build/opt/mongo/db/exec/scoped_timer.o Skipping ranlib for libtool generated target build/opt/mongo/db/exec/libscoped_timer.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 -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 2 warnings generated. 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 -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. /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_catalog_manager.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/add_shard_util.o build/opt/mongo/db/s/config/initial_split_policy.o build/opt/mongo/db/s/config/namespace_serializer.o build/opt/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_collection_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_database_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_shard_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_zone_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_catalog_manager.a 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 -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 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 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/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 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 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 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{}; \ ^ ~~ 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 -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 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 -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 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/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 -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/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/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 2 warnings generated. clang++ -o build/opt/mongo/db/repl/data_replicator_external_state_initial_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 -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_initial_sync.cpp 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/db/repl/roll_back_local_operations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/roll_back_local_operations.cpp In file included from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:32: In file included from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32: 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_initial_sync.cpp:32: In file included from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:32: 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{}; \ ^ ~~ 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libdata_replicator_external_state_initial_sync.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/data_replicator_external_state_initial_sync.o Skipping ranlib for libtool generated target build/opt/mongo/s/libsharding_router_api.a /usr/bin/libtool -static -o build/opt/mongo/db/repl/libroll_back_local_operations.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/roll_back_local_operations.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libdata_replicator_external_state_initial_sync.a Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libroll_back_local_operations.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/catalog/commit_quorum_gen.h --output build/opt/mongo/db/catalog/commit_quorum_gen.cpp src/mongo/db/catalog/commit_quorum.idl clang++ -o build/opt/mongo/db/storage/downgraded_unique_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 -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/downgraded_unique_indexes.cpp Creating 'build/opt/third_party/wiredtiger/wiredtiger.h' clang -o build/opt/third_party/wiredtiger/src/os_common/os_strtouq.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_strtouq.c clang++ -o build/opt/mongo/db/catalog/commit_quorum_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 -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/commit_quorum_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libdowngraded_unique_indexes.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/downgraded_unique_indexes.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libdowngraded_unique_indexes.a clang -o build/opt/third_party/wiredtiger/src/os_common/os_fhandle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_fhandle.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_read.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_read.c clang -o build/opt/third_party/wiredtiger/src/support/hash_fnv.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/hash_fnv.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_track.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_track.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_dictionary.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_dictionary.c In file included from build/opt/mongo/db/catalog/commit_quorum_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/third_party/wiredtiger/src/schema/schema_create.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_create.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_ds.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_ds.c In file included from build/opt/mongo/db/catalog/commit_quorum_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/third_party/wiredtiger/src/os_common/os_errno.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_errno.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_api.c clang -o build/opt/third_party/wiredtiger/src/async/async_op.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/async/async_op.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_truncate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_truncate.c 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcommit_quorum_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/commit_quorum_gen.o clang -o build/opt/third_party/wiredtiger/src/btree/bt_curnext.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_curnext.c warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/db/catalog/libcommit_quorum_idl.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/catalog/libcommit_quorum_idl.a clang -o build/opt/third_party/wiredtiger/src/os_posix/os_dlopen.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_dlopen.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_backup.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_backup.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_timestamp.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_timestamp.c clang -o build/opt/third_party/wiredtiger/src/optrack/optrack.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/optrack/optrack.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_random.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_random.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_handle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_handle.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_vrfy_dsk.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_pagesize.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_pagesize.c clang -o build/opt/third_party/wiredtiger/src/block/block_addr.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_addr.c clang -o build/opt/third_party/wiredtiger/src/support/thread_group.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/thread_group.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_drop.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_drop.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_page.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_page.c clang -o build/opt/third_party/wiredtiger/src/support/generation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/generation.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_vrfy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_vrfy.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_upgrade.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_upgrade.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_mtx_cond.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c clang -o build/opt/third_party/wiredtiger/src/block/block_compact.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_compact.c clang -o build/opt/third_party/wiredtiger/src/config/config_api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config_api.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_debug.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_debug.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_snprintf.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_snprintf.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_path.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_path.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_capacity.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_capacity.c clang -o build/opt/third_party/wiredtiger/src/config/config_check.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config_check.c clang -o build/opt/third_party/wiredtiger/src/block/block_read.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_read.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_abort.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_abort.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_stat.c clang -o build/opt/third_party/wiredtiger/src/block/block_session.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_session.c clang -o build/opt/third_party/wiredtiger/src/evict/evict_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/evict/evict_stat.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_child.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_child.c clang -o build/opt/third_party/wiredtiger/src/evict/evict_page.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/evict/evict_page.c clang -o build/opt/third_party/wiredtiger/src/conn/api_calc_modify.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/api_calc_modify.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_misc.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_misc.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_ckpt.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_ckpt.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_setvbuf.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_setvbuf.c clang -o build/opt/third_party/wiredtiger/src/bloom/bloom.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/bloom/bloom.c clang -o build/opt/third_party/wiredtiger/src/os_common/filename.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/filename.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_table.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_table.c clang -o build/opt/third_party/wiredtiger/src/support/mtx_rw.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/mtx_rw.c clang -o build/opt/third_party/wiredtiger/src/config/config_def.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config_def.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_config.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_config.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_getopt.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_getopt.c clang -o build/opt/third_party/wiredtiger/src/support/stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/stat.c clang -o build/opt/third_party/wiredtiger/src/evict/evict_lru.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/evict/evict_lru.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_nsnap.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_nsnap.c clang -o build/opt/third_party/wiredtiger/src/session/session_dhandle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/session/session_dhandle.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_dhandle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_dhandle.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_rollback_to_stable.c clang -o build/opt/third_party/wiredtiger/src/block/block_ckpt_scan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_ckpt_scan.c clang -o build/opt/third_party/wiredtiger/src/block/block_slvg.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_slvg.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_handle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_handle.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_sweep.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_sweep.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_dir.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_dir.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_fstream_stdio.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_fstream_stdio.c clang -o build/opt/third_party/wiredtiger/src/block/block_ckpt.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_ckpt.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_delete.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_delete.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_bulk.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_bulk.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_write.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_write.c clang -o build/opt/third_party/wiredtiger/src/conn/api_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/api_version.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_rename.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_rename.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_priv.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_priv.c clang -o build/opt/third_party/wiredtiger/src/support/err.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/err.c clang -o build/opt/third_party/wiredtiger/src/support/crypto.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/crypto.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_log.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_log.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_track.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_track.c clang -o build/opt/third_party/wiredtiger/src/log/log_sys.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/log/log_sys.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_getenv.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_getenv.c clang -o build/opt/third_party/wiredtiger/src/block/block_ext.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_ext.c clang -o build/opt/third_party/wiredtiger/src/block/block_vrfy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_vrfy.c clang -o build/opt/third_party/wiredtiger/src/btree/row_srch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/row_srch.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_row.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_row.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_stat.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_meta.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_meta.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_cursor.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_reconfig.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_reconfig.c clang -o build/opt/third_party/wiredtiger/src/conn/api_strerror.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/api_strerror.c clang -o build/opt/third_party/wiredtiger/src/log/log_slot.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/log/log_slot.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_cursor.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_dump.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_dump.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_json.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_json.c clang -o build/opt/third_party/wiredtiger/src/cache/cache_las.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cache/cache_las.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_work_unit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_work_unit.c clang -o build/opt/third_party/wiredtiger/src/btree/row_modify.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/row_modify.c clang -o build/opt/third_party/wiredtiger/src/support/pow.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/pow.c clang -o build/opt/third_party/wiredtiger/src/config/config_collapse.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config_collapse.c clang -o build/opt/third_party/wiredtiger/src/config/config_ext.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config_ext.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_fs.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_fs.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_cache.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_cache.c clang -o build/opt/third_party/wiredtiger/src/async/async_api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/async/async_api.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_metadata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_metadata.c clang -o build/opt/third_party/wiredtiger/src/log/log.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/log/log.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_plan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_plan.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_ext.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_ext.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_join.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_join.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_worker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_worker.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_fs_inmemory.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_fs_inmemory.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_merge.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_merge.c clang -o build/opt/third_party/wiredtiger/src/btree/col_srch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/col_srch.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_rebalance.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_rebalance.c clang -o build/opt/third_party/wiredtiger/src/async/async_worker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/async/async_worker.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_discard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_discard.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_table.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_table.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_open.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_open.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_file.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_file.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_sleep.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_sleep.c Install file: "src/third_party/wiredtiger/src/include/wiredtiger_ext.h" as "build/opt/third_party/wiredtiger/wiredtiger_ext.h" clang -o build/opt/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_split.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_split.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_log.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_log.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_ovfl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_ovfl.c clang -o build/opt/third_party/wiredtiger/src/support/hazard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/hazard.c clang -o build/opt/third_party/wiredtiger/src/txn/txn.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn.c clang -o build/opt/third_party/wiredtiger/src/support/hash_city.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/hash_city.c clang -o build/opt/third_party/wiredtiger/src/packing/pack_impl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/packing/pack_impl.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_compact.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_compact.c clang -o build/opt/third_party/wiredtiger/src/log/log_auto.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/log/log_auto.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_slvg.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_slvg.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_thread.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_thread.c clang -o build/opt/third_party/wiredtiger/src/packing/pack_api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/packing/pack_api.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_yield.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_yield.c clang -o build/opt/third_party/wiredtiger/src/evict/evict_file.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/evict/evict_file.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_worker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_worker.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_ckpt.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_ckpt.c clang -o build/opt/third_party/wiredtiger/src/support/modify.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/modify.c clang -o build/opt/third_party/wiredtiger/src/config/config.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/config/config.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_ckpt.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_ckpt.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_visibility.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_visibility.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_apply.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_apply.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_alter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_alter.c clang -o build/opt/third_party/wiredtiger/src/btree/col_modify.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/col_modify.c clang -o build/opt/third_party/wiredtiger/src/block/block_mgr.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_mgr.c clang -o build/opt/third_party/wiredtiger/src/support/scratch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/scratch.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_backup_incr.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_backup_incr.c clang -o build/opt/third_party/wiredtiger/src/block/block_open.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_open.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_alloc.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_alloc.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_walk.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_walk.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_sync.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_sync.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_import.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_import.c clang -o build/opt/third_party/wiredtiger/src/support/global.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/global.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_stat.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_once.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_once.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_project.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_project.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_time.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_time.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_std.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_std.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_curprev.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_curprev.c clang -o build/opt/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.c clang -o build/opt/third_party/wiredtiger/src/os_common/os_fstream.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_common/os_fstream.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_ret.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_ret.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_cache_pool.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_cache_pool.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_log.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_log.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_util.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_util.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_index.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_index.c clang -o build/opt/third_party/wiredtiger/src/meta/meta_turtle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/meta/meta_turtle.c clang -o build/opt/third_party/wiredtiger/src/btree/row_key.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/row_key.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_map.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_map.c clang -o build/opt/third_party/wiredtiger/src/support/hex.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/hex.c clang -o build/opt/third_party/wiredtiger/src/session/session_api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/session/session_api.c clang -o build/opt/third_party/wiredtiger/src/support/huffman.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/huffman.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_open.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_open.c clang -o build/opt/third_party/wiredtiger/src/packing/pack_stream.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/packing/pack_stream.c clang -o build/opt/third_party/wiredtiger/src/session/session_compact.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/session/session_compact.c clang -o build/opt/third_party/wiredtiger/src/os_posix/os_fallocate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/os_posix/os_fallocate.c clang -o build/opt/third_party/wiredtiger/src/cursor/cur_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/cursor/cur_stat.c clang -o build/opt/third_party/wiredtiger/src/support/rand.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/rand.c clang -o build/opt/third_party/wiredtiger/src/support/cond_auto.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/support/cond_auto.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_tree.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_tree.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_recover.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_recover.c clang -o build/opt/third_party/wiredtiger/src/lsm/lsm_manager.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/lsm/lsm_manager.c clang -o build/opt/third_party/wiredtiger/src/block/block_map.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_map.c clang -o build/opt/third_party/wiredtiger/src/reconcile/rec_col.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/reconcile/rec_col.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_io.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_io.c clang -o build/opt/third_party/wiredtiger/src/block/block_write.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/block/block_write.c clang -o build/opt/third_party/wiredtiger/src/schema/schema_list.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/schema/schema_list.c clang -o build/opt/third_party/wiredtiger/src/txn/txn_ext.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/txn/txn_ext.c clang -o build/opt/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.c clang -o build/opt/third_party/wiredtiger/src/conn/conn_stat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/conn/conn_stat.c clang -o build/opt/third_party/wiredtiger/src/btree/bt_huffman.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_X86INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_darwin -Isrc/third_party/wiredtiger/build_darwin src/third_party/wiredtiger/src/btree/bt_huffman.c 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 -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 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 -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 /usr/bin/libtool -static -o build/opt/third_party/wiredtiger/libwiredtiger.a -s -no_warning_for_no_symbols build/opt/third_party/wiredtiger/src/async/async_api.o build/opt/third_party/wiredtiger/src/async/async_op.o build/opt/third_party/wiredtiger/src/async/async_worker.o build/opt/third_party/wiredtiger/src/block/block_addr.o build/opt/third_party/wiredtiger/src/block/block_ckpt.o build/opt/third_party/wiredtiger/src/block/block_ckpt_scan.o build/opt/third_party/wiredtiger/src/block/block_compact.o build/opt/third_party/wiredtiger/src/block/block_ext.o build/opt/third_party/wiredtiger/src/block/block_map.o build/opt/third_party/wiredtiger/src/block/block_mgr.o build/opt/third_party/wiredtiger/src/block/block_open.o build/opt/third_party/wiredtiger/src/block/block_read.o build/opt/third_party/wiredtiger/src/block/block_session.o build/opt/third_party/wiredtiger/src/block/block_slvg.o build/opt/third_party/wiredtiger/src/block/block_vrfy.o build/opt/third_party/wiredtiger/src/block/block_write.o build/opt/third_party/wiredtiger/src/bloom/bloom.o build/opt/third_party/wiredtiger/src/btree/bt_compact.o build/opt/third_party/wiredtiger/src/btree/bt_curnext.o build/opt/third_party/wiredtiger/src/btree/bt_curprev.o build/opt/third_party/wiredtiger/src/btree/bt_cursor.o build/opt/third_party/wiredtiger/src/btree/bt_debug.o build/opt/third_party/wiredtiger/src/btree/bt_delete.o build/opt/third_party/wiredtiger/src/btree/bt_discard.o build/opt/third_party/wiredtiger/src/btree/bt_handle.o build/opt/third_party/wiredtiger/src/btree/bt_huffman.o build/opt/third_party/wiredtiger/src/btree/bt_import.o build/opt/third_party/wiredtiger/src/btree/bt_io.o build/opt/third_party/wiredtiger/src/btree/bt_misc.o build/opt/third_party/wiredtiger/src/btree/bt_ovfl.o build/opt/third_party/wiredtiger/src/btree/bt_page.o build/opt/third_party/wiredtiger/src/btree/bt_random.o build/opt/third_party/wiredtiger/src/btree/bt_read.o build/opt/third_party/wiredtiger/src/btree/bt_rebalance.o build/opt/third_party/wiredtiger/src/btree/bt_ret.o build/opt/third_party/wiredtiger/src/btree/bt_slvg.o build/opt/third_party/wiredtiger/src/btree/bt_split.o build/opt/third_party/wiredtiger/src/btree/bt_stat.o build/opt/third_party/wiredtiger/src/btree/bt_sync.o build/opt/third_party/wiredtiger/src/btree/bt_upgrade.o build/opt/third_party/wiredtiger/src/btree/bt_vrfy.o build/opt/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o build/opt/third_party/wiredtiger/src/btree/bt_walk.o build/opt/third_party/wiredtiger/src/btree/col_modify.o build/opt/third_party/wiredtiger/src/btree/col_srch.o build/opt/third_party/wiredtiger/src/btree/row_key.o build/opt/third_party/wiredtiger/src/btree/row_modify.o build/opt/third_party/wiredtiger/src/btree/row_srch.o build/opt/third_party/wiredtiger/src/cache/cache_las.o build/opt/third_party/wiredtiger/src/config/config.o build/opt/third_party/wiredtiger/src/config/config_api.o build/opt/third_party/wiredtiger/src/config/config_check.o build/opt/third_party/wiredtiger/src/config/config_collapse.o build/opt/third_party/wiredtiger/src/config/config_def.o build/opt/third_party/wiredtiger/src/config/config_ext.o build/opt/third_party/wiredtiger/src/conn/api_calc_modify.o build/opt/third_party/wiredtiger/src/conn/api_strerror.o build/opt/third_party/wiredtiger/src/conn/api_version.o build/opt/third_party/wiredtiger/src/conn/conn_api.o build/opt/third_party/wiredtiger/src/conn/conn_cache.o build/opt/third_party/wiredtiger/src/conn/conn_cache_pool.o build/opt/third_party/wiredtiger/src/conn/conn_capacity.o build/opt/third_party/wiredtiger/src/conn/conn_ckpt.o build/opt/third_party/wiredtiger/src/conn/conn_dhandle.o build/opt/third_party/wiredtiger/src/conn/conn_handle.o build/opt/third_party/wiredtiger/src/conn/conn_log.o build/opt/third_party/wiredtiger/src/conn/conn_open.o build/opt/third_party/wiredtiger/src/conn/conn_reconfig.o build/opt/third_party/wiredtiger/src/conn/conn_stat.o build/opt/third_party/wiredtiger/src/conn/conn_sweep.o build/opt/third_party/wiredtiger/src/cursor/cur_backup.o build/opt/third_party/wiredtiger/src/cursor/cur_backup_incr.o build/opt/third_party/wiredtiger/src/cursor/cur_bulk.o build/opt/third_party/wiredtiger/src/cursor/cur_config.o build/opt/third_party/wiredtiger/src/cursor/cur_ds.o build/opt/third_party/wiredtiger/src/cursor/cur_dump.o build/opt/third_party/wiredtiger/src/cursor/cur_file.o build/opt/third_party/wiredtiger/src/cursor/cur_index.o build/opt/third_party/wiredtiger/src/cursor/cur_join.o build/opt/third_party/wiredtiger/src/cursor/cur_json.o build/opt/third_party/wiredtiger/src/cursor/cur_log.o build/opt/third_party/wiredtiger/src/cursor/cur_metadata.o build/opt/third_party/wiredtiger/src/cursor/cur_stat.o build/opt/third_party/wiredtiger/src/cursor/cur_std.o build/opt/third_party/wiredtiger/src/cursor/cur_table.o build/opt/third_party/wiredtiger/src/evict/evict_file.o build/opt/third_party/wiredtiger/src/evict/evict_lru.o build/opt/third_party/wiredtiger/src/evict/evict_page.o build/opt/third_party/wiredtiger/src/evict/evict_stat.o build/opt/third_party/wiredtiger/src/log/log.o build/opt/third_party/wiredtiger/src/log/log_auto.o build/opt/third_party/wiredtiger/src/log/log_slot.o build/opt/third_party/wiredtiger/src/log/log_sys.o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor.o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o build/opt/third_party/wiredtiger/src/lsm/lsm_manager.o build/opt/third_party/wiredtiger/src/lsm/lsm_merge.o build/opt/third_party/wiredtiger/src/lsm/lsm_meta.o build/opt/third_party/wiredtiger/src/lsm/lsm_stat.o build/opt/third_party/wiredtiger/src/lsm/lsm_tree.o build/opt/third_party/wiredtiger/src/lsm/lsm_work_unit.o build/opt/third_party/wiredtiger/src/lsm/lsm_worker.o build/opt/third_party/wiredtiger/src/meta/meta_apply.o build/opt/third_party/wiredtiger/src/meta/meta_ckpt.o build/opt/third_party/wiredtiger/src/meta/meta_ext.o build/opt/third_party/wiredtiger/src/meta/meta_table.o build/opt/third_party/wiredtiger/src/meta/meta_track.o build/opt/third_party/wiredtiger/src/meta/meta_turtle.o build/opt/third_party/wiredtiger/src/optrack/optrack.o build/opt/third_party/wiredtiger/src/os_common/filename.o build/opt/third_party/wiredtiger/src/os_common/os_abort.o build/opt/third_party/wiredtiger/src/os_common/os_alloc.o build/opt/third_party/wiredtiger/src/os_common/os_errno.o build/opt/third_party/wiredtiger/src/os_common/os_fhandle.o build/opt/third_party/wiredtiger/src/os_common/os_fs_inmemory.o build/opt/third_party/wiredtiger/src/os_common/os_fstream.o build/opt/third_party/wiredtiger/src/os_common/os_fstream_stdio.o build/opt/third_party/wiredtiger/src/os_common/os_getopt.o build/opt/third_party/wiredtiger/src/os_common/os_strtouq.o build/opt/third_party/wiredtiger/src/os_posix/os_dir.o build/opt/third_party/wiredtiger/src/os_posix/os_dlopen.o build/opt/third_party/wiredtiger/src/os_posix/os_fallocate.o build/opt/third_party/wiredtiger/src/os_posix/os_fs.o build/opt/third_party/wiredtiger/src/os_posix/os_getenv.o build/opt/third_party/wiredtiger/src/os_posix/os_map.o build/opt/third_party/wiredtiger/src/os_posix/os_mtx_cond.o build/opt/third_party/wiredtiger/src/os_posix/os_once.o build/opt/third_party/wiredtiger/src/os_posix/os_pagesize.o build/opt/third_party/wiredtiger/src/os_posix/os_path.o build/opt/third_party/wiredtiger/src/os_posix/os_priv.o build/opt/third_party/wiredtiger/src/os_posix/os_setvbuf.o build/opt/third_party/wiredtiger/src/os_posix/os_sleep.o build/opt/third_party/wiredtiger/src/os_posix/os_snprintf.o build/opt/third_party/wiredtiger/src/os_posix/os_thread.o build/opt/third_party/wiredtiger/src/os_posix/os_time.o build/opt/third_party/wiredtiger/src/os_posix/os_yield.o build/opt/third_party/wiredtiger/src/packing/pack_api.o build/opt/third_party/wiredtiger/src/packing/pack_impl.o build/opt/third_party/wiredtiger/src/packing/pack_stream.o build/opt/third_party/wiredtiger/src/reconcile/rec_child.o build/opt/third_party/wiredtiger/src/reconcile/rec_col.o build/opt/third_party/wiredtiger/src/reconcile/rec_dictionary.o build/opt/third_party/wiredtiger/src/reconcile/rec_row.o build/opt/third_party/wiredtiger/src/reconcile/rec_track.o build/opt/third_party/wiredtiger/src/reconcile/rec_visibility.o build/opt/third_party/wiredtiger/src/reconcile/rec_write.o build/opt/third_party/wiredtiger/src/schema/schema_alter.o build/opt/third_party/wiredtiger/src/schema/schema_create.o build/opt/third_party/wiredtiger/src/schema/schema_drop.o build/opt/third_party/wiredtiger/src/schema/schema_list.o build/opt/third_party/wiredtiger/src/schema/schema_open.o build/opt/third_party/wiredtiger/src/schema/schema_plan.o build/opt/third_party/wiredtiger/src/schema/schema_project.o build/opt/third_party/wiredtiger/src/schema/schema_rename.o build/opt/third_party/wiredtiger/src/schema/schema_stat.o build/opt/third_party/wiredtiger/src/schema/schema_truncate.o build/opt/third_party/wiredtiger/src/schema/schema_util.o build/opt/third_party/wiredtiger/src/schema/schema_worker.o build/opt/third_party/wiredtiger/src/session/session_api.o build/opt/third_party/wiredtiger/src/session/session_compact.o build/opt/third_party/wiredtiger/src/session/session_dhandle.o build/opt/third_party/wiredtiger/src/support/cond_auto.o build/opt/third_party/wiredtiger/src/support/crypto.o build/opt/third_party/wiredtiger/src/support/err.o build/opt/third_party/wiredtiger/src/support/generation.o build/opt/third_party/wiredtiger/src/support/global.o build/opt/third_party/wiredtiger/src/support/hash_city.o build/opt/third_party/wiredtiger/src/support/hash_fnv.o build/opt/third_party/wiredtiger/src/support/hazard.o build/opt/third_party/wiredtiger/src/support/hex.o build/opt/third_party/wiredtiger/src/support/huffman.o build/opt/third_party/wiredtiger/src/support/modify.o build/opt/third_party/wiredtiger/src/support/mtx_rw.o build/opt/third_party/wiredtiger/src/support/pow.o build/opt/third_party/wiredtiger/src/support/rand.o build/opt/third_party/wiredtiger/src/support/scratch.o build/opt/third_party/wiredtiger/src/support/stat.o build/opt/third_party/wiredtiger/src/support/thread_group.o build/opt/third_party/wiredtiger/src/txn/txn.o build/opt/third_party/wiredtiger/src/txn/txn_ckpt.o build/opt/third_party/wiredtiger/src/txn/txn_ext.o build/opt/third_party/wiredtiger/src/txn/txn_log.o build/opt/third_party/wiredtiger/src/txn/txn_nsnap.o build/opt/third_party/wiredtiger/src/txn/txn_recover.o build/opt/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o build/opt/third_party/wiredtiger/src/txn/txn_timestamp.o build/opt/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o build/opt/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o build/opt/third_party/wiredtiger/ext/compressors/zstd/zstd_compress.o Skipping ranlib for libtool generated target build/opt/third_party/wiredtiger/libwiredtiger.a 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 -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 clang++ -o build/opt/mongo/util/safe_num.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/safe_num.cpp 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 -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 /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/repl/repl_set_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 -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/repl_set_commands.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libsafe_num.a -s -no_warning_for_no_symbols build/opt/mongo/util/safe_num.o Skipping ranlib for libtool generated target build/opt/mongo/util/libsafe_num.a clang++ -o build/opt/mongo/db/repl/repl_set_request_votes.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_request_votes.cpp 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/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{}; \ ^ ~~ In file included from src/mongo/db/repl/repl_set_commands.cpp:38: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_commands.cpp:38: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_request_votes.cpp:35: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_commands.cpp:45: 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/repl_set_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/repl/repl_set_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{}; \ ^ ~~ In file included from src/mongo/db/repl/repl_set_request_votes.cpp:35: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_commands.cpp:58: 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 { ^ 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/storage/biggie/biggie_record_store.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_record_store.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/storage/biggie/biggie_kv_engine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_kv_engine.cpp 6 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librepl_set_commands.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/repl_set_commands.o build/opt/mongo/db/repl/repl_set_request_votes.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librepl_set_commands.a clang++ -o build/opt/mongo/db/storage/biggie/biggie_recovery_unit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_recovery_unit.cpp clang++ -o build/opt/mongo/db/storage/biggie/biggie_sorted_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 -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_sorted_impl.cpp clang++ -o build/opt/mongo/db/storage/biggie/biggie_visibility_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 -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_visibility_manager.cpp In file included from src/mongo/db/storage/biggie/biggie_recovery_unit.cpp:36: 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/storage/biggie/biggie_recovery_unit.cpp:36: 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{}; \ ^ ~~ 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 -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 clang++ -o build/opt/mongo/executor/thread_pool_task_executor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/thread_pool_task_executor.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/biggie/libstorage_biggie_core.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/biggie/biggie_kv_engine.o build/opt/mongo/db/storage/biggie/biggie_record_store.o build/opt/mongo/db/storage/biggie/biggie_recovery_unit.o build/opt/mongo/db/storage/biggie/biggie_sorted_impl.o build/opt/mongo/db/storage/biggie/biggie_visibility_manager.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/biggie/libstorage_biggie_core.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 -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 /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 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 clang++ -o build/opt/mongo/util/net/private/socket_poll.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/private/socket_poll.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/util/net/sock.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sock.cpp clang++ -o build/opt/mongo/db/query/collation/collator_factory_icu_decoration.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/collation/collator_factory_icu_decoration.cpp /usr/bin/libtool -static -o build/opt/mongo/executor/libthread_pool_task_executor.a -s -no_warning_for_no_symbols build/opt/mongo/executor/thread_pool_task_executor.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libthread_pool_task_executor.a /usr/bin/libtool -static -o build/opt/mongo/db/query/collation/libcollator_factory_icu.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/collation/collator_factory_icu_decoration.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/collation/libcollator_factory_icu.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/transport/service_executor_gen.h --output build/opt/mongo/transport/service_executor_gen.cpp src/mongo/transport/service_executor.idl /usr/bin/libtool -static -o build/opt/mongo/util/net/libsocket.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/private/socket_poll.o build/opt/mongo/util/net/sock.o Skipping ranlib for libtool generated target build/opt/mongo/util/net/libsocket.a clang++ -o build/opt/mongo/db/write_concern_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 -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/write_concern_options.cpp clang++ -o build/opt/mongo/transport/service_executor_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 -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/transport/service_executor_gen.cpp clang++ -o build/opt/mongo/transport/service_executor_adaptive.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/transport/service_executor_adaptive.cpp In file included from build/opt/mongo/transport/service_executor_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/libwrite_concern_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/write_concern_options.o Skipping ranlib for libtool generated target build/opt/mongo/db/libwrite_concern_options.a clang++ -o build/opt/mongo/transport/service_executor_synchronous.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/transport/service_executor_synchronous.cpp In file included from build/opt/mongo/transport/service_executor_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/transport/service_executor_reserved.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/transport/service_executor_reserved.cpp 2 warnings generated. clang++ -o build/opt/mongo/util/ntservice.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ntservice.cpp clang++ -o build/opt/third_party/shim_mozjs.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_mozjs.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libntservice.a -s -no_warning_for_no_symbols build/opt/mongo/util/ntservice.o /usr/bin/libtool -static -o build/opt/third_party/libshim_mozjs.a -s -no_warning_for_no_symbols build/opt/third_party/shim_mozjs.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/util/libntservice.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/libntservice.a clang++ -o build/opt/mongo/db/audit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/audit.cpp warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_mozjs.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_mozjs.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 -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 /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 clang++ -o build/opt/mongo/db/commands/server_status_metric.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/server_status_metric.cpp /usr/bin/libtool -static -o build/opt/mongo/transport/libservice_executor.a -s -no_warning_for_no_symbols build/opt/mongo/transport/service_executor_adaptive.o build/opt/mongo/transport/service_executor_reserved.o build/opt/mongo/transport/service_executor_synchronous.o build/opt/mongo/transport/service_executor_gen.o Skipping ranlib for libtool generated target build/opt/mongo/transport/libservice_executor.a clang++ -o build/opt/mongo/db/commands/server_status_internal.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/server_status_internal.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /usr/bin/libtool -static -o build/opt/mongo/db/libaudit.a -s -no_warning_for_no_symbols build/opt/mongo/db/audit.o Skipping ranlib for libtool generated target build/opt/mongo/db/libaudit.a clang++ -o build/opt/mongo/db/pipeline/accumulator_first.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_first.cpp clang++ -o build/opt/mongo/rpc/metadata/impersonated_user_metadata_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 -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/rpc/metadata/impersonated_user_metadata_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/commands/libserver_status_core.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/server_status_internal.o build/opt/mongo/db/commands/server_status_metric.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libserver_status_core.a clang++ -o build/opt/mongo/rpc/metadata/impersonated_user_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 -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/impersonated_user_metadata.cpp In file included from src/mongo/db/pipeline/accumulator_first.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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 build/opt/mongo/rpc/metadata/impersonated_user_metadata_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/pipeline/accumulator_first.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from build/opt/mongo/rpc/metadata/impersonated_user_metadata_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/rpc/metadata/impersonated_user_metadata.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/rpc/metadata/impersonated_user_metadata.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{}; \ ^ ~~ 2 warnings generated. In file included from src/mongo/rpc/metadata/impersonated_user_metadata.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/db/pipeline/accumulator_add_to_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 -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/accumulator_add_to_set.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/pipeline/accumulator_last.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_last.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/rpc/libmetadata_impersonated_user.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/metadata/impersonated_user_metadata.o build/opt/mongo/rpc/metadata/impersonated_user_metadata_gen.o Skipping ranlib for libtool generated target build/opt/mongo/rpc/libmetadata_impersonated_user.a clang++ -o build/opt/mongo/db/pipeline/accumulation_statement.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulation_statement.cpp In file included from src/mongo/db/pipeline/accumulator_add_to_set.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_add_to_set.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/accumulator_last.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_last.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_merge_objects.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_merge_objects.cpp In file included from src/mongo/db/pipeline/accumulation_statement.cpp:34: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulation_statement.cpp:34: In file included from src/mongo/db/pipeline/accumulation_statement.h:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_sum.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_sum.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/accumulator_min_max.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_min_max.cpp In file included from src/mongo/db/pipeline/accumulator_merge_objects.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_merge_objects.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/accumulator_sum.cpp:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_sum.cpp:35: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/accumulator_min_max.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_min_max.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_std_dev.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_std_dev.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/accumulator_avg.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_avg.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/accumulator_push.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/accumulator_push.cpp In file included from src/mongo/db/pipeline/accumulator_std_dev.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_std_dev.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/accumulator_avg.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_avg.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/pipeline/accumulator_push.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/accumulator_push.cpp:32: In file included from src/mongo/db/pipeline/accumulator.h:40: 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/concurrency/deferred_writer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/deferred_writer.cpp 2 warnings generated. 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/util/libdebugger.a -s -no_warning_for_no_symbols build/opt/mongo/util/debugger.o /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libaccumulator.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/accumulation_statement.o build/opt/mongo/db/pipeline/accumulator_add_to_set.o build/opt/mongo/db/pipeline/accumulator_avg.o build/opt/mongo/db/pipeline/accumulator_first.o build/opt/mongo/db/pipeline/accumulator_last.o build/opt/mongo/db/pipeline/accumulator_min_max.o build/opt/mongo/db/pipeline/accumulator_push.o build/opt/mongo/db/pipeline/accumulator_std_dev.o build/opt/mongo/db/pipeline/accumulator_sum.o build/opt/mongo/db/pipeline/accumulator_merge_objects.o Skipping ranlib for libtool generated target build/opt/mongo/util/libdebugger.a clang++ -o build/opt/mongo/db/snapshot_window_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 -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_util.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libaccumulator.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 -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 In file included from src/mongo/db/concurrency/deferred_writer.cpp:32: In file included from src/mongo/db/concurrency/deferred_writer.h:32: 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/concurrency/deferred_writer.cpp:32: In file included from src/mongo/db/concurrency/deferred_writer.h:32: 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/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 -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/libsnapshot_window_util.a -s -no_warning_for_no_symbols build/opt/mongo/db/snapshot_window_util.o Skipping ranlib for libtool generated target build/opt/mongo/db/libsnapshot_window_util.a clang++ -o build/opt/mongo/client/query.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query.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/repl/oplog_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 -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_entry.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/concurrency/libdeferred_writer.a -s -no_warning_for_no_symbols build/opt/mongo/db/concurrency/deferred_writer.o Skipping ranlib for libtool generated target build/opt/mongo/db/concurrency/libdeferred_writer.a clang++ -o build/opt/mongo/db/repl/oplog_entry_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 -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/repl/oplog_entry_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/client/libclient_query.a -s -no_warning_for_no_symbols build/opt/mongo/client/query.o Skipping ranlib for libtool generated target build/opt/mongo/client/libclient_query.a clang++ -o build/opt/mongo/db/update/update_driver.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_driver.cpp In file included from build/opt/mongo/db/repl/oplog_entry_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/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 -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 In file included from build/opt/mongo/db/repl/oplog_entry_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/update/update_driver.cpp:30: In file included from src/mongo/db/update/update_driver.h:41: 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/db/update/update_driver.cpp:30: In file included from src/mongo/db/update/update_driver.h:41: 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{}; \ ^ ~~ 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_entry.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_entry.o build/opt/mongo/db/repl/oplog_entry_gen.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: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/db/repl/liboplog_entry.a clang++ -o build/opt/mongo/db/index_build_entry_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 -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_build_entry_helpers.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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/update/libupdate_driver.a -s -no_warning_for_no_symbols build/opt/mongo/db/update/update_driver.o Skipping ranlib for libtool generated target build/opt/mongo/db/update/libupdate_driver.a 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 -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 In file included from src/mongo/db/index_build_entry_helpers.cpp:42: In file included from src/mongo/db/catalog/database_impl.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/db/index_build_entry_helpers.cpp:42: In file included from src/mongo/db/catalog/database_impl.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/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{}; \ ^ ~~ 3 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 -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 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/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 -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/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 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. 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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/db/libindex_build_entry_helpers.a -s -no_warning_for_no_symbols build/opt/mongo/db/index_build_entry_helpers.o Skipping ranlib for libtool generated target build/opt/mongo/db/libindex_build_entry_helpers.a 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 -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 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{}; \ ^ ~~ 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 -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/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 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{}; \ ^ ~~ 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/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{}; \ ^ ~~ 2 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 -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 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 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{}; \ ^ ~~ 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/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{}; \ ^ ~~ 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/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 -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 3 warnings generated. 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 -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 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 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 -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 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/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 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 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 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 -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/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{}; \ ^ ~~ 3 warnings generated. 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 -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 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 -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 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 -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 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 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{}; \ ^ ~~ 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 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/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 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{}; \ ^ ~~ 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 -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 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 -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/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 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/util/processinfo.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/processinfo.cpp 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/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/util/processinfo_macOS.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/processinfo_macOS.cpp clang++ -o build/opt/mongo/db/commands/kill_op_cmd_base.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_op_cmd_base.cpp 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/commands/killcursors_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 -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/killcursors_common.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libprocessinfo.a -s -no_warning_for_no_symbols build/opt/mongo/util/processinfo.o build/opt/mongo/util/processinfo_macOS.o Skipping ranlib for libtool generated target build/opt/mongo/util/libprocessinfo.a clang++ -o build/opt/mongo/s/query/cluster_cursor_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 -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_manager.cpp In file included from src/mongo/db/commands/kill_op_cmd_base.cpp:32: In file included from src/mongo/db/commands/kill_op_cmd_base.h:30: 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_op_cmd_base.cpp:32: In file included from src/mongo/db/commands/kill_op_cmd_base.h:30: 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/killcursors_common.cpp:32: In file included from src/mongo/db/commands/killcursors_common.h:30: 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_op_cmd_base.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/commands/kill_op_cmd_base.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/kill_op_cmd_base.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/killcursors_common.cpp:32: In file included from src/mongo/db/commands/killcursors_common.h:30: 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/query/cluster_cursor_manager.cpp:34: 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_manager.cpp:34: 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{}; \ ^ ~~ In file included from src/mongo/db/commands/killcursors_common.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/db/commands/killcursors_common.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/db/commands/killcursors_common.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/s/query/cluster_cursor_manager.cpp:38: In file included from src/mongo/db/kill_sessions_common.h: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/s/query/cluster_cursor_manager.cpp:38: In file included from src/mongo/db/kill_sessions_common.h: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/s/query/cluster_cursor_manager.cpp:38: In file included from src/mongo/db/kill_sessions_common.h: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{}; \ ^ ~~ 5 warnings generated. 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 -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 /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 Skipping ranlib for libtool generated target build/opt/mongo/db/libcommand_generic_argument.a 5 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /usr/bin/libtool -static -o build/opt/mongo/db/commands/libkill_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/killcursors_common.o build/opt/mongo/db/commands/kill_op_cmd_base.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libkill_common.a clang++ -o build/opt/mongo/client/read_preference_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 -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/client/read_preference_gen.cpp clang++ -o build/opt/mongo/db/logical_time_validator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_time_validator.cpp In file included from build/opt/mongo/client/read_preference_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/logical_time_validator.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/logical_time_validator.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/logical_time_validator.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{}; \ ^ ~~ 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_cursor_manager.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_cursor_manager.o In file included from build/opt/mongo/client/read_preference_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{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_cursor_manager.a clang++ -o build/opt/mongo/client/read_preference.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/read_preference.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_time_validator.a -s -no_warning_for_no_symbols build/opt/mongo/db/logical_time_validator.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_time_validator.a clang++ -o build/opt/mongo/db/repl/initial_syncer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/initial_syncer.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/transaction_participant_gen.h --output build/opt/mongo/db/transaction_participant_gen.cpp src/mongo/db/transaction_participant.idl In file included from src/mongo/db/repl/initial_syncer.cpp:34: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:39: In file included from src/mongo/client/dbclient_connection.h:36: 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 clang++ -o build/opt/mongo/db/repl/sync_tail.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sync_tail.cpp /usr/bin/libtool -static -o build/opt/mongo/client/libread_preference.a -s -no_warning_for_no_symbols build/opt/mongo/client/read_preference.o build/opt/mongo/client/read_preference_gen.o Skipping ranlib for libtool generated target build/opt/mongo/client/libread_preference.a clang++ -o build/opt/mongo/db/repl/session_update_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 -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/session_update_tracker.cpp In file included from src/mongo/db/repl/initial_syncer.cpp:34: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/repl/sync_tail.cpp:34: In file included from src/mongo/db/repl/sync_tail.h:39: 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/session_update_tracker.cpp:41: In file included from build/opt/mongo/db/transaction_participant_gen.h:21: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/db/repl/sync_tail.cpp:34: In file included from src/mongo/db/repl/sync_tail.h:39: 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/session_update_tracker.cpp:41: In file included from build/opt/mongo/db/transaction_participant_gen.h:21: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/repl/sync_tail.cpp:65: 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 { ^ 2 warnings generated. clang++ -o build/opt/mongo/db/repl/applier_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 -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/applier_helpers.cpp In file included from src/mongo/db/repl/applier_helpers.cpp:34: In file included from src/mongo/db/repl/applier_helpers.h:35: In file included from src/mongo/db/repl/sync_tail.h:39: 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/applier_helpers.cpp:34: In file included from src/mongo/db/repl/applier_helpers.h:35: In file included from src/mongo/db/repl/sync_tail.h:39: 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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/repl/oplog_applier_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 -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_impl.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libinitial_syncer.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/initial_syncer.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libinitial_syncer.a clang++ -o build/opt/third_party/s2/strings/split.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/strings/split.cc In file included from src/mongo/db/repl/oplog_applier_impl.cpp:32: In file included from src/mongo/db/repl/oplog_applier_impl.h:33: 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 2 warnings generated. clang++ -o build/opt/third_party/s2/strings/strutil.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/strings/strutil.cc In file included from src/mongo/db/repl/oplog_applier_impl.cpp:32: In file included from src/mongo/db/repl/oplog_applier_impl.h:33: 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{}; \ ^ ~~ clang++ -o build/opt/third_party/s2/strings/stringprintf.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/strings/stringprintf.cc /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /usr/bin/libtool -static -o build/opt/third_party/s2/strings/libstrings.a -s -no_warning_for_no_symbols build/opt/third_party/s2/strings/split.o build/opt/third_party/s2/strings/stringprintf.o build/opt/third_party/s2/strings/strutil.o Skipping ranlib for libtool generated target build/opt/third_party/s2/strings/libstrings.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 -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 clang++ -o build/opt/mongo/db/commands/feature_compatibility_version_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 -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/feature_compatibility_version_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_application.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/applier_helpers.o build/opt/mongo/db/repl/oplog_applier_impl.o build/opt/mongo/db/repl/session_update_tracker.o build/opt/mongo/db/repl/sync_tail.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_application.a clang++ -o build/opt/mongo/db/commands/feature_compatibility_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/feature_compatibility_version.cpp 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 src/mongo/db/commands/feature_compatibility_version.cpp:34: In file included from src/mongo/db/commands/feature_compatibility_version.h:35: 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 build/opt/mongo/db/commands/feature_compatibility_version_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/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{}; \ ^ ~~ In file included from build/opt/mongo/db/commands/feature_compatibility_version_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/feature_compatibility_version.cpp:34: In file included from src/mongo/db/commands/feature_compatibility_version.h:35: 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. clang++ -o build/opt/mongo/db/logical_session_cache_factory_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 -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/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_factory_mongod.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libmongod_fcv.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/feature_compatibility_version.o build/opt/mongo/db/commands/feature_compatibility_version_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libmongod_fcv.a clang++ -o build/opt/mongo/db/query/find_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 -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/query/find_common.cpp 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 clang++ -o build/opt/mongo/db/query/explain_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 -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/query/explain_common.cpp In file included from src/mongo/db/logical_session_cache_factory_mongod.cpp:40: 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 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_session_cache_factory_mongod.a -s -no_warning_for_no_symbols build/opt/mongo/db/logical_session_cache_factory_mongod.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_session_cache_factory_mongod.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/query/distinct_command_gen.h --output build/opt/mongo/db/query/distinct_command_gen.cpp src/mongo/db/query/distinct_command.idl In file included from src/mongo/db/query/find_common.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 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 -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/db/query/parsed_distinct.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/parsed_distinct.cpp In file included from src/mongo/db/query/find_common.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{}; \ ^ ~~ 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 -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/query/parsed_distinct.cpp:32: In file included from src/mongo/db/query/parsed_distinct.h:36: 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/query/parsed_distinct.cpp:32: In file included from src/mongo/db/query/parsed_distinct.h:36: 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/third_party/shim_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 -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_snappy.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_snappy.a -s -no_warning_for_no_symbols build/opt/third_party/shim_snappy.o /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 warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_snappy.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_snappy.a Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libdist_lock_manager.a clang++ -o build/opt/mongo/db/ops/parsed_update.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_update.cpp clang++ -o build/opt/mongo/db/commands/list_collections_filter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/list_collections_filter.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/query/libquery_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/explain_common.o build/opt/mongo/db/query/find_common.o build/opt/mongo/db/query/parsed_distinct.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libquery_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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/commands/liblist_collections_filter.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/list_collections_filter.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/liblist_collections_filter.a 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 -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 In file included from src/mongo/db/ops/parsed_update.cpp:32: In file included from src/mongo/db/ops/parsed_update.h:33: 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/ops/parsed_update.cpp:32: In file included from src/mongo/db/ops/parsed_update.h:33: 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/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 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{}; \ ^ ~~ 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/ops/libparsed_update.a -s -no_warning_for_no_symbols build/opt/mongo/db/ops/parsed_update.o 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 { ^ Skipping ranlib for libtool generated target build/opt/mongo/db/ops/libparsed_update.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/image_collection_entry_gen.h --output build/opt/mongo/db/repl/image_collection_entry_gen.cpp src/mongo/db/repl/image_collection_entry.idl clang++ -o build/opt/mongo/db/op_observer_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 -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/op_observer_impl.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/reporter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/reporter.cpp In file included from src/mongo/db/op_observer_impl.cpp: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 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/storage/duplicate_key_error_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 -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/duplicate_key_error_info.cpp In file included from src/mongo/db/op_observer_impl.cpp: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{}; \ ^ ~~ In file included from src/mongo/db/op_observer_impl.cpp:61: 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 { ^ /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreporter.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/reporter.o /usr/bin/libtool -static -o build/opt/mongo/db/storage/libduplicate_key_error_info.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/duplicate_key_error_info.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreporter.a Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libduplicate_key_error_info.a 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 -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/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 -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 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 /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/net/http_client_curl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/http_client_curl.cpp 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{}; \ ^ ~~ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libop_observer_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/op_observer_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/libop_observer_impl.a clang++ -o build/opt/mongo/s/catalog/sharding_catalog_client_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 -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/sharding_catalog_client_impl.cpp In file included from src/mongo/util/net/http_client_curl.cpp:49: 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/util/net/http_client_curl.cpp:49: 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/s/catalog/sharding_catalog_client_impl.cpp: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 In file included from src/mongo/s/catalog/sharding_catalog_client_impl.cpp: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{}; \ ^ ~~ 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/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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/util/net/libhttp_client_impl.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/http_client_curl.o Skipping ranlib for libtool generated target build/opt/mongo/util/net/libhttp_client_impl.a clang++ -o build/opt/mongo/db/pipeline/dependencies.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dependencies.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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/sharding_catalog_client_impl.o Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libdependencies.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/dependencies.o /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 Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libdependencies.a 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 clang++ -o build/opt/mongo/db/repl/oplog_fetcher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_fetcher.cpp clang++ -o build/opt/mongo/db/service_entry_point_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 -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/service_entry_point_common.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/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 -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/service_entry_point_common.cpp:34: In file included from src/mongo/db/service_entry_point_common.h: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/repl/oplog_fetcher.cpp:34: In file included from src/mongo/db/repl/oplog_fetcher.h:36: 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/oplog_fetcher.cpp:34: In file included from src/mongo/db/repl/oplog_fetcher.h:36: 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{}; \ ^ ~~ In file included from src/mongo/db/service_entry_point_common.cpp:34: In file included from src/mongo/db/service_entry_point_common.h: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 src/mongo/db/service_entry_point_common.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/service_entry_point_common.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/service_entry_point_common.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/db/service_entry_point_common.cpp:64: 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/service_entry_point_common.cpp:64: 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/service_entry_point_common.cpp:64: 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/service_entry_point_common.cpp:75: 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{}; \ ^ ~~ 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_fetcher.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_fetcher.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_fetcher.a clang++ -o build/opt/mongo/db/pipeline/parsed_aggregation_projection_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_aggregation_projection_node.cpp In file included from src/mongo/db/pipeline/parsed_aggregation_projection_node.cpp:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection_node.h:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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/parsed_aggregation_projection_node.cpp:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection_node.h:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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{}; \ ^ ~~ 9 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libservice_entry_point_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/service_entry_point_common.o Skipping ranlib for libtool generated target build/opt/mongo/db/libservice_entry_point_common.a clang++ -o build/opt/mongo/db/pipeline/parsed_inclusion_projection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_inclusion_projection.cpp 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/pipeline/parsed_aggregation_projection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_aggregation_projection.cpp In file included from src/mongo/db/pipeline/parsed_inclusion_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_inclusion_projection.h: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/parsed_inclusion_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_inclusion_projection.h: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{}; \ ^ ~~ 2 warnings generated. In file included from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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 clang++ -o build/opt/mongo/db/pipeline/parsed_add_fields.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_add_fields.cpp In file included from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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/parsed_add_fields.cpp:32: In file included from src/mongo/db/pipeline/parsed_add_fields.h: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/parsed_add_fields.cpp:32: In file included from src/mongo/db/pipeline/parsed_add_fields.h: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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/parsed_exclusion_projection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_exclusion_projection.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/system_index.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/system_index.cpp In file included from src/mongo/db/pipeline/parsed_exclusion_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_exclusion_projection.h:35: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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/parsed_exclusion_projection.cpp:32: In file included from src/mongo/db/pipeline/parsed_exclusion_projection.h:35: In file included from src/mongo/db/pipeline/parsed_aggregation_projection.h:38: 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/system_index.cpp: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{}; \ ^ ~~ 2 warnings generated. In file included from src/mongo/db/system_index.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 clang++ -o build/opt/mongo/db/auth/role_graph_update.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/role_graph_update.cpp In file included from src/mongo/db/system_index.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/system_index.cpp:50: 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/auth/role_graph_update.cpp:38: 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/libparsed_aggregation_projection.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/parsed_aggregation_projection.o build/opt/mongo/db/pipeline/parsed_aggregation_projection_node.o build/opt/mongo/db/pipeline/parsed_exclusion_projection.o build/opt/mongo/db/pipeline/parsed_inclusion_projection.o build/opt/mongo/db/pipeline/parsed_add_fields.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a clang++ -o build/opt/mongo/util/elapsed_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 -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/elapsed_tracker.cpp In file included from src/mongo/db/auth/role_graph_update.cpp:42: In file included from src/mongo/db/update/update_driver.h:41: 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/db/auth/role_graph_update.cpp:42: In file included from src/mongo/db/update/update_driver.h:41: 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/libelapsed_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/util/elapsed_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/util/libelapsed_tracker.a clang++ -o build/opt/mongo/db/repl/rs_rollback.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/rs_rollback.cpp 4 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libsystem_index.a -s -no_warning_for_no_symbols build/opt/mongo/db/system_index.o Skipping ranlib for libtool generated target build/opt/mongo/db/libsystem_index.a clang++ -o build/opt/mongo/client/dbclient_connection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/dbclient_connection.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/librole_graph_update.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/role_graph_update.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/librole_graph_update.a clang++ -o build/opt/mongo/client/connpool.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/connpool.cpp In file included from src/mongo/db/repl/rs_rollback.cpp:41: 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/rs_rollback.cpp:42: 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/client/dbclient_connection.cpp:38: In file included from src/mongo/client/dbclient_connection.h:36: 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/repl/rs_rollback.cpp:42: 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/client/connpool.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/client/dbclient_connection.cpp:54: 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/rs_rollback.cpp:62: 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/db/repl/rs_rollback.cpp:74: 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 { ^ 1 warning generated. clang++ -o build/opt/mongo/client/mongo_uri_connect.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/mongo_uri_connect.cpp 2 warnings generated. clang++ -o build/opt/mongo/client/replica_set_monitor_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 -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/client/replica_set_monitor_manager.cpp In file included from src/mongo/client/mongo_uri_connect.cpp:37: 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. clang++ -o build/opt/mongo/client/replica_set_change_notifier.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/replica_set_change_notifier.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librs_rollback.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/rs_rollback.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librs_rollback.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/client/global_conn_pool_gen.h --output build/opt/mongo/client/global_conn_pool_gen.cpp src/mongo/client/global_conn_pool.idl clang++ -o build/opt/mongo/client/global_conn_pool.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/global_conn_pool.cpp clang++ -o build/opt/mongo/client/dbclient_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 -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/client/dbclient_rs.cpp In file included from src/mongo/client/dbclient_rs.cpp:34: In file included from src/mongo/client/dbclient_rs.h:38: In file included from src/mongo/client/dbclient_connection.h:36: 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/client/global_conn_pool.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 clang++ -o build/opt/mongo/client/replica_set_monitor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/replica_set_monitor.cpp 1 warning generated. clang++ -o build/opt/mongo/client/connection_string_connect.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/client/connection_string_connect.cpp In file included from src/mongo/client/replica_set_monitor.cpp:41: 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/client/connection_string_connect.cpp:39: In file included from src/mongo/client/dbclient_rs.h:38: In file included from src/mongo/client/dbclient_connection.h:36: 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. clang++ -o build/opt/mongo/client/global_conn_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 -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/client/global_conn_pool_gen.cpp 1 warning 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 -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 In file included from build/opt/mongo/client/global_conn_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 In file included from build/opt/mongo/client/global_conn_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 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_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{}; \ ^ ~~ 1 warning 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 -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. /usr/bin/libtool -static -o build/opt/mongo/client/libclientdriver_network.a -s -no_warning_for_no_symbols build/opt/mongo/client/connection_string_connect.o build/opt/mongo/client/mongo_uri_connect.o build/opt/mongo/client/connpool.o build/opt/mongo/client/dbclient_connection.o build/opt/mongo/client/dbclient_rs.o build/opt/mongo/client/global_conn_pool.o build/opt/mongo/client/global_conn_pool_gen.o build/opt/mongo/client/replica_set_change_notifier.o build/opt/mongo/client/replica_set_monitor.o build/opt/mongo/client/replica_set_monitor_manager.o Skipping ranlib for libtool generated target build/opt/mongo/client/libclientdriver_network.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 -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/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_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/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{}; \ ^ ~~ 2 warnings generated. 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 -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 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/cloner_gen.h --output build/opt/mongo/db/cloner_gen.cpp src/mongo/db/cloner.idl 2 warnings generated. clang++ -o build/opt/mongo/db/exec/projection_exec_agg.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/projection_exec_agg.cpp 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 -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/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{}; \ ^ ~~ 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 src/mongo/db/exec/projection_exec_agg.cpp:35: 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/exec/projection_exec_agg.cpp:35: 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/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{}; \ ^ ~~ 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/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 -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 2 warnings generated. clang++ -o build/opt/mongo/db/views/resolved_view.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/views/resolved_view.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libprojection_exec_agg.a -s -no_warning_for_no_symbols build/opt/mongo/db/exec/projection_exec_agg.o Skipping ranlib for libtool generated target build/opt/mongo/db/libprojection_exec_agg.a clang++ -o build/opt/mongo/db/update/modifier_table.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/modifier_table.cpp 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 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{}; \ ^ ~~ 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 { ^ /usr/bin/libtool -static -o build/opt/mongo/db/views/libresolved_view.a -s -no_warning_for_no_symbols build/opt/mongo/db/views/resolved_view.o Skipping ranlib for libtool generated target build/opt/mongo/db/views/libresolved_view.a clang++ -o build/opt/mongo/db/update/addtoset_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/addtoset_node.cpp In file included from src/mongo/db/update/modifier_table.cpp:30: In file included from src/mongo/db/update/modifier_table.h:32: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/modifier_table.cpp:30: In file included from src/mongo/db/update/modifier_table.h:32: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/modifier_table.cpp:40: src/mongo/db/update/bit_node.h:74:29: warning: loop variable '[bitOperator, operand]' creates a copy from type 'const mongo::BitNode::BitwiseOp' [-Wrange-loop-construct] for (const auto [bitOperator, operand] : _opList) { ^ src/mongo/db/update/bit_node.h:74:18: note: use reference type 'const mongo::BitNode::BitwiseOp &' to prevent copying for (const auto [bitOperator, operand] : _opList) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ & 3 warnings generated. clang++ -o build/opt/mongo/db/update/object_replace_executor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/object_replace_executor.cpp In file included from src/mongo/db/update/addtoset_node.cpp:32: In file included from src/mongo/db/update/addtoset_node.h:36: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/addtoset_node.cpp:32: In file included from src/mongo/db/update/addtoset_node.h:36: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/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/update/rename_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/rename_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/pullall_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/pullall_node.cpp clang++ -o build/opt/mongo/db/update/update_object_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_object_node.cpp In file included from src/mongo/db/update/rename_node.cpp:32: In file included from src/mongo/db/update/rename_node.h:37: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/pullall_node.cpp:32: In file included from src/mongo/db/update/pullall_node.h:33: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/rename_node.cpp:32: In file included from src/mongo/db/update/rename_node.h:37: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/pullall_node.cpp:32: In file included from src/mongo/db/update/pullall_node.h:33: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/update_object_node.cpp:32: In file included from src/mongo/db/update/update_object_node.h:39: 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/update/update_object_node.cpp:32: In file included from src/mongo/db/update/update_object_node.h:39: 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/update/arithmetic_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/arithmetic_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/push_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/push_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/update_leaf_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_leaf_node.cpp In file included from src/mongo/db/update/arithmetic_node.cpp:32: In file included from src/mongo/db/update/arithmetic_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/arithmetic_node.cpp:32: In file included from src/mongo/db/update/arithmetic_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/push_node.cpp:32: In file included from src/mongo/db/update/push_node.h:37: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/push_node.cpp:32: In file included from src/mongo/db/update/push_node.h:37: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/update_leaf_node.cpp:32: In file included from src/mongo/db/update/update_leaf_node.h:32: 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 2 warnings generated. clang++ -o build/opt/mongo/db/update/bit_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/bit_node.cpp In file included from src/mongo/db/update/update_leaf_node.cpp:32: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/modifier_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/modifier_node.cpp In file included from src/mongo/db/update/bit_node.cpp:32: In file included from src/mongo/db/update/bit_node.h:34: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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 2 warnings generated. clang++ -o build/opt/mongo/db/update/pull_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/pull_node.cpp In file included from src/mongo/db/update/bit_node.cpp:32: In file included from src/mongo/db/update/bit_node.h:34: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/bit_node.cpp:32: src/mongo/db/update/bit_node.h:74:29: warning: loop variable '[bitOperator, operand]' creates a copy from type 'const mongo::BitNode::BitwiseOp' [-Wrange-loop-construct] for (const auto [bitOperator, operand] : _opList) { ^ src/mongo/db/update/bit_node.h:74:18: note: use reference type 'const mongo::BitNode::BitwiseOp &' to prevent copying for (const auto [bitOperator, operand] : _opList) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ & In file included from src/mongo/db/update/modifier_node.cpp:32: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/modifier_node.cpp:32: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/pop_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/pop_node.cpp In file included from src/mongo/db/update/pull_node.cpp:32: In file included from src/mongo/db/update/pull_node.h:33: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/pull_node.cpp:32: In file included from src/mongo/db/update/pull_node.h:33: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/unset_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/unset_node.cpp In file included from src/mongo/db/update/pop_node.cpp:32: In file included from src/mongo/db/update/pop_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/pop_node.cpp:32: In file included from src/mongo/db/update/pop_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/update_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_node.cpp In file included from src/mongo/db/update/unset_node.cpp:32: In file included from src/mongo/db/update/unset_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/unset_node.cpp:32: In file included from src/mongo/db/update/unset_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/current_date_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/current_date_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/pipeline_executor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/pipeline_executor.cpp In file included from src/mongo/db/update/update_node.cpp:35: In file included from src/mongo/db/update/update_array_node.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/update/update_node.cpp:35: In file included from src/mongo/db/update/update_array_node.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/update/current_date_node.cpp:32: In file included from src/mongo/db/update/current_date_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/current_date_node.cpp:32: In file included from src/mongo/db/update/current_date_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/set_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/set_node.cpp In file included from src/mongo/db/update/pipeline_executor.cpp:32: In file included from src/mongo/db/update/pipeline_executor.h:37: 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 In file included from src/mongo/db/update/pipeline_executor.cpp:32: In file included from src/mongo/db/update/pipeline_executor.h:37: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/update/compare_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/compare_node.cpp In file included from src/mongo/db/update/set_node.cpp:32: In file included from src/mongo/db/update/set_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/set_node.cpp:32: In file included from src/mongo/db/update/set_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/compare_node.cpp:32: In file included from src/mongo/db/update/compare_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/compare_node.cpp:32: In file included from src/mongo/db/update/compare_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/array_culling_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/array_culling_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/update_array_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_array_node.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/update/update_internal_node.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/update_internal_node.cpp In file included from src/mongo/db/update/array_culling_node.cpp:32: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/update/update_array_node.cpp:32: In file included from src/mongo/db/update/update_array_node.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/update/update_array_node.cpp:32: In file included from src/mongo/db/update/update_array_node.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/update/array_culling_node.cpp:32: In file included from src/mongo/db/update/array_culling_node.h:33: In file included from src/mongo/db/update/modifier_node.h:38: In file included from src/mongo/db/update/update_leaf_node.h:32: 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/executor/network_interface_thread_pool.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_thread_pool.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/storage/devnull/devnull_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 -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/devnull/devnull_init.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/update/libupdate.a -s -no_warning_for_no_symbols build/opt/mongo/db/update/addtoset_node.o build/opt/mongo/db/update/arithmetic_node.o build/opt/mongo/db/update/array_culling_node.o build/opt/mongo/db/update/bit_node.o build/opt/mongo/db/update/compare_node.o build/opt/mongo/db/update/current_date_node.o build/opt/mongo/db/update/modifier_node.o build/opt/mongo/db/update/modifier_table.o build/opt/mongo/db/update/object_replace_executor.o build/opt/mongo/db/update/pipeline_executor.o build/opt/mongo/db/update/pop_node.o build/opt/mongo/db/update/pull_node.o build/opt/mongo/db/update/pullall_node.o build/opt/mongo/db/update/push_node.o build/opt/mongo/db/update/rename_node.o build/opt/mongo/db/update/set_node.o build/opt/mongo/db/update/unset_node.o build/opt/mongo/db/update/update_array_node.o build/opt/mongo/db/update/update_internal_node.o build/opt/mongo/db/update/update_leaf_node.o build/opt/mongo/db/update/update_node.o build/opt/mongo/db/update/update_object_node.o Skipping ranlib for libtool generated target build/opt/mongo/db/update/libupdate.a clang++ -o build/opt/mongo/s/catalog/sharding_catalog_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 -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/sharding_catalog_client.cpp In file included from src/mongo/db/storage/devnull/devnull_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/devnull/devnull_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/storage/devnull/devnull_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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/executor/libnetwork_interface_thread_pool.a -s -no_warning_for_no_symbols build/opt/mongo/executor/network_interface_thread_pool.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libnetwork_interface_thread_pool.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 -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 /usr/bin/libtool -static -o build/opt/mongo/s/catalog/libsharding_catalog_client.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/sharding_catalog_client.o Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libsharding_catalog_client.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 -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/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 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/devnull/libstorage_devnull.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/devnull/devnull_init.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/devnull/libstorage_devnull.a 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 -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/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/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/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{}; \ ^ ~~ 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 { ^ 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/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/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 { ^ 3 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 -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 3 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 -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/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 3 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 -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_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_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 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_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{}; \ ^ ~~ 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 { ^ 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/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{}; \ ^ ~~ 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 -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/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 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 -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 2 warnings generated. 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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/s/transaction_coordinators_stats_gen.h --output build/opt/mongo/db/s/transaction_coordinators_stats_gen.cpp src/mongo/db/s/transaction_coordinators_stats.idl clang++ -o build/opt/mongo/db/s/transaction_coordinator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.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 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{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator.cpp:37: In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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/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 { ^ 2 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_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 -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_catalog.cpp In file included from src/mongo/db/s/transaction_coordinator.cpp:37: In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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{}; \ ^ ~~ 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/db/s/transaction_coordinators_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 -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/s/transaction_coordinators_stats_gen.cpp clang++ -o build/opt/mongo/db/s/wait_for_majority_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 -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/wait_for_majority_service.cpp In file included from build/opt/mongo/db/s/transaction_coordinators_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 2 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_curop_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 -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_mongod.cpp In file included from build/opt/mongo/db/s/transaction_coordinators_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/s/transaction_coordinator_metrics_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 -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_metrics_observer.cpp In file included from src/mongo/db/s/transaction_coordinator_curop_mongod.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_mongod.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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_futures_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 -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_futures_util.cpp In file included from src/mongo/db/s/transaction_coordinator_curop_mongod.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{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32: In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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/s/transaction_coordinator_futures_util.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/s/transaction_coordinator_futures_util.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/s/transaction_coordinator_futures_util.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/s/transaction_coordinator_futures_util.cpp:41: 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 In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.cpp:32: In file included from src/mongo/db/s/transaction_coordinator_metrics_observer.h:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_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 -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_service.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/single_transaction_coordinator_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 -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/single_transaction_coordinator_stats.cpp In file included from src/mongo/db/s/transaction_coordinator_service.cpp:38: In file included from src/mongo/db/storage/flow_control.h:34: 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/s/transaction_coordinator_service.cpp:38: In file included from src/mongo/db/storage/flow_control.h:34: 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{}; \ ^ ~~ 4 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_factory_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 -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_mongod.cpp clang++ -o build/opt/mongo/db/s/transaction_coordinator_structures.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_structures.cpp In file included from src/mongo/db/s/transaction_coordinator_factory_mongod.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{}; \ ^ ~~ In file included from src/mongo/db/s/transaction_coordinator_factory_mongod.cpp:34: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/db/s/transaction_coordinator_factory_mongod.cpp:34: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository_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 -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_mongod.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_document_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 -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/s/transaction_coordinator_document_gen.cpp In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29: In file included from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31: 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 In file included from src/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.cpp:29: In file included from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31: 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_mongod.cpp:29: In file included from src/mongo/db/s/transaction_coordinator_worker_curop_info.h:31: 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/server_transaction_coordinators_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 -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/server_transaction_coordinators_metrics.cpp In file included from build/opt/mongo/db/s/transaction_coordinator_document_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/s/transaction_coordinator_document_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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/s/transaction_coordinator_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 -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_util.cpp In file included from src/mongo/db/s/server_transaction_coordinators_metrics.cpp:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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/s/server_transaction_coordinators_metrics.cpp:32: In file included from src/mongo/db/s/server_transaction_coordinators_metrics.h: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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/s/sharding_runtime_d_params_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 -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/s/sharding_runtime_d_params_gen.cpp In file included from src/mongo/db/s/transaction_coordinator_util.cpp:39: 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/s/transaction_coordinator_util.cpp:39: 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_util.cpp:44: 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{}; \ ^ ~~ 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 -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 In file included from build/opt/mongo/db/s/sharding_runtime_d_params_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/s/sharding_runtime_d_params_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/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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_runtime_d_params.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/sharding_runtime_d_params_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_runtime_d_params.a 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 -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 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 -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 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 -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 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{}; \ ^ ~~ 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 */ ^ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libtransaction_coordinator.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/server_transaction_coordinators_metrics.o build/opt/mongo/db/s/single_transaction_coordinator_stats.o build/opt/mongo/db/s/transaction_coordinator_catalog.o build/opt/mongo/db/s/transaction_coordinator_curop_mongod.o build/opt/mongo/db/s/transaction_coordinator_factory_mongod.o build/opt/mongo/db/s/transaction_coordinator_futures_util.o build/opt/mongo/db/s/transaction_coordinator_metrics_observer.o build/opt/mongo/db/s/transaction_coordinator_service.o build/opt/mongo/db/s/transaction_coordinator_structures.o build/opt/mongo/db/s/transaction_coordinator_util.o build/opt/mongo/db/s/transaction_coordinator_worker_curop_repository_mongod.o build/opt/mongo/db/s/transaction_coordinator.o build/opt/mongo/db/s/wait_for_majority_service.o build/opt/mongo/db/s/transaction_coordinator_document_gen.o build/opt/mongo/db/s/transaction_coordinators_stats_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libtransaction_coordinator.a 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 -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 1 warning generated. 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 -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. 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 -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/geo/hash.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/hash.cpp clang++ -o build/opt/mongo/db/geo/r2_region_coverer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/r2_region_coverer.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 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 */ ^ clang++ -o build/opt/mongo/db/geo/big_polygon.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/big_polygon.cpp clang++ -o build/opt/mongo/db/geo/shapes.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/shapes.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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/geo/libgeometry.a -s -no_warning_for_no_symbols build/opt/mongo/db/geo/hash.o build/opt/mongo/db/geo/shapes.o build/opt/mongo/db/geo/big_polygon.o build/opt/mongo/db/geo/r2_region_coverer.o Skipping ranlib for libtool generated target build/opt/mongo/db/geo/libgeometry.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/transport/message_compressor_options_server_gen.h --output build/opt/mongo/transport/message_compressor_options_server_gen.cpp src/mongo/transport/message_compressor_options_server.idl clang++ -o build/opt/mongo/transport/message_compressor_options_server_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 -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/transport/message_compressor_options_server_gen.cpp 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 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 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{}; \ ^ ~~ 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 build/opt/mongo/transport/message_compressor_options_server_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/transport/message_compressor_options_server_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/dbhelpers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbhelpers.cpp 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/util/secure_zero_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 -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_zero_memory.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libsecure_zero_memory.a -s -no_warning_for_no_symbols build/opt/mongo/util/secure_zero_memory.o Skipping ranlib for libtool generated target build/opt/mongo/util/libsecure_zero_memory.a clang++ -o build/opt/mongo/db/wire_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/wire_version.cpp In file included from src/mongo/db/dbhelpers.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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/transport/libmessage_compressor_options_server.a -s -no_warning_for_no_symbols build/opt/mongo/transport/message_compressor_options_server_gen.o Skipping ranlib for libtool generated target build/opt/mongo/transport/libmessage_compressor_options_server.a clang++ -o build/opt/mongo/s/catalog/replset_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 -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/replset_dist_lock_manager.cpp In file included from src/mongo/db/dbhelpers.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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/db/libwire_version.a -s -no_warning_for_no_symbols build/opt/mongo/db/wire_version.o Skipping ranlib for libtool generated target build/opt/mongo/db/libwire_version.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 -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/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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/replset_dist_lock_manager.o 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libdbhelpers.a -s -no_warning_for_no_symbols build/opt/mongo/db/dbhelpers.o Skipping ranlib for libtool generated target build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a clang++ -o build/opt/mongo/db/auth/role_name.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/role_name.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: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 { ^ Skipping ranlib for libtool generated target build/opt/mongo/db/libdbhelpers.a clang++ -o build/opt/mongo/db/auth/auth_decorations.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/auth_decorations.cpp In file included from src/mongo/db/auth/auth_decorations.cpp:35: 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/auth_decorations.cpp:35: 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 In file included from src/mongo/db/auth/role_name.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/auth/auth_decorations.cpp:35: 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{}; \ ^ ~~ 1 warning generated. In file included from src/mongo/db/auth/auth_decorations.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/auth/auth_decorations.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/auth/authorization_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 -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.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/db/auth/authorization_session.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_session.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/auth/user_name.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/user_name.cpp In file included from src/mongo/db/auth/authorization_manager.cpp:34: 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.cpp:48: 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/authorization_manager.cpp:48: 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/auth/authorization_manager.cpp:49: 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{}; \ ^ ~~ 4 warnings generated. clang++ -o build/opt/mongo/db/catalog/index_key_validate.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_key_validate.cpp In file included from src/mongo/db/auth/authorization_session.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/auth/authorization_session.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/auth/authorization_session.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/auth/user_name.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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/storage/write_unit_of_work.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/write_unit_of_work.cpp 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauth.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/authorization_manager.o build/opt/mongo/db/auth/authorization_session.o build/opt/mongo/db/auth/auth_decorations.o build/opt/mongo/db/auth/user_name.o build/opt/mongo/db/auth/role_name.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauth.a clang++ -o build/opt/mongo/db/pipeline/aggregation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/aggregation.cpp /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libaggregation.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/aggregation.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/mongo/db/pipeline/libaggregation.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/pipeline/libaggregation.a In file included from src/mongo/db/catalog/index_key_validate.cpp:49: 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/util/net/ssl_options_server_gen.h --output build/opt/mongo/util/net/ssl_options_server_gen.cpp src/mongo/util/net/ssl_options_server.idl In file included from src/mongo/db/catalog/index_key_validate.cpp:49: 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/util/net/ssl_options_server_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 -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/net/ssl_options_server_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libwrite_unit_of_work.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/write_unit_of_work.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libwrite_unit_of_work.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/auth/auth_options_gen.h --output build/opt/mongo/db/auth/auth_options_gen.cpp src/mongo/db/auth/auth_options.idl clang++ -o build/opt/mongo/util/net/ssl_options_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 -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_server.cpp In file included from build/opt/mongo/util/net/ssl_options_server_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/libindex_key_validate.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/index_key_validate.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libindex_key_validate.a clang++ -o build/opt/mongo/client/remote_command_retry_scheduler.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/remote_command_retry_scheduler.cpp In file included from build/opt/mongo/util/net/ssl_options_server_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/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 -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 /usr/bin/libtool -static -o build/opt/mongo/client/libremote_command_retry_scheduler.a -s -no_warning_for_no_symbols build/opt/mongo/client/remote_command_retry_scheduler.o Skipping ranlib for libtool generated target build/opt/mongo/client/libremote_command_retry_scheduler.a clang++ -o build/opt/mongo/db/op_observer_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 -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/op_observer_util.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/util/net/libssl_options_server.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/ssl_options_server.o build/opt/mongo/util/net/ssl_options_server_gen.o Skipping ranlib for libtool generated target build/opt/mongo/util/net/libssl_options_server.a clang++ -o build/opt/mongo/db/repl/collection_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 -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/collection_cloner.cpp 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/op_observer_util.cpp:32: In file included from src/mongo/db/op_observer_util.h:34: 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 src/mongo/db/repl/collection_cloner.cpp:34: In file included from src/mongo/db/repl/collection_cloner.h:39: In file included from src/mongo/client/dbclient_connection.h:36: 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/op_observer_util.cpp:32: In file included from src/mongo/db/op_observer_util.h:34: 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/repl/collection_cloner.cpp:34: In file included from src/mongo/db/repl/collection_cloner.h:40: 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{}; \ ^ ~~ 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 Skipping ranlib for libtool generated target build/opt/mongo/db/libsessions_collection_rs.a 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 -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/util/thread_safe_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 -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/thread_safe_string.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libop_observer_util.a -s -no_warning_for_no_symbols build/opt/mongo/db/op_observer_util.o Skipping ranlib for libtool generated target build/opt/mongo/db/libop_observer_util.a clang++ -o build/opt/mongo/util/progress_meter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/progress_meter.cpp 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 -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 /usr/bin/libtool -static -o build/opt/mongo/util/libprogress_meter.a -s -no_warning_for_no_symbols build/opt/mongo/util/progress_meter.o build/opt/mongo/util/thread_safe_string.o Skipping ranlib for libtool generated target build/opt/mongo/util/libprogress_meter.a clang++ -o build/opt/mongo/util/alarm_runner_background_thread.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/alarm_runner_background_thread.cpp /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/util/alarm.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/alarm.cpp clang++ -o build/opt/mongo/logger/parse_log_component_settings.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/logger/parse_log_component_settings.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libcollection_cloner.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/collection_cloner.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libcollection_cloner.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /usr/bin/libtool -static -o build/opt/mongo/util/libalarm.a -s -no_warning_for_no_symbols build/opt/mongo/util/alarm.o build/opt/mongo/util/alarm_runner_background_thread.o Skipping ranlib for libtool generated target build/opt/mongo/util/libalarm.a 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 -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 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 -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/logger/libparse_log_component_settings.a -s -no_warning_for_no_symbols build/opt/mongo/logger/parse_log_component_settings.o Skipping ranlib for libtool generated target build/opt/mongo/logger/libparse_log_component_settings.a clang++ -o build/opt/third_party/shim_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 -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_allocator.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_allocator.a -s -no_warning_for_no_symbols build/opt/third_party/shim_allocator.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_allocator.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_allocator.a clang++ -o build/opt/mongo/db/storage/storage_engine_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 -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_impl.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/db/storage/storage_engine_impl.cpp:34: 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/storage_engine_impl.cpp:34: 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/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/db/storage/storage_engine_impl.cpp:34: 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. clang++ -o build/opt/mongo/db/storage/kv/temporary_kv_record_store.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/kv/temporary_kv_record_store.cpp 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/s/query/router_stage_skip.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/router_stage_skip.cpp clang++ -o build/opt/mongo/s/query/router_stage_remove_metadata_fields.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/router_stage_remove_metadata_fields.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/libstorage_engine_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/storage_engine_impl.o build/opt/mongo/db/storage/kv/temporary_kv_record_store.o clang++ -o build/opt/mongo/s/query/document_source_merge_cursors.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/document_source_merge_cursors.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libstorage_engine_impl.a clang++ -o build/opt/mongo/s/query/router_stage_pipeline.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/router_stage_pipeline.cpp clang++ -o build/opt/mongo/s/query/document_source_update_on_add_shard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/document_source_update_on_add_shard.cpp In file included from src/mongo/s/query/document_source_merge_cursors.cpp:32: In file included from src/mongo/s/query/document_source_merge_cursors.h:34: 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 In file included from src/mongo/s/query/router_stage_pipeline.cpp:32: In file included from src/mongo/s/query/router_stage_pipeline.h:34: 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 In file included from src/mongo/s/query/document_source_merge_cursors.cpp:32: In file included from src/mongo/s/query/document_source_merge_cursors.h:34: 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/query/router_stage_pipeline.cpp:32: In file included from src/mongo/s/query/router_stage_pipeline.h:34: 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/query/document_source_update_on_add_shard.cpp:30: In file included from src/mongo/s/query/document_source_update_on_add_shard.h:34: 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 In file included from src/mongo/s/query/document_source_update_on_add_shard.cpp:30: In file included from src/mongo/s/query/document_source_update_on_add_shard.h:34: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/query/router_stage_mock.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/router_stage_mock.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/query/router_stage_limit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/router_stage_limit.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/ttl_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 -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/ttl_collection_cache.cpp 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 -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 /usr/bin/libtool -static -o build/opt/mongo/s/query/librouter_exec_stage.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/document_source_merge_cursors.o build/opt/mongo/s/query/document_source_update_on_add_shard.o build/opt/mongo/s/query/router_stage_limit.o build/opt/mongo/s/query/router_stage_mock.o build/opt/mongo/s/query/router_stage_pipeline.o build/opt/mongo/s/query/router_stage_remove_metadata_fields.o build/opt/mongo/s/query/router_stage_skip.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/librouter_exec_stage.a clang++ -o build/opt/mongo/util/log_and_backoff.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/log_and_backoff.cpp /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/logical_session_id_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 -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_id_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libttl_collection_cache.a -s -no_warning_for_no_symbols build/opt/mongo/db/ttl_collection_cache.o /usr/bin/libtool -static -o build/opt/mongo/util/liblog_and_backoff.a -s -no_warning_for_no_symbols build/opt/mongo/util/log_and_backoff.o Skipping ranlib for libtool generated target build/opt/mongo/db/libttl_collection_cache.a clang++ -o build/opt/mongo/db/logical_session_id.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp Skipping ranlib for libtool generated target build/opt/mongo/util/liblog_and_backoff.a clang++ -o build/opt/mongo/db/index/index_access_method_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 -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.cpp In file included from build/opt/mongo/db/logical_session_id_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/storage_engine_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 -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_metadata.cpp In file included from build/opt/mongo/db/logical_session_id_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/index/libindex_access_method_factory.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/index_access_method_factory.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libindex_access_method_factory.a clang++ -o build/opt/mongo/db/index_names.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_names.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/libstorage_engine_metadata.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/storage_engine_metadata.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libstorage_engine_metadata.a clang++ -o build/opt/mongo/client/fetcher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/fetcher.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libindex_names.a -s -no_warning_for_no_symbols build/opt/mongo/db/index_names.o Skipping ranlib for libtool generated target build/opt/mongo/db/libindex_names.a clang++ -o build/opt/third_party/s2/util/math/mathutil.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/util/math/mathutil.cc 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/liblogical_session_id.a -s -no_warning_for_no_symbols build/opt/mongo/db/logical_session_id.o build/opt/mongo/db/logical_session_id_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblogical_session_id.a clang++ -o build/opt/mongo/db/traffic_recorder_validators.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/traffic_recorder_validators.cpp /usr/bin/libtool -static -o build/opt/third_party/s2/util/math/libmath.a -s -no_warning_for_no_symbols build/opt/third_party/s2/util/math/mathutil.o In file included from src/mongo/client/fetcher.cpp:33: 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 Skipping ranlib for libtool generated target build/opt/third_party/s2/util/math/libmath.a clang++ -o build/opt/mongo/db/traffic_recorder_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 -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/traffic_recorder_gen.cpp clang++ -o build/opt/mongo/db/traffic_recorder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/traffic_recorder.cpp In file included from src/mongo/client/fetcher.cpp:33: 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{}; \ ^ ~~ In file included from build/opt/mongo/db/traffic_recorder_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/traffic_recorder.cpp:42: 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 build/opt/mongo/db/traffic_recorder_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/traffic_recorder.cpp:42: 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/client/libfetcher.a -s -no_warning_for_no_symbols build/opt/mongo/client/fetcher.o Skipping ranlib for libtool generated target build/opt/mongo/client/libfetcher.a clang++ -o build/opt/mongo/db/repl/repl_set_tag.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_tag.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/update_position_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 -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/update_position_args.cpp clang++ -o build/opt/mongo/db/repl/repl_set_heartbeat_args_v1.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_heartbeat_args_v1.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libtraffic_recorder.a -s -no_warning_for_no_symbols build/opt/mongo/db/traffic_recorder.o build/opt/mongo/db/traffic_recorder_validators.o build/opt/mongo/db/traffic_recorder_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libtraffic_recorder.a clang++ -o build/opt/mongo/db/repl/repl_set_request_votes_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 -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/repl_set_request_votes_args.cpp In file included from src/mongo/db/repl/update_position_args.cpp:35: 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/repl/update_position_args.cpp:35: 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/db/repl/repl_set_heartbeat_args_v1.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/repl/repl_set_heartbeat_args_v1.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{}; \ ^ ~~ In file included from src/mongo/db/repl/repl_set_request_votes_args.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/db/repl/repl_set_request_votes_args.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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/repl/repl_set_config.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_config.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/repl_set_heartbeat_response.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_heartbeat_response.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/last_vote.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/last_vote.cpp In file included from src/mongo/db/repl/repl_set_config.cpp:36: 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/repl/repl_set_config.cpp:36: 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/db/repl/last_vote.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 clang++ -o build/opt/mongo/db/repl/repl_set_config_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 -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/repl/repl_set_config_gen.cpp In file included from src/mongo/db/repl/last_vote.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 build/opt/mongo/db/repl/repl_set_config_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/repl/repl_set_config_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/repl/is_master_response.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/is_master_response.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/member_config.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/member_config.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/client/shard_local.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shard_local.cpp clang++ -o build/opt/mongo/db/query/cursor_response.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/cursor_response.cpp In file included from src/mongo/db/repl/member_config.cpp:36: 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/repl/member_config.cpp:36: 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/s/client/shard_local.cpp:41: 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/client/shard_local.cpp:41: 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/query/cursor_response.cpp:34: In file included from src/mongo/db/query/cursor_response.h:36: 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/query/cursor_response.cpp:34: In file included from src/mongo/db/query/cursor_response.h:36: 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/repl/libreplica_set_messages.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/is_master_response.o build/opt/mongo/db/repl/member_config.o build/opt/mongo/db/repl/repl_set_config.o build/opt/mongo/db/repl/repl_set_heartbeat_args_v1.o build/opt/mongo/db/repl/repl_set_heartbeat_response.o build/opt/mongo/db/repl/repl_set_request_votes_args.o build/opt/mongo/db/repl/repl_set_tag.o build/opt/mongo/db/repl/update_position_args.o build/opt/mongo/db/repl/last_vote.o build/opt/mongo/db/repl/repl_set_config_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplica_set_messages.a clang++ -o build/opt/mongo/db/query/count_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/count_request.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/client/libshard_local.a -s -no_warning_for_no_symbols build/opt/mongo/s/client/shard_local.o Skipping ranlib for libtool generated target build/opt/mongo/s/client/libshard_local.a clang++ -o build/opt/mongo/db/query/count_command_as_aggregation_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 -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/query/count_command_as_aggregation_command.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/query/killcursors_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/killcursors_request.cpp In file included from src/mongo/db/query/count_request.cpp:35: 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/query/count_request.cpp:35: 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/query/killcursors_request.cpp:34: In file included from src/mongo/db/query/killcursors_request.h:36: 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/query/cursor_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/cursor_request.cpp In file included from src/mongo/db/query/killcursors_request.cpp:34: In file included from src/mongo/db/query/killcursors_request.h:36: 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/query/view_response_formatter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/view_response_formatter.cpp clang++ -o build/opt/mongo/db/query/find_and_modify_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/find_and_modify_request.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/query/count_command_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 -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/query/count_command_gen.cpp In file included from src/mongo/db/query/view_response_formatter.cpp:37: In file included from src/mongo/db/query/cursor_response.h:36: 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/query/view_response_formatter.cpp:37: In file included from src/mongo/db/query/cursor_response.h:36: 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/query/killcursors_response.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/killcursors_response.cpp In file included from build/opt/mongo/db/query/count_command_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/query/count_command_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/query/getmore_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/getmore_request.cpp In file included from src/mongo/db/query/killcursors_response.cpp:34: In file included from src/mongo/db/query/killcursors_response.h:36: 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/query/killcursors_response.cpp:34: In file included from src/mongo/db/query/killcursors_response.h:36: 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/initialize_server_security_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 -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/initialize_server_security_state.cpp In file included from src/mongo/db/query/getmore_request.cpp:34: In file included from src/mongo/db/query/getmore_request.h:37: 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/query/getmore_request.cpp:34: In file included from src/mongo/db/query/getmore_request.h:37: 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/balancer_configuration.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/balancer_configuration.cpp In file included from src/mongo/db/initialize_server_security_state.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{}; \ ^ ~~ 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/libinitialize_server_security_state.a -s -no_warning_for_no_symbols build/opt/mongo/db/initialize_server_security_state.o Skipping ranlib for libtool generated target build/opt/mongo/db/libinitialize_server_security_state.a clang++ -o build/opt/mongo/s/client/shard_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 -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/shard_registry.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/query/libcommand_request_response.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/count_command_as_aggregation_command.o build/opt/mongo/db/query/count_request.o build/opt/mongo/db/query/cursor_request.o build/opt/mongo/db/query/cursor_response.o build/opt/mongo/db/query/find_and_modify_request.o build/opt/mongo/db/query/getmore_request.o build/opt/mongo/db/query/killcursors_request.o build/opt/mongo/db/query/killcursors_response.o build/opt/mongo/db/query/view_response_formatter.o build/opt/mongo/db/query/count_command_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libcommand_request_response.a clang++ -o build/opt/mongo/s/client/shard_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 -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/shard_factory.cpp clang++ -o build/opt/mongo/s/grid.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/grid.cpp clang++ -o build/opt/mongo/s/catalog_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 -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_cache.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 -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 In file included from src/mongo/s/grid.cpp:43: 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/grid.cpp:43: 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{}; \ ^ ~~ 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 -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 /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/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 -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 2 warnings generated. clang++ -o build/opt/mongo/db/repl/transaction_oplog_application.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/transaction_oplog_application.cpp 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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/s/libgrid.a -s -no_warning_for_no_symbols build/opt/mongo/s/balancer_configuration.o build/opt/mongo/s/catalog_cache.o build/opt/mongo/s/client/shard_factory.o build/opt/mongo/s/client/shard_registry.o build/opt/mongo/s/grid.o Skipping ranlib for libtool generated target build/opt/mongo/s/libgrid.a clang++ -o build/opt/mongo/db/repl/apply_ops_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 -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/repl/apply_ops_gen.cpp In file included from src/mongo/db/repl/transaction_oplog_application.cpp:37: 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/repl/transaction_oplog_application.cpp:37: 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/repl/apply_ops_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/repl/transaction_oplog_application.cpp:41: 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 { ^ 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 In file included from build/opt/mongo/db/repl/apply_ops_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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/catalog/health_log_gen.h --output build/opt/mongo/db/catalog/health_log_gen.cpp src/mongo/db/catalog/health_log.idl /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/dbcheck_gen.h --output build/opt/mongo/db/repl/dbcheck_gen.cpp src/mongo/db/repl/dbcheck.idl clang++ -o build/opt/mongo/db/repl/oplog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/apply_ops.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/apply_ops.cpp In file included from src/mongo/db/repl/oplog.cpp:43: 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.cpp:48: 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.cpp:48: 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/repl/multiapplier.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/multiapplier.cpp In file included from src/mongo/db/repl/oplog.cpp:66: 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/repl/apply_ops.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/repl/oplog.cpp:74: 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/db/repl/apply_ops.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/repl/apply_ops.cpp:49: 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/repl/libmultiapplier.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/multiapplier.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libmultiapplier.a clang++ -o build/opt/mongo/db/s/chunk_split_state_driver.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/chunk_split_state_driver.cpp /usr/bin/libtool -static -o build/opt/mongo/db/s/libchunk_splitter.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/chunk_split_state_driver.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libchunk_splitter.a clang++ -o build/opt/mongo/db/index/wildcard_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 -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_key_generator.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/index/expression_keys_private.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/expression_keys_private.cpp clang++ -o build/opt/mongo/db/index/btree_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 -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_key_generator.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/apply_ops.o build/opt/mongo/db/repl/oplog.o build/opt/mongo/db/repl/transaction_oplog_application.o build/opt/mongo/db/repl/apply_ops_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog.a clang++ -o build/opt/mongo/db/index/sort_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 -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/sort_key_generator.cpp clang++ -o build/opt/mongo/db/stats/counters.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/counters.cpp 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/stats/libcounters.a -s -no_warning_for_no_symbols build/opt/mongo/db/stats/counters.o Skipping ranlib for libtool generated target build/opt/mongo/db/stats/libcounters.a clang++ -o build/opt/mongo/db/prepare_conflict_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 -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/prepare_conflict_tracker.cpp /usr/bin/libtool -static -o build/opt/mongo/db/index/libkey_generator.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/btree_key_generator.o build/opt/mongo/db/index/expression_keys_private.o build/opt/mongo/db/index/sort_key_generator.o build/opt/mongo/db/index/wildcard_key_generator.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libkey_generator.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 -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/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/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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/libprepare_conflict_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/db/prepare_conflict_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/db/libprepare_conflict_tracker.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/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/catalog/health_log_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 -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/health_log_gen.cpp clang++ -o build/opt/mongo/s/query/cluster_aggregation_planner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_aggregation_planner.cpp /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/catalog/health_log.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/health_log.cpp In file included from src/mongo/db/catalog/health_log.cpp:32: In file included from src/mongo/db/catalog/health_log.h:32: In file included from src/mongo/db/concurrency/deferred_writer.h:32: 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/health_log_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/query/cluster_aggregation_planner.cpp:32: In file included from src/mongo/s/query/cluster_aggregation_planner.h:36: 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_aggregation_planner.cpp:32: In file included from src/mongo/s/query/cluster_aggregation_planner.h:36: 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{}; \ ^ ~~ In file included from build/opt/mongo/db/catalog/health_log_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/health_log.cpp:32: In file included from src/mongo/db/catalog/health_log.h:32: In file included from src/mongo/db/concurrency/deferred_writer.h:32: 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/query/cluster_aggregation_planner.cpp:37: 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/s/query/cluster_aggregation_planner.cpp:37: 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/s/query/cluster_aggregation_planner.cpp:37: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/s/async_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 -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/async_requests_sender.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libhealth_log.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/health_log.o build/opt/mongo/db/catalog/health_log_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libhealth_log.a clang++ -o build/opt/third_party/s2/s2loop.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2loop.cc 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_aggregation_planner.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_aggregation_planner.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_aggregation_planner.a clang++ -o build/opt/third_party/s2/s2polygon.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2polygon.cc clang++ -o build/opt/third_party/s2/s2polyline.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2polyline.cc clang++ -o build/opt/third_party/s2/s2region.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2region.cc /usr/bin/libtool -static -o build/opt/mongo/s/libasync_requests_sender.a -s -no_warning_for_no_symbols build/opt/mongo/s/async_requests_sender.o clang++ -o build/opt/third_party/s2/s2pointregion.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2pointregion.cc Skipping ranlib for libtool generated target build/opt/mongo/s/libasync_requests_sender.a clang++ -o build/opt/third_party/s2/s2cell.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2cell.cc clang++ -o build/opt/third_party/s2/s1angle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s1angle.cc clang++ -o build/opt/third_party/s2/s2cap.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2cap.cc clang++ -o build/opt/third_party/s2/s2cellunion.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2cellunion.cc clang++ -o build/opt/third_party/s2/s2latlngrect.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2latlngrect.cc clang++ -o build/opt/third_party/s2/s1interval.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s1interval.cc clang++ -o build/opt/third_party/s2/s2cellid.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2cellid.cc clang++ -o build/opt/third_party/s2/s2polygonbuilder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2polygonbuilder.cc clang++ -o build/opt/third_party/s2/s2edgeutil.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2edgeutil.cc clang++ -o build/opt/third_party/s2/s2.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2.cc clang++ -o build/opt/third_party/s2/s2regionunion.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2regionunion.cc clang++ -o build/opt/third_party/s2/s2regioncoverer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2regioncoverer.cc clang++ -o build/opt/third_party/s2/s2r2rect.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2r2rect.cc clang++ -o build/opt/third_party/s2/s2regionintersection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2regionintersection.cc clang++ -o build/opt/third_party/s2/s2latlng.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2latlng.cc clang++ -o build/opt/third_party/s2/s2edgeindex.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DDEBUG_MODE=false -Wno-mismatched-tags -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 -Isrc/third_party/s2 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2edgeindex.cc /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 -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 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 -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 /usr/bin/libtool -static -o build/opt/third_party/s2/libs2.a -s -no_warning_for_no_symbols build/opt/third_party/s2/s1angle.o build/opt/third_party/s2/s2.o build/opt/third_party/s2/s2cellid.o build/opt/third_party/s2/s2latlng.o build/opt/third_party/s2/s1interval.o build/opt/third_party/s2/s2cap.o build/opt/third_party/s2/s2cell.o build/opt/third_party/s2/s2cellunion.o build/opt/third_party/s2/s2edgeindex.o build/opt/third_party/s2/s2edgeutil.o build/opt/third_party/s2/s2latlngrect.o build/opt/third_party/s2/s2loop.o build/opt/third_party/s2/s2pointregion.o build/opt/third_party/s2/s2polygon.o build/opt/third_party/s2/s2polygonbuilder.o build/opt/third_party/s2/s2polyline.o build/opt/third_party/s2/s2r2rect.o build/opt/third_party/s2/s2region.o build/opt/third_party/s2/s2regioncoverer.o build/opt/third_party/s2/s2regionintersection.o build/opt/third_party/s2/s2regionunion.o Skipping ranlib for libtool generated target build/opt/third_party/s2/libs2.a clang++ -o build/opt/mongo/db/repl/check_quorum_for_config_change.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/check_quorum_for_config_change.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/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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/repl/repl_set_config_checks.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_set_config_checks.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/replication_coordinator_impl_heartbeat.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_coordinator_impl_heartbeat.cpp 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 In file included from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:41: 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 { ^ Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libmulti_index_block.a In file included from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:50: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:39: In file included from src/mongo/client/dbclient_connection.h:36: 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/mongo/db/repl/vote_requester.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/vote_requester.cpp clang++ -o build/opt/mongo/db/repl/replication_coordinator_impl_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 -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/repl/replication_coordinator_impl_gen.cpp In file included from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:50: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:40: 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{}; \ ^ ~~ In file included from build/opt/mongo/db/repl/replication_coordinator_impl_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/repl/replication_coordinator_impl_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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/mongod_options_storage_gen.h --output build/opt/mongo/db/mongod_options_storage_gen.cpp src/mongo/db/mongod_options_storage.idl clang++ -o build/opt/mongo/db/repl/replication_coordinator_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 -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/replication_coordinator_impl.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/repl/replication_coordinator_impl_elect_v1.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_coordinator_impl_elect_v1.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/query/store_possible_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/store_possible_cursor.cpp In file included from src/mongo/db/repl/replication_coordinator_impl.cpp:36: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:39: In file included from src/mongo/client/dbclient_connection.h:36: 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/repl/replication_coordinator_impl.cpp:36: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:40: 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{}; \ ^ ~~ In file included from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:36: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:39: In file included from src/mongo/client/dbclient_connection.h:36: 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/repl/replication_coordinator_impl.cpp:55: 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/s/query/store_possible_cursor.cpp:32: In file included from src/mongo/s/query/store_possible_cursor.h:37: In file included from src/mongo/s/query/owned_remote_cursor.h:34: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/replication_coordinator_impl_elect_v1.cpp:36: In file included from src/mongo/db/repl/replication_coordinator_impl.h:40: In file included from src/mongo/db/repl/initial_syncer.h:43: In file included from src/mongo/db/repl/collection_cloner.h:40: 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{}; \ ^ ~~ In file included from src/mongo/s/query/store_possible_cursor.cpp:32: In file included from src/mongo/s/query/store_possible_cursor.h:37: In file included from src/mongo/s/query/owned_remote_cursor.h:34: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/store_possible_cursor.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/s/query/store_possible_cursor.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/s/query/store_possible_cursor.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. clang++ -o build/opt/mongo/db/repl/replication_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 -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/replication_info.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libstore_possible_cursor.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/store_possible_cursor.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libstore_possible_cursor.a clang++ -o build/opt/mongo/db/pipeline/lite_parsed_pipeline.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/lite_parsed_pipeline.cpp In file included from src/mongo/db/repl/replication_info.cpp:38: 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/repl/replication_info.cpp:40: 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/repl/replication_info.cpp:40: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/pipeline/lite_parsed_document_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 -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/lite_parsed_document_source.cpp /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/liblite_parsed_document_source.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/lite_parsed_document_source.o build/opt/mongo/db/pipeline/lite_parsed_pipeline.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/liblite_parsed_document_source.a clang++ -o build/opt/mongo/db/server_options_server_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 -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/server_options_server_helpers.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librepl_coordinator_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/check_quorum_for_config_change.o build/opt/mongo/db/repl/repl_set_config_checks.o build/opt/mongo/db/repl/replication_coordinator_impl.o build/opt/mongo/db/repl/replication_coordinator_impl_elect_v1.o build/opt/mongo/db/repl/replication_coordinator_impl_heartbeat.o build/opt/mongo/db/repl/vote_requester.o build/opt/mongo/db/repl/replication_coordinator_impl_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librepl_coordinator_impl.a clang++ -o build/opt/mongo/db/concurrency/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 -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/lock_manager.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreplication_info.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/replication_info.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplication_info.a clang++ -o build/opt/mongo/db/concurrency/d_concurrency.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/d_concurrency.cpp In file included from src/mongo/db/concurrency/lock_manager.cpp:41: 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/concurrency/lock_manager.cpp:41: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/concurrency/lock_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 -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/lock_state.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libserver_options_servers.a -s -no_warning_for_no_symbols build/opt/mongo/db/server_options_server_helpers.o Skipping ranlib for libtool generated target build/opt/mongo/db/libserver_options_servers.a clang++ -o build/opt/mongo/db/concurrency/lock_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 -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/lock_stats.cpp In file included from src/mongo/db/concurrency/lock_state.cpp:41: In file included from src/mongo/db/storage/flow_control.h:34: 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 2 warnings generated. clang++ -o build/opt/mongo/db/concurrency/replication_state_transition_lock_guard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_state_transition_lock_guard.cpp clang++ -o build/opt/mongo/db/repl/repl_settings.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repl_settings.cpp In file included from src/mongo/db/concurrency/lock_state.cpp:41: In file included from src/mongo/db/storage/flow_control.h:34: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/repl/repl_settings_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 -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/repl/repl_settings_gen.cpp clang++ -o build/opt/mongo/db/storage/index_entry_comparison.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/index_entry_comparison.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/concurrency/liblock_manager.a -s -no_warning_for_no_symbols build/opt/mongo/db/concurrency/d_concurrency.o build/opt/mongo/db/concurrency/lock_manager.o build/opt/mongo/db/concurrency/lock_state.o build/opt/mongo/db/concurrency/lock_stats.o build/opt/mongo/db/concurrency/replication_state_transition_lock_guard.o Skipping ranlib for libtool generated target build/opt/mongo/db/concurrency/liblock_manager.a clang++ -o build/opt/mongo/db/auth/authz_session_external_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 -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.cpp In file included from build/opt/mongo/db/repl/repl_settings_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/storage/libindex_entry_comparison.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/index_entry_comparison.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libindex_entry_comparison.a In file included from build/opt/mongo/db/repl/repl_settings_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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/auth/authorization_manager_impl_parameters_gen.h --output build/opt/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp src/mongo/db/auth/authorization_manager_impl_parameters.idl clang++ -o build/opt/mongo/db/auth/authorization_manager_impl_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 -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_impl_parameters_gen.cpp In file included from src/mongo/db/auth/authz_session_external_state.cpp:32: 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.cpp:32: 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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 In file included from build/opt/mongo/db/auth/authorization_manager_impl_parameters_gen.cpp:9: In file included from build/opt/mongo/db/auth/authorization_manager_impl_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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/auth/authz_manager_external_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 -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_manager_external_state.cpp In file included from build/opt/mongo/db/auth/authorization_manager_impl_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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librepl_settings.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/repl_settings.o build/opt/mongo/db/repl/repl_settings_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librepl_settings.a clang++ -o build/opt/mongo/db/auth/authorization_session_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 -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_session_impl.cpp In file included from build/opt/mongo/db/auth/authorization_manager_impl_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/auth/authz_manager_external_state.cpp:33: 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/auth/authz_manager_external_state.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 src/mongo/db/auth/authorization_session_impl.cpp:34: In file included from src/mongo/db/auth/authorization_session_impl.h: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/auth/authorization_session_impl.cpp:34: In file included from src/mongo/db/auth/authorization_session_impl.h: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/auth/authorization_session_impl.cpp:34: In file included from src/mongo/db/auth/authorization_session_impl.h: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{}; \ ^ ~~ 3 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/auth/user_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 -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/user_set.cpp clang++ -o build/opt/mongo/db/auth/authorization_manager_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 -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_impl.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/repair_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 -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/repair_database.cpp In file included from src/mongo/db/auth/user_set.cpp:30: In file included from src/mongo/db/auth/user_set.h: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/auth/authorization_manager_impl.cpp:34: 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/auth/authorization_manager_impl.cpp:49: 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/authorization_manager_impl.cpp:49: 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/auth/authorization_manager_impl.cpp:51: 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{}; \ ^ ~~ 1 warning generated. clang++ -o build/opt/mongo/db/commands/server_status_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 -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/server_status_servers.cpp In file included from src/mongo/db/repair_database.cpp:43: 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/repair_database.cpp:43: 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/commands/server_status_servers.cpp:35: 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/repair_database.cpp:52: 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/commands/server_status_servers.cpp:35: 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{}; \ ^ ~~ 4 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauth_impl_internal.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/authorization_manager_impl.o build/opt/mongo/db/auth/authorization_session_impl.o build/opt/mongo/db/auth/authz_manager_external_state.o build/opt/mongo/db/auth/authz_session_external_state.o build/opt/mongo/db/auth/user_set.o build/opt/mongo/db/auth/authorization_manager_impl_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauth_impl_internal.a clang++ -o build/opt/mongo/rpc/object_check.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/object_check.cpp 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/librepair_database.a -s -no_warning_for_no_symbols build/opt/mongo/db/repair_database.o Skipping ranlib for libtool generated target build/opt/mongo/db/librepair_database.a clang++ -o build/opt/mongo/rpc/legacy_reply_builder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/legacy_reply_builder.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libserver_status_servers.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/server_status_servers.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libserver_status_servers.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/rpc/object_check_gen.h --output build/opt/mongo/rpc/object_check_gen.cpp src/mongo/rpc/object_check.idl clang++ -o build/opt/mongo/rpc/object_check_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 -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/rpc/object_check_gen.cpp clang++ -o build/opt/mongo/rpc/legacy_request_builder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/legacy_request_builder.cpp In file included from src/mongo/rpc/legacy_reply_builder.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 1 warning generated. clang++ -o build/opt/mongo/rpc/legacy_reply.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/legacy_reply.cpp In file included from build/opt/mongo/rpc/object_check_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/rpc/legacy_request_builder.cpp:38: 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/legacy_reply.cpp:32: In file included from src/mongo/rpc/legacy_reply.h:32: 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/rpc/object_check_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/rpc/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 -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/factory.cpp 1 warning generated. clang++ -o build/opt/mongo/rpc/legacy_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/legacy_request.cpp In file included from src/mongo/rpc/factory.cpp:34: In file included from src/mongo/rpc/legacy_reply.h:32: 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/legacy_request.cpp: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. clang++ -o build/opt/mongo/rpc/reply_builder_interface.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/reply_builder_interface.cpp 2 warnings generated. clang++ -o build/opt/mongo/util/summation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/summation.cpp 1 warning generated. clang++ -o build/opt/mongo/s/query/blocking_results_merger.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/blocking_results_merger.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libsummation.a -s -no_warning_for_no_symbols build/opt/mongo/util/summation.o Skipping ranlib for libtool generated target build/opt/mongo/util/libsummation.a clang++ -o build/opt/mongo/s/query/async_results_merger.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/async_results_merger.cpp /usr/bin/libtool -static -o build/opt/mongo/rpc/librpc.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/factory.o build/opt/mongo/rpc/object_check.o build/opt/mongo/rpc/legacy_request.o build/opt/mongo/rpc/legacy_request_builder.o build/opt/mongo/rpc/legacy_reply.o build/opt/mongo/rpc/legacy_reply_builder.o build/opt/mongo/rpc/reply_builder_interface.o build/opt/mongo/rpc/object_check_gen.o Skipping ranlib for libtool generated target build/opt/mongo/rpc/librpc.a clang++ -o build/opt/mongo/s/query/establish_cursors.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/establish_cursors.cpp In file included from src/mongo/s/query/blocking_results_merger.cpp:34: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/query/blocking_results_merger.cpp:34: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/query/async_results_merger.cpp:34: In file included from src/mongo/s/query/async_results_merger.h:41: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/async_results_merger.cpp:34: In file included from src/mongo/s/query/async_results_merger.h:41: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/establish_cursors.cpp:34: In file included from src/mongo/s/query/establish_cursors.h:42: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/establish_cursors.cpp:34: In file included from src/mongo/s/query/establish_cursors.h:42: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/query/async_results_merger_params_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 -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/query/async_results_merger_params_gen.cpp 2 warnings generated. 2 warnings generated. clang++ -o build/opt/mongo/db/query/explain_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 -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/query/explain_options.cpp clang++ -o build/opt/mongo/s/request_types/balance_chunk_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/balance_chunk_request_type.cpp In file included from build/opt/mongo/s/query/async_results_merger_params_gen.cpp:9: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/query/async_results_merger_params_gen.cpp:9: In file included from build/opt/mongo/s/query/async_results_merger_params_gen.h:24: In file included from src/mongo/db/query/cursor_response.h:36: 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/db/query/libexplain_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/explain_options.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libexplain_options.a clang++ -o build/opt/mongo/s/request_types/add_shard_to_zone_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/add_shard_to_zone_request_type.cpp clang++ -o build/opt/mongo/s/catalog/type_config_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_config_version.cpp clang++ -o build/opt/mongo/s/catalog/type_tags.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_tags.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libasync_results_merger.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/async_results_merger.o build/opt/mongo/s/query/blocking_results_merger.o build/opt/mongo/s/query/establish_cursors.o build/opt/mongo/s/query/async_results_merger_params_gen.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libasync_results_merger.a clang++ -o build/opt/mongo/s/catalog/type_changelog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_changelog.cpp clang++ -o build/opt/mongo/s/catalog/type_mongos.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_mongos.cpp clang++ -o build/opt/mongo/s/chunk_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_version.cpp clang++ -o build/opt/mongo/s/request_types/merge_chunk_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/merge_chunk_request_type.cpp clang++ -o build/opt/mongo/s/request_types/update_zone_key_range_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/update_zone_key_range_request_type.cpp clang++ -o build/opt/mongo/s/catalog/type_shard_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 -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/type_shard_collection.cpp clang++ -o build/opt/mongo/s/catalog/type_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 -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/type_collection.cpp clang++ -o build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_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 -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/request_types/clone_collection_options_from_primary_shard_gen.cpp clang++ -o build/opt/mongo/s/request_types/split_chunk_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/split_chunk_request_type.cpp clang++ -o build/opt/mongo/s/stale_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 -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/stale_exception.cpp In file included from build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_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/s/request_types/clone_collection_options_from_primary_shard_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/s/request_types/remove_shard_from_zone_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/remove_shard_from_zone_request_type.cpp clang++ -o build/opt/mongo/s/shard_id.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_id.cpp clang++ -o build/opt/mongo/s/cannot_implicitly_create_collection_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 -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/cannot_implicitly_create_collection_info.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/request_types/wait_for_fail_point_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 -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/request_types/wait_for_fail_point_gen.cpp clang++ -o build/opt/mongo/s/request_types/shard_collection_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 -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/request_types/shard_collection_gen.cpp clang++ -o build/opt/mongo/s/request_types/move_chunk_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/move_chunk_request.cpp In file included from build/opt/mongo/s/request_types/wait_for_fail_point_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/s/request_types/shard_collection_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/s/request_types/wait_for_fail_point_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/s/request_types/shard_collection_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/s/request_types/flush_database_cache_updates_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 -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/request_types/flush_database_cache_updates_gen.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/catalog/type_chunk_base_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 -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/catalog/type_chunk_base_gen.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/request_types/create_database_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 -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/request_types/create_database_gen.cpp In file included from build/opt/mongo/s/request_types/flush_database_cache_updates_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/s/catalog/type_chunk_base_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/s/request_types/flush_database_cache_updates_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/s/request_types/create_database_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/s/catalog/type_chunk_base_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/s/request_types/create_database_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/s/catalog/type_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 -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/type_chunk.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/catalog/type_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 -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/type_database.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/request_types/commit_chunk_migration_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/commit_chunk_migration_request_type.cpp clang++ -o build/opt/mongo/s/request_types/migration_secondary_throttle_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 -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/request_types/migration_secondary_throttle_options.cpp clang++ -o build/opt/mongo/s/request_types/merge_chunks_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/merge_chunks_request_type.cpp clang++ -o build/opt/mongo/s/catalog/type_lockpings.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_lockpings.cpp clang++ -o build/opt/mongo/s/request_types/clone_catalog_data_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 -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/request_types/clone_catalog_data_gen.cpp clang++ -o build/opt/mongo/s/request_types/get_database_version_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 -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/request_types/get_database_version_gen.cpp clang++ -o build/opt/mongo/s/request_types/flush_routing_table_cache_updates_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 -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/request_types/flush_routing_table_cache_updates_gen.cpp In file included from build/opt/mongo/s/request_types/clone_catalog_data_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/s/request_types/clone_catalog_data_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/s/request_types/get_database_version_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/s/request_types/flush_routing_table_cache_updates_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/s/request_types/get_database_version_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/s/request_types/flush_routing_table_cache_updates_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/s/catalog/type_shard_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 -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/type_shard_database.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/database_version_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 -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/database_version_gen.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/database_version_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 -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/database_version_helpers.cpp clang++ -o build/opt/mongo/s/request_types/create_collection_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 -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/request_types/create_collection_gen.cpp In file included from build/opt/mongo/s/database_version_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/s/request_types/move_primary_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 -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/request_types/move_primary_gen.cpp In file included from build/opt/mongo/s/database_version_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/s/request_types/create_collection_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/s/request_types/create_collection_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/s/request_types/move_primary_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/s/request_types/move_primary_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/s/request_types/set_shard_version_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/set_shard_version_request.cpp 2 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/chunk_version_gen.h --output build/opt/mongo/s/chunk_version_gen.cpp src/mongo/s/chunk_version.idl clang++ -o build/opt/mongo/s/chunk_version_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 -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/chunk_version_gen.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/would_change_owning_shard_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 -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/would_change_owning_shard_exception.cpp clang++ -o build/opt/mongo/s/request_types/clear_jumbo_flag_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 -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/request_types/clear_jumbo_flag_gen.cpp In file included from build/opt/mongo/s/chunk_version_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/s/catalog/type_locks.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_locks.cpp In file included from build/opt/mongo/s/chunk_version_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/s/request_types/clear_jumbo_flag_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/s/request_types/clear_jumbo_flag_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/s/catalog/mongo_version_range.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/mongo_version_range.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/request_types/add_shard_request_type.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/request_types/add_shard_request_type.cpp 2 warnings generated. clang++ -o build/opt/mongo/s/catalog/type_shard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_shard.cpp clang++ -o build/opt/third_party/shim_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 -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_icu.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_icu.a -s -no_warning_for_no_symbols build/opt/third_party/shim_icu.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_icu.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_icu.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 -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 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 -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 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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/s/libcommon_s.a -s -no_warning_for_no_symbols build/opt/mongo/s/catalog/mongo_version_range.o build/opt/mongo/s/catalog/type_changelog.o build/opt/mongo/s/catalog/type_chunk.o build/opt/mongo/s/catalog/type_collection.o build/opt/mongo/s/catalog/type_config_version.o build/opt/mongo/s/catalog/type_database.o build/opt/mongo/s/catalog/type_lockpings.o build/opt/mongo/s/catalog/type_locks.o build/opt/mongo/s/catalog/type_mongos.o build/opt/mongo/s/catalog/type_shard_collection.o build/opt/mongo/s/catalog/type_shard_database.o build/opt/mongo/s/catalog/type_shard.o build/opt/mongo/s/catalog/type_tags.o build/opt/mongo/s/request_types/add_shard_request_type.o build/opt/mongo/s/request_types/add_shard_to_zone_request_type.o build/opt/mongo/s/request_types/balance_chunk_request_type.o build/opt/mongo/s/request_types/commit_chunk_migration_request_type.o build/opt/mongo/s/request_types/merge_chunk_request_type.o build/opt/mongo/s/request_types/merge_chunks_request_type.o build/opt/mongo/s/request_types/migration_secondary_throttle_options.o build/opt/mongo/s/request_types/move_chunk_request.o build/opt/mongo/s/request_types/remove_shard_from_zone_request_type.o build/opt/mongo/s/request_types/set_shard_version_request.o build/opt/mongo/s/request_types/split_chunk_request_type.o build/opt/mongo/s/request_types/update_zone_key_range_request_type.o build/opt/mongo/s/cannot_implicitly_create_collection_info.o build/opt/mongo/s/chunk_version.o build/opt/mongo/s/database_version_helpers.o build/opt/mongo/s/shard_id.o build/opt/mongo/s/stale_exception.o build/opt/mongo/s/would_change_owning_shard_exception.o build/opt/mongo/s/catalog/type_chunk_base_gen.o build/opt/mongo/s/chunk_version_gen.o build/opt/mongo/s/database_version_gen.o build/opt/mongo/s/request_types/clone_catalog_data_gen.o build/opt/mongo/s/request_types/clear_jumbo_flag_gen.o build/opt/mongo/s/request_types/create_collection_gen.o build/opt/mongo/s/request_types/create_database_gen.o build/opt/mongo/s/request_types/flush_database_cache_updates_gen.o build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.o build/opt/mongo/s/request_types/get_database_version_gen.o build/opt/mongo/s/request_types/move_primary_gen.o build/opt/mongo/s/request_types/shard_collection_gen.o build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o build/opt/mongo/s/request_types/wait_for_fail_point_gen.o Skipping ranlib for libtool generated target build/opt/mongo/s/libcommon_s.a 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 -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 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{}; \ ^ ~~ 2 warnings generated. 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 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 -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 /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 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{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/util/libquick_exit.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 -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 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 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 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 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{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauthorization_manager_global.a 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 -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 4 warnings generated. 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 -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: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/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 -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 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 -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 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{}; \ ^ ~~ 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 -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 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/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{}; \ ^ ~~ 2 warnings generated. 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 -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 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 clang++ -o build/opt/mongo/db/storage/bson_collection_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 -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/bson_collection_catalog_entry.cpp 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{}; \ ^ ~~ 2 warnings generated. 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 -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/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 -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 2 warnings generated. /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 /usr/bin/libtool -static -o build/opt/mongo/db/storage/libbson_collection_catalog_entry.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/bson_collection_catalog_entry.o Skipping ranlib for libtool generated target build/opt/mongo/rpc/libmetadata.a clang++ -o build/opt/mongo/db/multi_key_path_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 -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/multi_key_path_tracker.cpp Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libbson_collection_catalog_entry.a clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_extensions.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/wiredtiger/wiredtiger_extensions.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/wiredtiger/wiredtiger_customization_hooks.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libmulti_key_path_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/db/multi_key_path_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/db/libmulti_key_path_tracker.a 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 -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 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/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 -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/db/auth/restriction_environment.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/restriction_environment.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_extensions.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.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 -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 /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 clang++ -o build/opt/mongo/db/query/hint_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 -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/query/hint_parser.cpp /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauthentication_restriction.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/restriction_environment.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauthentication_restriction.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/query/hint_gen.h --output build/opt/mongo/db/query/hint_gen.cpp src/mongo/db/query/hint.idl clang++ -o build/opt/mongo/db/query/hint_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 -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/query/hint_gen.cpp clang++ -o build/opt/mongo/db/pipeline/runtime_constants_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 -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/runtime_constants_gen.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/db/ftdc/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 -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/ftdc/util.cpp In file included from build/opt/mongo/db/query/hint_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/query/hint_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/runtime_constants_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/runtime_constants_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/ftdc/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 -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/ftdc/controller.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/query/libhint_parser.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/hint_parser.o build/opt/mongo/db/query/hint_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libhint_parser.a clang++ -o build/opt/mongo/db/ftdc/decompressor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/decompressor.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libruntime_constants_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/runtime_constants_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libruntime_constants_idl.a clang++ -o build/opt/mongo/db/ftdc/compressor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/compressor.cpp clang++ -o build/opt/mongo/db/ftdc/file_writer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/file_writer.cpp clang++ -o build/opt/mongo/db/ftdc/file_reader.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/file_reader.cpp clang++ -o build/opt/mongo/db/ftdc/varint.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/varint.cpp clang++ -o build/opt/mongo/db/ftdc/file_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 -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/ftdc/file_manager.cpp clang++ -o build/opt/mongo/db/ftdc/block_compressor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/block_compressor.cpp clang++ -o build/opt/mongo/db/ftdc/collector.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/collector.cpp clang++ -o build/opt/mongo/db/repl/sync_source_resolver.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sync_source_resolver.cpp clang++ -o build/opt/mongo/util/periodic_runner_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 -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_factory.cpp /usr/bin/libtool -static -o build/opt/mongo/db/ftdc/libftdc.a -s -no_warning_for_no_symbols build/opt/mongo/db/ftdc/block_compressor.o build/opt/mongo/db/ftdc/collector.o build/opt/mongo/db/ftdc/compressor.o build/opt/mongo/db/ftdc/controller.o build/opt/mongo/db/ftdc/decompressor.o build/opt/mongo/db/ftdc/file_manager.o build/opt/mongo/db/ftdc/file_reader.o build/opt/mongo/db/ftdc/file_writer.o build/opt/mongo/db/ftdc/util.o build/opt/mongo/db/ftdc/varint.o Skipping ranlib for libtool generated target build/opt/mongo/db/ftdc/libftdc.a clang++ -o build/opt/mongo/db/repl/rollback_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 -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/repl/rollback_gen.cpp In file included from src/mongo/db/repl/sync_source_resolver.cpp:34: In file included from src/mongo/db/repl/sync_source_resolver.h:36: 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/sync_source_resolver.cpp:34: In file included from src/mongo/db/repl/sync_source_resolver.h:36: 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{}; \ ^ ~~ In file included from build/opt/mongo/db/repl/rollback_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/util/libperiodic_runner_factory.a -s -no_warning_for_no_symbols build/opt/mongo/util/periodic_runner_factory.o Skipping ranlib for libtool generated target build/opt/mongo/util/libperiodic_runner_factory.a clang++ -o build/opt/mongo/util/net/hostandport.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/hostandport.cpp In file included from build/opt/mongo/db/repl/rollback_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/libsync_source_resolver.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/sync_source_resolver.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libsync_source_resolver.a clang++ -o build/opt/mongo/util/net/socket_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 -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/socket_exception.cpp clang++ -o build/opt/mongo/util/net/hostname_canonicalization.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/hostname_canonicalization.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librollback_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/rollback_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librollback_idl.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/util/net/hostandport_gen.h --output build/opt/mongo/util/net/hostandport_gen.cpp src/mongo/util/net/hostandport.idl clang++ -o build/opt/mongo/util/net/hostandport_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 -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/net/hostandport_gen.cpp clang++ -o build/opt/mongo/util/net/socket_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 -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/socket_utils.cpp clang++ -o build/opt/mongo/util/net/sockaddr.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sockaddr.cpp In file included from build/opt/mongo/util/net/hostandport_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/net/cidr.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/cidr.cpp In file included from build/opt/mongo/util/net/hostandport_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/catalog/disable_index_spec_namespace_generation_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 -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/disable_index_spec_namespace_generation_gen.cpp clang++ -o build/opt/mongo/db/catalog/collection_catalog_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 -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_helper.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/util/net/libnetwork.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/cidr.o build/opt/mongo/util/net/hostandport.o build/opt/mongo/util/net/hostname_canonicalization.o build/opt/mongo/util/net/sockaddr.o build/opt/mongo/util/net/socket_exception.o build/opt/mongo/util/net/socket_utils.o build/opt/mongo/util/net/hostandport_gen.o In file included from build/opt/mongo/db/catalog/disable_index_spec_namespace_generation_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 Skipping ranlib for libtool generated target build/opt/mongo/util/net/libnetwork.a clang++ -o build/opt/mongo/s/chunk_writes_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 -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_writes_tracker.cpp In file included from build/opt/mongo/db/catalog/disable_index_spec_namespace_generation_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_helper.cpp:30: In file included from src/mongo/db/catalog/collection_catalog_helper.h:32: 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 /usr/bin/libtool -static -o build/opt/mongo/s/libchunk_writes_tracker.a -s -no_warning_for_no_symbols build/opt/mongo/s/chunk_writes_tracker.o Skipping ranlib for libtool generated target build/opt/mongo/s/libchunk_writes_tracker.a In file included from src/mongo/db/catalog/collection_catalog_helper.cpp:30: In file included from src/mongo/db/catalog/collection_catalog_helper.h:32: 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/write_concern.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/write_concern.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libdisable_index_spec_namespace_generation.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/disable_index_spec_namespace_generation_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libdisable_index_spec_namespace_generation.a clang++ -o build/opt/mongo/db/read_concern.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp In file included from src/mongo/db/read_concern.cpp:30: 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.cpp:30: 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.cpp:30: 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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libcollection_catalog_helper.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/collection_catalog_helper.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcollection_catalog_helper.a clang -o build/opt/third_party/timelib-2021.06/interval.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/interval.c 3 warnings generated. clang -o build/opt/third_party/timelib-2021.06/unixtime2tm.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/unixtime2tm.c clang -o build/opt/third_party/timelib-2021.06/parse_date.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/parse_date.c /usr/bin/libtool -static -o build/opt/mongo/db/librw_concern_d.a -s -no_warning_for_no_symbols build/opt/mongo/db/read_concern.o build/opt/mongo/db/write_concern.o clang -o build/opt/third_party/timelib-2021.06/astro.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/astro.c Skipping ranlib for libtool generated target build/opt/mongo/db/librw_concern_d.a clang -o build/opt/third_party/timelib-2021.06/timelib.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/timelib.c clang -o build/opt/third_party/timelib-2021.06/parse_zoneinfo.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/parse_zoneinfo.c clang -o build/opt/third_party/timelib-2021.06/parse_posix.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/parse_posix.c clang -o build/opt/third_party/timelib-2021.06/parse_tz.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/parse_tz.c clang -o build/opt/third_party/timelib-2021.06/tm2unixtime.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/tm2unixtime.c clang -o build/opt/third_party/timelib-2021.06/dow.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/dow.c clang -o build/opt/third_party/timelib-2021.06/parse_iso_intervals.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/timelib-2021.06/parse_iso_intervals.c clang++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ephemeral_for_test/ephemeral_for_test_recovery_unit.cpp clang++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_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 -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/ephemeral_for_test/ephemeral_for_test_btree_impl.cpp clang++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ephemeral_for_test/ephemeral_for_test_engine.cpp clang++ -o build/opt/mongo/db/query/planner_access.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/planner_access.cpp /usr/bin/libtool -static -o build/opt/third_party/timelib-2021.06/libtimelib.a -s -no_warning_for_no_symbols build/opt/third_party/timelib-2021.06/astro.o build/opt/third_party/timelib-2021.06/dow.o build/opt/third_party/timelib-2021.06/interval.o build/opt/third_party/timelib-2021.06/parse_date.o build/opt/third_party/timelib-2021.06/parse_iso_intervals.o build/opt/third_party/timelib-2021.06/parse_tz.o build/opt/third_party/timelib-2021.06/parse_posix.o build/opt/third_party/timelib-2021.06/parse_zoneinfo.o build/opt/third_party/timelib-2021.06/timelib.o build/opt/third_party/timelib-2021.06/tm2unixtime.o build/opt/third_party/timelib-2021.06/unixtime2tm.o Skipping ranlib for libtool generated target build/opt/third_party/timelib-2021.06/libtimelib.a clang++ -o build/opt/mongo/db/query/query_solution.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/query_solution.cpp In file included from src/mongo/db/query/planner_access.cpp:34: In file included from src/mongo/db/query/planner_access.h:32: 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/query/query_solution.cpp:32: 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/query/planner_access.cpp:34: In file included from src/mongo/db/query/planner_access.h:32: 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/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a In file included from src/mongo/db/query/query_solution.cpp:32: 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/query/planner_access.cpp:44: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 */ ^ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/query/expression_index_knobs_gen.h --output build/opt/mongo/db/query/expression_index_knobs_gen.cpp src/mongo/db/query/expression_index_knobs.idl In file included from src/mongo/db/query/query_solution.cpp:38: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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/query/index_bounds_builder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/index_bounds_builder.cpp In file included from src/mongo/db/query/index_bounds_builder.cpp:32: 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 In file included from src/mongo/db/query/index_bounds_builder.cpp:32: 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{}; \ ^ ~~ In file included from src/mongo/db/query/index_bounds_builder.cpp:39: 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 */ ^ 3 warnings generated. clang++ -o build/opt/mongo/db/query/expression_index_knobs_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 -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/query/expression_index_knobs_gen.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/query/plan_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 -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/query/plan_cache.cpp In file included from build/opt/mongo/db/query/expression_index_knobs_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/query/plan_cache.cpp:34: 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/query/expression_index_knobs_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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/query/index_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 -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/query/index_entry.cpp In file included from src/mongo/db/query/plan_cache.cpp:34: 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/query/plan_cache.cpp:47: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 */ ^ 2 warnings generated. clang++ -o build/opt/mongo/db/query/planner_wildcard_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 -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/query/planner_wildcard_helpers.cpp clang++ -o build/opt/mongo/db/query/query_planner_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 -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/query/query_planner_common.cpp In file included from src/mongo/db/query/planner_wildcard_helpers.cpp:34: In file included from src/mongo/db/query/planner_wildcard_helpers.h:36: 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 In file included from src/mongo/db/query/planner_wildcard_helpers.cpp:34: In file included from src/mongo/db/query/planner_wildcard_helpers.h:36: 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{}; \ ^ ~~ In file included from src/mongo/db/query/query_planner_common.cpp:34: In file included from src/mongo/db/query/query_planner_common.h:34: 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/query/query_planner_common.cpp:34: In file included from src/mongo/db/query/query_planner_common.h:34: 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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/query/index_tag.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/index_tag.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/query/expression_index.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/expression_index.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/query/interval.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/interval.cpp clang++ -o build/opt/mongo/db/query/planner_analysis.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/planner_analysis.cpp clang++ -o build/opt/mongo/db/query/query_settings.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/query_settings.cpp In file included from src/mongo/db/query/expression_index.cpp:30: In file included from src/mongo/db/query/expression_index.h:38: 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 In file included from src/mongo/db/query/expression_index.cpp:30: In file included from src/mongo/db/query/expression_index.h:38: 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{}; \ ^ ~~ In file included from src/mongo/db/query/planner_analysis.cpp:32: In file included from src/mongo/db/query/planner_analysis.h:32: 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/query/query_settings.cpp:30: In file included from src/mongo/db/query/query_settings.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/query/planner_analysis.cpp:32: In file included from src/mongo/db/query/planner_analysis.h:32: 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/query/planner_analysis.cpp:42: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 src/mongo/db/query/query_settings.cpp:30: In file included from src/mongo/db/query/query_settings.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/query/parsed_projection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/parsed_projection.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/query/canonical_query.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/canonical_query.cpp In file included from src/mongo/db/query/parsed_projection.cpp:30: 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: 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/query/parsed_projection.cpp:30: 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/query/plan_enumerator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/plan_enumerator.cpp In file included from src/mongo/db/query/canonical_query.cpp: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/query/plan_enumerator.cpp:32: In file included from src/mongo/db/query/plan_enumerator.h:35: 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/query/canonical_query.cpp: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/query/planner_ixselect.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/planner_ixselect.cpp In file included from src/mongo/db/query/plan_enumerator.cpp:32: In file included from src/mongo/db/query/plan_enumerator.h:35: 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/query/planner_ixselect.cpp:32: In file included from src/mongo/db/query/planner_ixselect.h:33: 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/query/planner_ixselect.cpp:32: In file included from src/mongo/db/query/planner_ixselect.h:33: 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/query/query_planner.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/query_planner.cpp In file included from src/mongo/db/query/planner_ixselect.cpp:42: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 src/mongo/db/query/query_planner.cpp:34: In file included from src/mongo/db/query/query_planner.h:33: 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/query/query_planner.cpp:34: In file included from src/mongo/db/query/query_planner.h:33: 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/query/query_planner.cpp:45: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 */ ^ 2 warnings generated. clang++ -o build/opt/mongo/db/query/index_bounds.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/index_bounds.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/query/canonical_query_encoder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/canonical_query_encoder.cpp In file included from src/mongo/db/query/canonical_query_encoder.cpp:34: In file included from src/mongo/db/query/canonical_query_encoder.h:32: 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/query/plan_cache_indexability.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/plan_cache_indexability.cpp In file included from src/mongo/db/query/canonical_query_encoder.cpp:34: In file included from src/mongo/db/query/canonical_query_encoder.h:32: 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/query/canonical_query_encoder.cpp:40: In file included from src/mongo/db/matcher/expression_geo.h:34: In file included from src/mongo/db/geo/geometry_container.h:34: 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 */ ^ 3 warnings generated. clang++ -o build/opt/mongo/db/auth/security_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 -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/security_file.cpp In file included from src/mongo/db/query/plan_cache_indexability.cpp:44: In file included from src/mongo/db/query/planner_ixselect.h:33: 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/query/plan_cache_indexability.cpp:44: In file included from src/mongo/db/query/planner_ixselect.h:33: 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/auth/libsecurity_file.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/security_file.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libsecurity_file.a 3 warnings generated. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 clang++ -o build/opt/mongo/db/s/add_shard_cmd_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 -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/s/add_shard_cmd_gen.cpp 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/query/libquery_planner.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/canonical_query.o build/opt/mongo/db/query/canonical_query_encoder.o build/opt/mongo/db/query/index_tag.o build/opt/mongo/db/query/parsed_projection.o build/opt/mongo/db/query/plan_cache.o build/opt/mongo/db/query/plan_cache_indexability.o build/opt/mongo/db/query/plan_enumerator.o build/opt/mongo/db/query/planner_access.o build/opt/mongo/db/query/planner_wildcard_helpers.o build/opt/mongo/db/query/planner_analysis.o build/opt/mongo/db/query/planner_ixselect.o build/opt/mongo/db/query/query_planner.o build/opt/mongo/db/query/expression_index.o build/opt/mongo/db/query/index_bounds.o build/opt/mongo/db/query/index_bounds_builder.o build/opt/mongo/db/query/index_entry.o build/opt/mongo/db/query/interval.o build/opt/mongo/db/query/query_planner_common.o build/opt/mongo/db/query/query_settings.o build/opt/mongo/db/query/query_solution.o build/opt/mongo/db/query/expression_index_knobs_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libquery_planner.a clang++ -o build/opt/mongo/db/s/type_shard_identity.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/type_shard_identity.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 In file included from build/opt/mongo/db/s/add_shard_cmd_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/s/add_shard_cmd_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.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{}; \ ^ ~~ 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 -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 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 { ^ 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 { ^ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libtype_shard_identity.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/add_shard_cmd_gen.o build/opt/mongo/db/s/type_shard_identity.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libtype_shard_identity.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 -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 /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/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 -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 /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/repl/replication_consistency_markers_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 -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/repl/replication_consistency_markers_gen.cpp In file included from build/opt/mongo/db/repl/replication_consistency_markers_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/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/db/repl/oplog_buffer_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 -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_buffer_collection.cpp In file included from build/opt/mongo/db/repl/replication_consistency_markers_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/repl/oplog_buffer_collection.cpp:43: 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 5 warnings generated. clang++ -o build/opt/mongo/db/repl/timestamp_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 -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/timestamp_block.cpp 2 warnings generated. In file included from src/mongo/db/repl/oplog_buffer_collection.cpp:43: 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{}; \ ^ ~~ /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreplication_consistency_markers_idl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/replication_consistency_markers_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplication_consistency_markers_idl.a 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/repl/libtimestamp_block.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/timestamp_block.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libtimestamp_block.a clang++ -o build/opt/mongo/db/periodic_runner_job_abort_expired_transactions.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/periodic_runner_job_abort_expired_transactions.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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_buffer_collection.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_buffer_collection.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_buffer_collection.a clang++ -o build/opt/mongo/s/write_ops/write_error_detail.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_error_detail.cpp In file included from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:39: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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/db/periodic_runner_job_abort_expired_transactions.cpp:39: In file included from src/mongo/db/transaction_participant.h:41: In file included from src/mongo/db/ops/update_request.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. /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/s/write_ops/batched_command_response.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/batched_command_response.cpp clang++ -o build/opt/mongo/s/write_ops/batched_command_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/batched_command_request.cpp In file included from src/mongo/s/write_ops/batched_command_response.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/s/write_ops/batched_command_response.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{}; \ ^ ~~ clang++ -o build/opt/mongo/s/write_ops/batched_upsert_detail.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/batched_upsert_detail.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libperiodic_runner_job_abort_expired_transactions.a -s -no_warning_for_no_symbols build/opt/mongo/db/periodic_runner_job_abort_expired_transactions.o Skipping ranlib for libtool generated target build/opt/mongo/db/libperiodic_runner_job_abort_expired_transactions.a clang++ -o build/opt/mongo/db/startup_warnings_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 -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/startup_warnings_common.cpp 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/libstartup_warnings_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/startup_warnings_common.o Skipping ranlib for libtool generated target build/opt/mongo/db/libstartup_warnings_common.a clang++ -o build/opt/mongo/db/commands/txn_cmds_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 -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/txn_cmds_gen.cpp /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/db/commands/txn_two_phase_commit_cmds_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 -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/txn_two_phase_commit_cmds_gen.cpp In file included from build/opt/mongo/db/commands/txn_cmds_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/txn_cmds_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/write_ops/libbatch_write_types.a -s -no_warning_for_no_symbols build/opt/mongo/s/write_ops/batched_command_request.o build/opt/mongo/s/write_ops/batched_command_response.o build/opt/mongo/s/write_ops/batched_upsert_detail.o build/opt/mongo/s/write_ops/write_error_detail.o In file included from build/opt/mongo/db/commands/txn_two_phase_commit_cmds_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 Skipping ranlib for libtool generated target build/opt/mongo/s/write_ops/libbatch_write_types.a clang++ -o build/opt/mongo/util/concurrency/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 -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/concurrency/ticketholder.cpp In file included from build/opt/mongo/db/commands/txn_two_phase_commit_cmds_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/ftdc/ftdc_system_stats_macOS.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ftdc/ftdc_system_stats_macOS.cpp /usr/bin/libtool -static -o build/opt/mongo/util/concurrency/libticketholder.a -s -no_warning_for_no_symbols build/opt/mongo/util/concurrency/ticketholder.o Skipping ranlib for libtool generated target build/opt/mongo/util/concurrency/libticketholder.a 2 warnings generated. clang++ -o build/opt/mongo/db/ftdc/ftdc_system_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 -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/ftdc/ftdc_system_stats.cpp /usr/bin/libtool -static -o build/opt/mongo/db/commands/libtxn_cmd_request.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/txn_cmds_gen.o build/opt/mongo/db/commands/txn_two_phase_commit_cmds_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libtxn_cmd_request.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/ftdc/ftdc_server_gen.h --output build/opt/mongo/db/ftdc/ftdc_server_gen.cpp src/mongo/db/ftdc/ftdc_server.idl 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 -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 clang++ -o build/opt/mongo/db/ftdc/ftdc_server_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 -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/ftdc/ftdc_server_gen.cpp 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 clang++ -o build/opt/mongo/db/ftdc/ftdc_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 -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/ftdc/ftdc_server.cpp clang++ -o build/opt/mongo/executor/connection_pool.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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.cpp In file included from build/opt/mongo/db/ftdc/ftdc_server_gen.cpp:9: In file included from build/opt/mongo/db/ftdc/ftdc_server_gen.h:21: In file included from src/mongo/db/ftdc/ftdc_server.h: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/ftdc/ftdc_server.cpp:32: In file included from src/mongo/db/ftdc/ftdc_server.h: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/ftdc/ftdc_server_gen.cpp:9: In file included from build/opt/mongo/db/ftdc/ftdc_server_gen.h:21: In file included from src/mongo/db/ftdc/ftdc_server.h: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{}; \ ^ ~~ In file included from src/mongo/db/ftdc/ftdc_server.cpp:32: In file included from src/mongo/db/ftdc/ftdc_server.h: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/s/chunk_splitter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/chunk_splitter.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/ftdc/libftdc_server.a -s -no_warning_for_no_symbols build/opt/mongo/db/ftdc/ftdc_server.o build/opt/mongo/db/ftdc/ftdc_server_gen.o build/opt/mongo/db/ftdc/ftdc_system_stats.o build/opt/mongo/db/ftdc/ftdc_system_stats_macOS.o Skipping ranlib for libtool generated target build/opt/mongo/db/ftdc/libftdc_server.a clang++ -o build/opt/mongo/db/s/shard_identity_rollback_notifier.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shard_identity_rollback_notifier.cpp In file included from src/mongo/db/s/chunk_splitter.cpp:36: 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 clang++ -o build/opt/mongo/db/s/namespace_metadata_change_notifications.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/namespace_metadata_change_notifications.cpp /usr/bin/libtool -static -o build/opt/mongo/executor/libconnection_pool_executor.a -s -no_warning_for_no_symbols build/opt/mongo/executor/connection_pool.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libconnection_pool_executor.a clang++ -o build/opt/mongo/db/s/periodic_sharded_index_consistency_checker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/periodic_sharded_index_consistency_checker.cpp 1 warning generated. clang++ -o build/opt/mongo/db/s/periodic_balancer_config_refresher.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/periodic_balancer_config_refresher.cpp In file included from src/mongo/db/s/periodic_sharded_index_consistency_checker.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 clang++ -o build/opt/mongo/db/s/migration_source_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 -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/migration_source_manager.cpp In file included from src/mongo/db/s/periodic_sharded_index_consistency_checker.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/collection_sharding_state_factory_shard.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_factory_shard.cpp In file included from src/mongo/db/s/migration_source_manager.cpp:37: 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/s/migration_source_manager.cpp:37: 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/s/migration_source_manager.cpp:42: 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/s/migration_source_manager.cpp:42: 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/s/migration_source_manager.cpp:42: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/s/migration_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 -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/migration_util.cpp clang++ -o build/opt/mongo/db/s/move_timing_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 -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/move_timing_helper.cpp clang++ -o build/opt/mongo/db/s/active_move_primaries_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 -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/active_move_primaries_registry.cpp In file included from src/mongo/db/s/move_timing_helper.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 5 warnings generated. clang++ -o build/opt/mongo/db/s/session_catalog_migration_destination.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/session_catalog_migration_destination.cpp In file included from src/mongo/db/s/move_timing_helper.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/s/scoped_operation_completion_sharding_actions.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/scoped_operation_completion_sharding_actions.cpp In file included from src/mongo/db/s/session_catalog_migration_destination.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 In file included from src/mongo/db/s/session_catalog_migration_destination.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/s/shard_server_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 -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/shard_server_op_observer.cpp In file included from src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp: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/s/shard_server_op_observer.cpp:34: In file included from src/mongo/db/s/shard_server_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 src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp: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 src/mongo/db/s/shard_server_op_observer.cpp:34: In file included from src/mongo/db/s/shard_server_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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/s/active_shard_collection_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 -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/active_shard_collection_registry.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/migration_destination_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 -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/migration_destination_manager.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/collection_sharding_runtime.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_runtime.cpp In file included from src/mongo/db/s/active_shard_collection_registry.cpp: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/s/active_shard_collection_registry.cpp: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 src/mongo/db/s/migration_destination_manager.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/s/migration_destination_manager.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/s/migration_destination_manager.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/s/migration_destination_manager.cpp:41: 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/s/migration_destination_manager.cpp:41: 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/s/collection_sharding_runtime.cpp:37: 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/s/collection_sharding_runtime.cpp:37: 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/s/sharding_config_optime_gossip.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_config_optime_gossip.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/move_primary_source_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 -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/move_primary_source_manager.cpp In file included from src/mongo/db/s/sharding_config_optime_gossip.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/s/sharding_config_optime_gossip.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/s/sharding_config_optime_gossip.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/s/move_primary_source_manager.cpp:34: In file included from src/mongo/db/s/move_primary_source_manager.h:32: 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 3 warnings generated. clang++ -o build/opt/mongo/db/s/sharding_state_recovery.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_recovery.cpp In file included from src/mongo/db/s/move_primary_source_manager.cpp:34: In file included from src/mongo/db/s/move_primary_source_manager.h:32: 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{}; \ ^ ~~ 5 warnings generated. clang++ -o build/opt/mongo/db/s/migration_chunk_cloner_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 -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/migration_chunk_cloner_source.cpp In file included from src/mongo/db/s/sharding_state_recovery.cpp:40: 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 clang++ -o build/opt/mongo/db/s/chunk_move_write_concern_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 -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/chunk_move_write_concern_options.cpp In file included from src/mongo/db/s/sharding_state_recovery.cpp:40: 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/s/config_server_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 -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/config_server_op_observer.cpp clang++ -o build/opt/mongo/db/s/split_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 -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/split_chunk.cpp In file included from src/mongo/db/s/config_server_op_observer.cpp:34: In file included from src/mongo/db/s/config_server_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 2 warnings generated. clang++ -o build/opt/mongo/db/s/shard_filtering_metadata_refresh.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shard_filtering_metadata_refresh.cpp In file included from src/mongo/db/s/config_server_op_observer.cpp:34: In file included from src/mongo/db/s/config_server_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/s/split_chunk.cpp:39: 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/s/shard_filtering_metadata_refresh.cpp:36: 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/s/split_chunk.cpp:39: 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/s/shard_filtering_metadata_refresh.cpp:36: 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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/s/read_only_catalog_cache_loader.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/read_only_catalog_cache_loader.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/active_migrations_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 -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/active_migrations_registry.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/split_vector.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/split_vector.cpp clang++ -o build/opt/mongo/db/s/collection_range_deleter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_range_deleter.cpp In file included from src/mongo/db/s/active_migrations_registry.cpp: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/s/split_vector.cpp:39: 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/s/active_migrations_registry.cpp: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 src/mongo/db/s/split_vector.cpp:39: 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/s/collection_range_deleter.cpp:40: 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/s/collection_range_deleter.cpp:40: 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/s/sharding_statistics.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_statistics.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/sharding_initialization_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 -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_initialization_mongod.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/shard_metadata_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 -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/shard_metadata_util.cpp In file included from src/mongo/db/s/sharding_initialization_mongod.cpp:37: 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 clang++ -o build/opt/mongo/db/s/implicit_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 -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/implicit_create_collection.cpp In file included from src/mongo/db/s/sharding_initialization_mongod.cpp:41: 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/s/shard_metadata_util.cpp:36: In file included from src/mongo/db/dbdirectclient.h:32: 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/implicit_create_collection.cpp:40: 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/s/implicit_create_collection.cpp:40: 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{}; \ ^ ~~ 1 warning generated. clang++ -o build/opt/mongo/db/s/metadata_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 -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/metadata_manager.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/s/session_catalog_migration_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 -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/session_catalog_migration_source.cpp In file included from src/mongo/db/s/metadata_manager.cpp:39: In file included from src/mongo/db/query/internal_plans.h:33: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/s/migration_chunk_cloner_source_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 -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/migration_chunk_cloner_source_legacy.cpp In file included from src/mongo/db/s/metadata_manager.cpp:39: In file included from src/mongo/db/query/internal_plans.h:33: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/session_catalog_migration_source.cpp:32: In file included from src/mongo/db/s/session_catalog_migration_source.h:35: 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/migration_chunk_cloner_source_legacy.cpp:34: In file included from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:41: In file included from src/mongo/db/s/session_catalog_migration_source.h:35: 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/session_catalog_migration_source.cpp: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 src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:39: 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/s/shard_server_catalog_cache_loader.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shard_server_catalog_cache_loader.cpp In file included from src/mongo/db/s/shard_server_catalog_cache_loader.cpp:37: 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 2 warnings generated. clang++ -o build/opt/mongo/db/query/tailable_mode.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/tailable_mode.cpp 2 warnings generated. In file included from src/mongo/db/s/shard_server_catalog_cache_loader.cpp:37: 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/query/tailable_mode_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 -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/query/tailable_mode_gen.cpp In file included from src/mongo/db/s/shard_server_catalog_cache_loader.cpp:40: 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/s/shard_server_catalog_cache_loader.cpp:40: 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/s/shard_server_catalog_cache_loader.cpp:40: 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/db/query/query_request.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/query_request.cpp In file included from build/opt/mongo/db/query/tailable_mode_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/query/tailable_mode_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/query/query_request.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/query/query_request.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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/auth/authz_session_external_state_d.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_d.cpp In file included from src/mongo/db/auth/authz_session_external_state_d.cpp:32: In file included from src/mongo/db/auth/authz_session_external_state_d.h:33: 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_d.cpp:32: In file included from src/mongo/db/auth/authz_session_external_state_d.h:33: 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{}; \ ^ ~~ 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_runtime_d.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/active_migrations_registry.o build/opt/mongo/db/s/active_move_primaries_registry.o build/opt/mongo/db/s/active_shard_collection_registry.o build/opt/mongo/db/s/chunk_move_write_concern_options.o build/opt/mongo/db/s/chunk_splitter.o build/opt/mongo/db/s/collection_range_deleter.o build/opt/mongo/db/s/collection_sharding_runtime.o build/opt/mongo/db/s/collection_sharding_state_factory_shard.o build/opt/mongo/db/s/config_server_op_observer.o build/opt/mongo/db/s/implicit_create_collection.o build/opt/mongo/db/s/metadata_manager.o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy.o build/opt/mongo/db/s/migration_chunk_cloner_source.o build/opt/mongo/db/s/migration_destination_manager.o build/opt/mongo/db/s/migration_source_manager.o build/opt/mongo/db/s/migration_util.o build/opt/mongo/db/s/move_primary_source_manager.o build/opt/mongo/db/s/move_timing_helper.o build/opt/mongo/db/s/namespace_metadata_change_notifications.o build/opt/mongo/db/s/periodic_balancer_config_refresher.o build/opt/mongo/db/s/periodic_sharded_index_consistency_checker.o build/opt/mongo/db/s/read_only_catalog_cache_loader.o build/opt/mongo/db/s/scoped_operation_completion_sharding_actions.o build/opt/mongo/db/s/session_catalog_migration_destination.o build/opt/mongo/db/s/session_catalog_migration_source.o build/opt/mongo/db/s/shard_filtering_metadata_refresh.o build/opt/mongo/db/s/shard_identity_rollback_notifier.o build/opt/mongo/db/s/shard_metadata_util.o build/opt/mongo/db/s/shard_server_catalog_cache_loader.o build/opt/mongo/db/s/shard_server_op_observer.o build/opt/mongo/db/s/sharding_config_optime_gossip.o build/opt/mongo/db/s/sharding_initialization_mongod.o build/opt/mongo/db/s/sharding_state_recovery.o build/opt/mongo/db/s/sharding_statistics.o build/opt/mongo/db/s/split_chunk.o build/opt/mongo/db/s/split_vector.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_runtime_d.a clang++ -o build/opt/mongo/db/auth/authz_manager_external_state_d.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_manager_external_state_d.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/query/libquery_request.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/query_request.o build/opt/mongo/db/query/tailable_mode.o build/opt/mongo/db/query/tailable_mode_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/query/libquery_request.a 2 warnings generated. clang++ -o build/opt/mongo/db/s/sharding_logging.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_logging.cpp clang++ -o build/opt/mongo/db/dbmessage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbmessage.cpp In file included from src/mongo/db/auth/authz_manager_external_state_d.cpp:34: In file included from src/mongo/db/auth/authz_manager_external_state_d.h:35: In file included from src/mongo/db/auth/authz_manager_external_state_local.h:35: In file included from src/mongo/db/auth/authz_manager_external_state.h:38: 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_manager_external_state_d.cpp:34: In file included from src/mongo/db/auth/authz_manager_external_state_d.h:35: 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{}; \ ^ ~~ In file included from src/mongo/db/auth/authz_manager_external_state_d.cpp:37: In file included from src/mongo/db/auth/authz_session_external_state_d.h:33: 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{}; \ ^ ~~ In file included from src/mongo/db/dbmessage.cpp:32: 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/authz_manager_external_state_d.cpp:40: 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 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/libdbmessage.a -s -no_warning_for_no_symbols build/opt/mongo/db/dbmessage.o In file included from src/mongo/db/auth/authz_manager_external_state_d.cpp:40: 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{}; \ ^ ~~ Skipping ranlib for libtool generated target build/opt/mongo/db/libdbmessage.a clang++ -o build/opt/mongo/db/repl/repl_set_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 -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/repl_set_command.cpp /usr/bin/libtool -static -o build/opt/mongo/db/s/libsharding_logging.a -s -no_warning_for_no_symbols build/opt/mongo/db/s/sharding_logging.o Skipping ranlib for libtool generated target build/opt/mongo/db/s/libsharding_logging.a clang++ -o build/opt/mongo/db/repl/repl_set_get_status_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 -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/repl_set_get_status_cmd.cpp In file included from src/mongo/db/repl/repl_set_command.cpp:32: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_command.cpp:32: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_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/repl/repl_set_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/repl/repl_set_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/repl/repl_set_get_status_cmd.cpp:32: In file included from src/mongo/db/repl/repl_set_command.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/repl/repl_set_get_status_cmd.cpp:32: In file included from src/mongo/db/repl/repl_set_command.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{}; \ ^ ~~ 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauthmongod.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/authz_manager_external_state_d.o build/opt/mongo/db/auth/authz_session_external_state_d.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauthmongod.a clang++ -o build/opt/mongo/db/storage/kv/kv_drop_pending_ident_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 -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/kv/kv_drop_pending_ident_reaper.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/auth/sasl_plain_server_conversation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_plain_server_conversation.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librepl_set_status_commands.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/repl_set_command.o build/opt/mongo/db/repl/repl_set_get_status_cmd.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librepl_set_status_commands.a clang++ -o build/opt/mongo/db/auth/sasl_scram_server_conversation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_scram_server_conversation.cpp In file included from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_plain_server_conversation.h:32: In file included from src/mongo/db/auth/sasl_mechanism_policies.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_plain_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_plain_server_conversation.h:32: In file included from src/mongo/db/auth/sasl_mechanism_policies.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/db/storage/kv/libkv_drop_pending_ident_reaper.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/kv/kv_drop_pending_ident_reaper.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/kv/libkv_drop_pending_ident_reaper.a clang++ -o build/opt/mongo/db/auth/sasl_mechanism_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 -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_mechanism_registry.cpp In file included from src/mongo/db/auth/sasl_plain_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_plain_server_conversation.h:32: In file included from src/mongo/db/auth/sasl_mechanism_policies.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{}; \ ^ ~~ In file included from src/mongo/db/auth/sasl_scram_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_scram_server_conversation.h:33: In file included from src/mongo/db/auth/sasl_mechanism_policies.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_scram_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_scram_server_conversation.h:33: In file included from src/mongo/db/auth/sasl_mechanism_policies.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 In file included from src/mongo/db/auth/sasl_scram_server_conversation.cpp:34: In file included from src/mongo/db/auth/sasl_scram_server_conversation.h:33: In file included from src/mongo/db/auth/sasl_mechanism_policies.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{}; \ ^ ~~ In file included from src/mongo/db/auth/sasl_mechanism_registry.cpp:33: 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_mechanism_registry.cpp:33: 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 In file included from src/mongo/db/auth/sasl_mechanism_registry.cpp:33: 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{}; \ ^ ~~ 3 warnings generated. 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 -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/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 3 warnings generated. clang++ -o build/opt/mongo/watchdog/watchdog_register.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/watchdog/watchdog_register.cpp 1 warning generated. 3 warnings 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 /usr/bin/libtool -static -o build/opt/mongo/db/auth/libsaslauth.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/sasl_mechanism_registry.o build/opt/mongo/db/auth/sasl_plain_server_conversation.o build/opt/mongo/db/auth/sasl_scram_server_conversation.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_interface_remote.a Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libsaslauth.a clang++ -o build/opt/mongo/db/curop_failpoint_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 -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/curop_failpoint_helpers.cpp clang -o build/opt/third_party/libstemmer_c/runtime/api.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/runtime/api.c /usr/bin/libtool -static -o build/opt/mongo/watchdog/libwatchdog_register.a -s -no_warning_for_no_symbols build/opt/mongo/watchdog/watchdog_register.o Skipping ranlib for libtool generated target build/opt/mongo/watchdog/libwatchdog_register.a clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_italian.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_italian.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_spanish.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_german.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_german.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_turkish.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_finnish.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_danish.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_danish.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_dutch.c In file included from src/mongo/db/curop_failpoint_helpers.cpp:34: 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/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_norwegian.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_swedish.c In file included from src/mongo/db/curop_failpoint_helpers.cpp:34: 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{}; \ ^ ~~ clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_portuguese.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_romanian.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_english.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_english.c clang -o build/opt/third_party/libstemmer_c/libstemmer/libstemmer_utf8.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/libstemmer/libstemmer_utf8.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_russian.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_russian.c 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libcurop_failpoint_helpers.a -s -no_warning_for_no_symbols build/opt/mongo/db/curop_failpoint_helpers.o Skipping ranlib for libtool generated target build/opt/mongo/db/libcurop_failpoint_helpers.a clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_french.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_french.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_porter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_porter.c clang -o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -fno-strict-overflow -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/libstemmer_c/src_c/stem_UTF_8_hungarian.c clang++ -o build/opt/third_party/shim_abseil.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shim_abseil.cpp clang++ -o build/opt/mongo/s/query/cluster_query_knobs_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 -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/query/cluster_query_knobs_gen.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_abseil.a -s -no_warning_for_no_symbols build/opt/third_party/shim_abseil.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_abseil.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_abseil.a clang++ -o build/opt/mongo/s/query/cluster_find.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_find.cpp /usr/bin/libtool -static -o build/opt/third_party/libstemmer_c/libstemmer.a -s -no_warning_for_no_symbols build/opt/third_party/libstemmer_c/runtime/api.o build/opt/third_party/libstemmer_c/libstemmer/libstemmer_utf8.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_dutch.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_german.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_porter.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_spanish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_english.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_hungarian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_portuguese.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_swedish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_finnish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_italian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_romanian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_turkish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_danish.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_french.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_norwegian.o build/opt/third_party/libstemmer_c/src_c/stem_UTF_8_russian.o Skipping ranlib for libtool generated target build/opt/third_party/libstemmer_c/libstemmer.a clang++ -o build/opt/mongo/db/repl/replication_recovery.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/replication_recovery.cpp In file included from build/opt/mongo/s/query/cluster_query_knobs_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/query/cluster_find.cpp:34: In file included from src/mongo/s/query/cluster_find.h:36: In file included from src/mongo/db/query/cursor_response.h:36: 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/replication_recovery.cpp:38: 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 build/opt/mongo/s/query/cluster_query_knobs_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/query/cluster_find.cpp:34: In file included from src/mongo/s/query/cluster_find.h:36: In file included from src/mongo/db/query/cursor_response.h:36: 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/repl/replication_recovery.cpp:38: 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 src/mongo/s/query/cluster_find.cpp:43: 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_find.cpp:43: 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_find.cpp:43: 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. clang++ -o build/opt/mongo/db/index_builds_coordinator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_builds_coordinator.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/query/libcluster_query.a -s -no_warning_for_no_symbols build/opt/mongo/s/query/cluster_find.o build/opt/mongo/s/query/cluster_query_knobs_gen.o Skipping ranlib for libtool generated target build/opt/mongo/s/query/libcluster_query.a clang++ -o build/opt/mongo/db/database_index_builds_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 -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/database_index_builds_tracker.cpp In file included from src/mongo/db/index_builds_coordinator.cpp:34: 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/index_builds_coordinator.cpp:36: 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libreplication_recovery.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/replication_recovery.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libreplication_recovery.a clang++ -o build/opt/mongo/db/collection_index_builds_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 -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_builds_tracker.cpp In file included from src/mongo/db/index_builds_coordinator.cpp:36: 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/database_index_builds_tracker.cpp:32: In file included from src/mongo/db/database_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/collection_index_builds_tracker.cpp:32: 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 { ^ 1 warning generated. clang++ -o build/opt/mongo/db/repl/storage_interface.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/storage_interface.cpp 1 warning generated. clang++ -o build/opt/third_party/shim_timelib.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/timelib-2021.06 -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 src/third_party/shim_timelib.cpp /usr/bin/libtool -static -o build/opt/third_party/libshim_timelib.a -s -no_warning_for_no_symbols build/opt/third_party/shim_timelib.o warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: build/opt/third_party/libshim_timelib.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_timelib.a clang++ -o build/opt/mongo/db/service_entry_point_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 -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/service_entry_point_mongod.cpp In file included from src/mongo/db/repl/storage_interface.cpp:34: 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/storage_interface.cpp:34: 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/service_entry_point_mongod.cpp:34: In file included from src/mongo/db/service_entry_point_mongod.h:32: 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 In file included from src/mongo/db/service_entry_point_mongod.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{}; \ ^ ~~ In file included from src/mongo/db/service_entry_point_mongod.cpp:38: 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/service_entry_point_mongod.cpp:38: 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/service_entry_point_mongod.cpp:38: 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{}; \ ^ ~~ 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libindex_builds_coordinator_interface.a -s -no_warning_for_no_symbols build/opt/mongo/db/collection_index_builds_tracker.o build/opt/mongo/db/database_index_builds_tracker.o build/opt/mongo/db/index_builds_coordinator.o Skipping ranlib for libtool generated target build/opt/mongo/db/libindex_builds_coordinator_interface.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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libstorage_interface.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/storage_interface.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libstorage_interface.a clang++ -o build/opt/mongo/db/catalog/database_holder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/database_holder.cpp /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 Skipping ranlib for libtool generated target build/opt/mongo/util/libintrusive_counter.a 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 -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/catalog/database_holder.cpp:32: 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 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libservice_context_d.a -s -no_warning_for_no_symbols build/opt/mongo/db/service_entry_point_mongod.o Skipping ranlib for libtool generated target build/opt/mongo/db/libservice_context_d.a 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 -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/catalog/database_holder.cpp:32: 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/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{}; \ ^ ~~ 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libdatabase_holder.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/database_holder.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libdatabase_holder.a 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 -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 3 warnings generated. 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 -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 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/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 -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 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{}; \ ^ ~~ 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 -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 3 warnings generated. 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 -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 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 -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 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/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 -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 1 warning generated. clang++ -o build/opt/mongo/util/dns_query.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dns_query.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: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/background.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/background.cpp /usr/bin/libtool -static -o build/opt/mongo/util/libdns_query.a -s -no_warning_for_no_symbols build/opt/mongo/util/dns_query.o Skipping ranlib for libtool generated target build/opt/mongo/util/libdns_query.a clang++ -o build/opt/mongo/db/update/log_builder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/log_builder.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/update/field_checker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/field_checker.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/update/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 -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/update/path_support.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libbackground.a -s -no_warning_for_no_symbols build/opt/mongo/db/background.o Skipping ranlib for libtool generated target build/opt/mongo/db/libbackground.a clang++ -o build/opt/mongo/db/update/storage_validation.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update/storage_validation.cpp clang++ -o build/opt/mongo/db/exec/projection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/projection.cpp clang++ -o build/opt/mongo/db/query/internal_plans.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/internal_plans.cpp In file included from src/mongo/db/exec/projection.cpp:32: In file included from src/mongo/db/exec/projection.h:33: In file included from src/mongo/db/exec/projection_exec.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/db/exec/projection.cpp:32: In file included from src/mongo/db/exec/projection.h:33: In file included from src/mongo/db/exec/projection_exec.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/db/update/libupdate_common.a -s -no_warning_for_no_symbols build/opt/mongo/db/update/field_checker.o build/opt/mongo/db/update/log_builder.o build/opt/mongo/db/update/path_support.o build/opt/mongo/db/update/storage_validation.o In file included from src/mongo/db/query/internal_plans.cpp:32: In file included from src/mongo/db/query/internal_plans.h:33: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/db/update/libupdate_common.a clang++ -o build/opt/mongo/db/query/plan_yield_policy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/plan_yield_policy.cpp In file included from src/mongo/db/query/internal_plans.cpp:32: In file included from src/mongo/db/query/internal_plans.h:33: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/query/plan_yield_policy.cpp:32: In file included from src/mongo/db/query/plan_yield_policy.h:32: 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/exec/upsert_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/upsert_stage.cpp In file included from src/mongo/db/query/plan_yield_policy.cpp:32: In file included from src/mongo/db/query/plan_yield_policy.h:32: 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/exec/upsert_stage.cpp:30: In file included from src/mongo/db/exec/upsert_stage.h:32: In file included from src/mongo/db/exec/update_stage.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/exec/upsert_stage.cpp:30: In file included from src/mongo/db/exec/upsert_stage.h:32: In file included from src/mongo/db/exec/update_stage.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/exec/or.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/or.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/requires_all_indices_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/requires_all_indices_stage.cpp In file included from src/mongo/db/exec/requires_all_indices_stage.cpp:32: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/requires_all_indices_stage.cpp:32: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/query/find.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/find.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/ops/parsed_delete.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/parsed_delete.cpp In file included from src/mongo/db/query/find.cpp:34: In file included from src/mongo/db/query/find.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/ops/parsed_delete.cpp:34: In file included from src/mongo/db/ops/parsed_delete.h:33: 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/exec/pipeline_proxy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/pipeline_proxy.cpp In file included from src/mongo/db/query/find.cpp:34: In file included from src/mongo/db/query/find.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/ops/parsed_delete.cpp:34: In file included from src/mongo/db/ops/parsed_delete.h:33: 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/query/find.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/query/find.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/query/find.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/exec/pipeline_proxy.cpp:32: In file included from src/mongo/db/exec/pipeline_proxy.h:37: 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/db/exec/pipeline_proxy.cpp:32: In file included from src/mongo/db/exec/pipeline_proxy.h:37: 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. clang++ -o build/opt/mongo/db/exec/write_stage_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 -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/write_stage_common.cpp In file included from src/mongo/db/exec/write_stage_common.cpp:32: 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 5 warnings generated. clang++ -o build/opt/mongo/db/exec/text_or.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/text_or.cpp In file included from src/mongo/db/exec/write_stage_common.cpp:32: 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/exec/count.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/count.cpp In file included from src/mongo/db/exec/text_or.cpp:30: In file included from src/mongo/db/exec/text_or.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/count.cpp:34: 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/exec/text_or.cpp:30: In file included from src/mongo/db/exec/text_or.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/and_hash.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/and_hash.cpp In file included from src/mongo/db/exec/count.cpp:34: 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/exec/and_sorted.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/and_sorted.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/delete.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/delete.cpp clang++ -o build/opt/mongo/db/exec/projection_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 -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/projection_exec.cpp In file included from src/mongo/db/exec/delete.cpp:34: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/delete.cpp:34: In file included from src/mongo/db/exec/delete.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/projection_exec.cpp:30: In file included from src/mongo/db/exec/projection_exec.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/db/exec/projection_exec.cpp:30: In file included from src/mongo/db/exec/projection_exec.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/exec/cached_plan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/cached_plan.cpp In file included from src/mongo/db/exec/cached_plan.cpp:34: In file included from src/mongo/db/exec/cached_plan.h:35: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/cached_plan.cpp:34: In file included from src/mongo/db/exec/cached_plan.h:35: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/near.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/near.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/working_set_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 -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_common.cpp In file included from src/mongo/db/exec/near.cpp:32: In file included from src/mongo/db/exec/near.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/db/exec/working_set_common.cpp: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/exec/near.cpp:32: In file included from src/mongo/db/exec/near.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/exec/working_set_common.cpp: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/exec/text.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/text.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/pipeline_d.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/pipeline_d.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/cursor_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 -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/cursor_manager.cpp In file included from src/mongo/db/exec/text.cpp:34: In file included from src/mongo/db/exec/fetch.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/text.cpp:34: In file included from src/mongo/db/exec/fetch.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/pipeline_d.cpp:34: In file included from src/mongo/db/pipeline/pipeline_d.h:39: In file included from src/mongo/db/pipeline/document_source_cursor.h: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/cursor_manager.cpp:34: In file included from src/mongo/db/cursor_manager.h:35: 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/pipeline/pipeline_d.cpp:34: In file included from src/mongo/db/pipeline/pipeline_d.h:39: In file included from src/mongo/db/pipeline/document_source_cursor.h: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{}; \ ^ ~~ In file included from src/mongo/db/cursor_manager.cpp:34: In file included from src/mongo/db/cursor_manager.h:35: 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/cursor_manager.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/cursor_manager.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/cursor_manager.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{}; \ ^ ~~ 2 warnings generated. clang++ -o build/opt/mongo/db/ops/update_result.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update_result.cpp clang++ -o build/opt/mongo/db/exec/geo_near.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo_near.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/query/get_executor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/get_executor.cpp In file included from src/mongo/db/exec/geo_near.cpp:32: In file included from src/mongo/db/exec/geo_near.h:32: In file included from src/mongo/db/exec/near.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 2 warnings generated. clang++ -o build/opt/mongo/db/exec/shard_filterer_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 -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/shard_filterer_impl.cpp In file included from src/mongo/db/exec/geo_near.cpp:32: In file included from src/mongo/db/exec/geo_near.h:32: In file included from src/mongo/db/exec/near.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/query/get_executor.cpp:34: In file included from src/mongo/db/query/get_executor.h:33: In file included from src/mongo/db/ops/delete_request.h:37: 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/exec/geo_near.cpp:32: In file included from src/mongo/db/exec/geo_near.h:35: In file included from src/mongo/db/geo/geometry_container.h:34: 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 src/mongo/db/query/get_executor.cpp:34: In file included from src/mongo/db/query/get_executor.h:33: In file included from src/mongo/db/ops/delete_request.h:37: 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/exec/shard_filter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/shard_filter.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/exec/update_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/update_stage.cpp clang++ -o build/opt/mongo/db/exec/text_match.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/text_match.cpp In file included from src/mongo/db/exec/update_stage.cpp:34: In file included from src/mongo/db/exec/update_stage.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/exec/sort.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/sort.cpp In file included from src/mongo/db/exec/update_stage.cpp:34: In file included from src/mongo/db/exec/update_stage.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/exec/queued_data_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/queued_data_stage.cpp In file included from src/mongo/db/exec/sort.cpp: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/exec/sort.cpp: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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/query/stage_builder.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/stage_builder.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/plan_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/plan_stage.cpp In file included from src/mongo/db/query/stage_builder.cpp:34: In file included from src/mongo/db/query/stage_builder.h:34: 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/exec/distinct_scan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/distinct_scan.cpp In file included from src/mongo/db/query/stage_builder.cpp:34: In file included from src/mongo/db/query/stage_builder.h:34: 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/query/stage_builder.cpp:47: In file included from src/mongo/db/exec/geo_near.h:35: In file included from src/mongo/db/geo/geometry_container.h:34: 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 src/mongo/db/exec/distinct_scan.cpp:30: In file included from src/mongo/db/exec/distinct_scan.h:33: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/sort_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 -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/sort_key_generator.cpp In file included from src/mongo/db/exec/distinct_scan.cpp:30: In file included from src/mongo/db/exec/distinct_scan.h:33: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/sort_key_generator.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 In file included from src/mongo/db/exec/sort_key_generator.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{}; \ ^ ~~ 3 warnings generated. clang++ -o build/opt/mongo/db/exec/requires_index_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/requires_index_stage.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/requires_collection_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/requires_collection_stage.cpp In file included from src/mongo/db/exec/requires_index_stage.cpp:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/requires_index_stage.cpp:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/requires_collection_stage.cpp:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/multi_plan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/multi_plan.cpp In file included from src/mongo/db/exec/requires_collection_stage.cpp:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/multi_plan.cpp:34: In file included from src/mongo/db/exec/multi_plan.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. In file included from src/mongo/db/exec/multi_plan.cpp:34: In file included from src/mongo/db/exec/multi_plan.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/exec/index_scan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/index_scan.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/count_scan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/count_scan.cpp In file included from src/mongo/db/exec/index_scan.cpp:34: In file included from src/mongo/db/exec/index_scan.h:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/index_scan.cpp:34: In file included from src/mongo/db/exec/index_scan.h:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/count_scan.cpp:30: In file included from src/mongo/db/exec/count_scan.h:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/limit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/limit.cpp In file included from src/mongo/db/exec/count_scan.cpp:30: In file included from src/mongo/db/exec/count_scan.h:32: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/skip.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/skip.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/collection_scan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/collection_scan.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/ensure_sorted.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ensure_sorted.cpp In file included from src/mongo/db/exec/collection_scan.cpp:32: In file included from src/mongo/db/exec/collection_scan.h:35: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/record_store_fast_count.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/record_store_fast_count.cpp In file included from src/mongo/db/exec/collection_scan.cpp:32: In file included from src/mongo/db/exec/collection_scan.h:35: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/record_store_fast_count.cpp:32: In file included from src/mongo/db/exec/record_store_fast_count.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/change_stream_proxy.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/change_stream_proxy.cpp In file included from src/mongo/db/exec/record_store_fast_count.cpp:32: In file included from src/mongo/db/exec/record_store_fast_count.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/subplan.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/subplan.cpp In file included from src/mongo/db/exec/change_stream_proxy.cpp:32: In file included from src/mongo/db/exec/change_stream_proxy.h:32: In file included from src/mongo/db/exec/pipeline_proxy.h:37: 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/db/exec/change_stream_proxy.cpp:32: In file included from src/mongo/db/exec/change_stream_proxy.h:32: In file included from src/mongo/db/exec/pipeline_proxy.h:37: 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. clang++ -o build/opt/mongo/db/query/explain.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/explain.cpp In file included from src/mongo/db/exec/subplan.cpp:34: In file included from src/mongo/db/exec/subplan.h:39: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/query/explain.cpp:32: 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/exec/subplan.cpp:34: In file included from src/mongo/db/exec/subplan.h:39: In file included from src/mongo/db/exec/requires_all_indices_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/query/explain.cpp:32: 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/query/plan_executor_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 -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/query/plan_executor_impl.cpp In file included from src/mongo/db/query/plan_executor_impl.cpp:34: In file included from src/mongo/db/query/plan_executor_impl.h:35: 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/query/plan_executor_impl.cpp:34: In file included from src/mongo/db/query/plan_executor_impl.h:35: 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/clientcursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/clientcursor.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/fetch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/fetch.cpp In file included from src/mongo/db/exec/fetch.cpp:32: In file included from src/mongo/db/exec/fetch.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/clientcursor.cpp:32: 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/clientcursor.cpp:32: 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/clientcursor.cpp:42: 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/clientcursor.cpp:42: 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/clientcursor.cpp:42: 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/exec/fetch.cpp:32: In file included from src/mongo/db/exec/fetch.h:34: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/merge_sort.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/merge_sort.cpp 5 warnings generated. clang++ -o build/opt/mongo/db/exec/trial_stage.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/trial_stage.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/exec/eof.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/eof.cpp clang++ -o build/opt/mongo/db/exec/idhack.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/idhack.cpp In file included from src/mongo/db/exec/trial_stage.cpp:34: In file included from src/mongo/db/exec/trial_stage.h:33: In file included from src/mongo/db/query/plan_yield_policy.h:32: 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/exec/idhack.cpp:32: In file included from src/mongo/db/exec/idhack.h:34: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/multi_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 -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/multi_iterator.cpp In file included from src/mongo/db/exec/trial_stage.cpp:34: In file included from src/mongo/db/exec/trial_stage.h:33: In file included from src/mongo/db/query/plan_yield_policy.h:32: 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/exec/idhack.cpp:32: In file included from src/mongo/db/exec/idhack.h:34: In file included from src/mongo/db/exec/requires_index_stage.h:32: In file included from src/mongo/db/exec/requires_collection_stage.h:32: 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/exec/multi_iterator.cpp:32: In file included from src/mongo/db/exec/multi_iterator.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/exec/multi_iterator.cpp:32: In file included from src/mongo/db/exec/multi_iterator.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/pipeline/document_source_geo_near_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_geo_near_cursor.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/run_op_kill_cursors.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/run_op_kill_cursors.cpp In file included from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32: In file included from src/mongo/db/pipeline/document_source_geo_near_cursor.h: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 2 warnings generated. clang++ -o build/opt/mongo/db/pipeline/document_source_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_cursor.cpp In file included from src/mongo/db/pipeline/document_source_geo_near_cursor.cpp:32: In file included from src/mongo/db/pipeline/document_source_geo_near_cursor.h: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{}; \ ^ ~~ In file included from src/mongo/db/run_op_kill_cursors.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/run_op_kill_cursors.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/run_op_kill_cursors.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/run_op_kill_cursors.cpp:38: In file included from src/mongo/db/cursor_manager.h:35: 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/run_op_kill_cursors.cpp:38: In file included from src/mongo/db/cursor_manager.h:35: 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/pipeline/document_source_cursor.cpp:34: In file included from src/mongo/db/pipeline/document_source_cursor.h: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/pipeline/document_source_cursor.cpp:34: In file included from src/mongo/db/pipeline/document_source_cursor.h: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/query/plan_ranker.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/query/plan_ranker.cpp 5 warnings generated. clang++ -o build/opt/mongo/watchdog/watchdog.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/watchdog/watchdog.cpp In file included from src/mongo/db/query/plan_ranker.cpp:39: In file included from src/mongo/db/query/plan_ranker.h:41: 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. In file included from src/mongo/db/query/plan_ranker.cpp:39: In file included from src/mongo/db/query/plan_ranker.h:41: 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/query/datetime/init_timezone_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 -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/timelib-2021.06 -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/query/datetime/init_timezone_data.cpp /usr/bin/libtool -static -o build/opt/mongo/watchdog/libwatchdog.a -s -no_warning_for_no_symbols build/opt/mongo/watchdog/watchdog.o Skipping ranlib for libtool generated target build/opt/mongo/watchdog/libwatchdog.a clang++ -o build/opt/mongo/db/pipeline/variables.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/variables.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libquery_exec.a -s -no_warning_for_no_symbols build/opt/mongo/db/clientcursor.o build/opt/mongo/db/cursor_manager.o build/opt/mongo/db/exec/and_hash.o build/opt/mongo/db/exec/and_sorted.o build/opt/mongo/db/exec/cached_plan.o build/opt/mongo/db/exec/change_stream_proxy.o build/opt/mongo/db/exec/collection_scan.o build/opt/mongo/db/exec/count.o build/opt/mongo/db/exec/count_scan.o build/opt/mongo/db/exec/delete.o build/opt/mongo/db/exec/distinct_scan.o build/opt/mongo/db/exec/ensure_sorted.o build/opt/mongo/db/exec/eof.o build/opt/mongo/db/exec/fetch.o build/opt/mongo/db/exec/geo_near.o build/opt/mongo/db/exec/idhack.o build/opt/mongo/db/exec/index_scan.o build/opt/mongo/db/exec/limit.o build/opt/mongo/db/exec/merge_sort.o build/opt/mongo/db/exec/multi_iterator.o build/opt/mongo/db/exec/multi_plan.o build/opt/mongo/db/exec/near.o build/opt/mongo/db/exec/or.o build/opt/mongo/db/exec/pipeline_proxy.o build/opt/mongo/db/exec/plan_stage.o build/opt/mongo/db/exec/projection.o build/opt/mongo/db/exec/projection_exec.o build/opt/mongo/db/exec/queued_data_stage.o build/opt/mongo/db/exec/record_store_fast_count.o build/opt/mongo/db/exec/requires_all_indices_stage.o build/opt/mongo/db/exec/requires_collection_stage.o build/opt/mongo/db/exec/requires_index_stage.o build/opt/mongo/db/exec/shard_filter.o build/opt/mongo/db/exec/shard_filterer_impl.o build/opt/mongo/db/exec/skip.o build/opt/mongo/db/exec/sort.o build/opt/mongo/db/exec/sort_key_generator.o build/opt/mongo/db/exec/subplan.o build/opt/mongo/db/exec/text.o build/opt/mongo/db/exec/text_match.o build/opt/mongo/db/exec/text_or.o build/opt/mongo/db/exec/trial_stage.o build/opt/mongo/db/exec/update_stage.o build/opt/mongo/db/exec/upsert_stage.o build/opt/mongo/db/exec/working_set_common.o build/opt/mongo/db/exec/write_stage_common.o build/opt/mongo/db/ops/parsed_delete.o build/opt/mongo/db/ops/update_result.o build/opt/mongo/db/pipeline/document_source_cursor.o build/opt/mongo/db/pipeline/document_source_geo_near_cursor.o build/opt/mongo/db/pipeline/pipeline_d.o build/opt/mongo/db/query/explain.o build/opt/mongo/db/query/find.o build/opt/mongo/db/query/get_executor.o build/opt/mongo/db/query/internal_plans.o build/opt/mongo/db/query/plan_executor_impl.o build/opt/mongo/db/query/plan_ranker.o build/opt/mongo/db/query/plan_yield_policy.o build/opt/mongo/db/query/stage_builder.o build/opt/mongo/db/run_op_kill_cursors.o /usr/bin/libtool -static -o build/opt/mongo/db/query/datetime/libinit_timezone_data.a -s -no_warning_for_no_symbols build/opt/mongo/db/query/datetime/init_timezone_data.o Skipping ranlib for libtool generated target build/opt/mongo/db/libquery_exec.a Skipping ranlib for libtool generated target build/opt/mongo/db/query/datetime/libinit_timezone_data.a clang++ -o build/opt/mongo/db/pipeline/expression_context.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_context.cpp 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 -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 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 src/mongo/db/pipeline/expression_context.cpp:32: 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 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 -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 In file included from src/mongo/db/pipeline/expression_context.cpp:32: 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/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{}; \ ^ ~~ 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 -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 2 warnings generated. /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/db/libgeneric_cursor.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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libexpression_context.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/expression_context.o build/opt/mongo/db/pipeline/variables.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libexpression_context.a clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp /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 Skipping ranlib for libtool generated target build/opt/mongo/rpc/libprotocol.a clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_oplog_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:34: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.h --output build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.cpp src/mongo/db/storage/wiredtiger/wiredtiger_parameters.idl clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_snapshot_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_parameters.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_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 -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/wiredtiger_parameters_gen.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_cursor.cpp In file included from build/opt/mongo/db/storage/wiredtiger/wiredtiger_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/wiredtiger_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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp In file included from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:58: 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/wiredtiger/wiredtiger_session_cache.cpp:37: 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/storage/wiredtiger/wiredtiger_session_cache.cpp:37: 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/storage/wiredtiger/wiredtiger_kv_engine.cpp:58: 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/wiredtiger/wiredtiger_util.cpp:44: 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/storage/wiredtiger/wiredtiger_util.cpp:44: 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/storage/wiredtiger/wiredtiger_global_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_global_options.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_index.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp In file included from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:34: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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/storage/wiredtiger/wiredtiger_index.cpp:34: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:39: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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. clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_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 -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 src/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.cpp In file included from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:40: In file included from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h: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 x86_64 --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 clang++ -o build/opt/mongo/db/repl/split_horizon.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/split_horizon.cpp clang++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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 src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 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 -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 In file included from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:45: 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/storage/wiredtiger/wiredtiger_record_store.cpp:45: 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{}; \ ^ ~~ 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 -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 /usr/bin/libtool -static -o build/opt/mongo/db/repl/libsplit_horizon.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/split_horizon.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libsplit_horizon.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 -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 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 -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/scripting/mozjs/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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/status.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{}; \ ^ ~~ In file included from src/mongo/scripting/mozjs/status.cpp:35: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_cursor.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_global_options.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_index.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_util.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a clang++ -o build/opt/mongo/scripting/mozjs/idwrapper.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/idwrapper.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/dbpointer.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/dbpointer.cpp 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/scripting/mozjs/dbref.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/dbref.cpp clang++ -o build/opt/mongo/scripting/mozjs/maxkey.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/maxkey.cpp In file included from src/mongo/scripting/mozjs/dbpointer.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/dbref.cpp:35: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/maxkey.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/numberdecimal.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/numberdecimal.cpp 1 warning generated. /opt/pkg/bin/python3.10 site_scons/site_tools/jstoh.py build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp src/mongo/scripting/mozjs/mongohelpers.js clang++ -o build/opt/mongo/scripting/mozjs/mongohelpers_js.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/mongohelpers_js.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/dbquery.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/dbquery.cpp In file included from src/mongo/scripting/mozjs/numberdecimal.cpp:35: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/dbquery.cpp:35: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/scripting/mozjs/engine_gen.h --output build/opt/mongo/scripting/mozjs/engine_gen.cpp src/mongo/scripting/mozjs/engine.idl clang++ -o build/opt/mongo/scripting/mozjs/object.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/object.cpp clang++ -o build/opt/mongo/scripting/mozjs/engine_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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/engine_gen.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/numberint.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/numberint.cpp In file included from src/mongo/scripting/mozjs/object.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/engine_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/scripting/mozjs/engine_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/scripting/mozjs/numberint.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/bindata.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/bindata.cpp 1 warning generated. In file included from src/mongo/scripting/mozjs/bindata.cpp:38: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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 /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/scripting/mozjs/scripting_util_gen.h --output build/opt/mongo/scripting/mozjs/scripting_util_gen.cpp src/mongo/scripting/mozjs/scripting_util.idl clang++ -o build/opt/mongo/scripting/mozjs/session.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/session.cpp 2 warnings generated. clang++ -o build/opt/mongo/scripting/mozjs/nativefunction.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/nativefunction.cpp In file included from src/mongo/scripting/mozjs/session.cpp:34: In file included from src/mongo/scripting/mozjs/session.h:32: 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. clang++ -o build/opt/mongo/scripting/mozjs/proxyscope.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/proxyscope.cpp In file included from src/mongo/scripting/mozjs/nativefunction.cpp:36: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/proxyscope.cpp:32: In file included from src/mongo/scripting/mozjs/proxyscope.h:34: 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. clang++ -o build/opt/mongo/scripting/mozjs/bson.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/bson.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/scripting_util_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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/scripting_util_gen.cpp In file included from src/mongo/scripting/mozjs/bson.cpp:37: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/scripting_util_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 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/jscustomallocator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/jscustomallocator.cpp In file included from build/opt/mongo/scripting/mozjs/scripting_util_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/scripting/mozjs/uri.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/uri.cpp In file included from src/mongo/scripting/mozjs/jscustomallocator.cpp:37: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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 2 warnings generated. clang++ -o build/opt/mongo/scripting/mozjs/cursor_handle.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/cursor_handle.cpp 1 warning generated. In file included from src/mongo/scripting/mozjs/uri.cpp:38: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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 clang++ -o build/opt/mongo/scripting/mozjs/engine.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/engine.cpp src/mongo/scripting/mozjs/uri.cpp:74:21: warning: loop variable 'hp' creates a copy from type 'const mongo::HostAndPort' [-Wrange-loop-construct] for (const auto hp : parsed.getServers()) { ^ src/mongo/scripting/mozjs/uri.cpp:74:10: note: use reference type 'const mongo::HostAndPort &' to prevent copying for (const auto hp : parsed.getServers()) { ^~~~~~~~~~~~~~~ & 2 warnings generated. clang++ -o build/opt/mongo/scripting/mozjs/error.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/error.cpp In file included from src/mongo/scripting/mozjs/cursor_handle.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 In file included from src/mongo/scripting/mozjs/engine.cpp:40: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/timestamp.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/timestamp.cpp clang++ -o build/opt/mongo/scripting/mozjs/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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/exception.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/objectwrapper.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/objectwrapper.cpp In file included from src/mongo/scripting/mozjs/timestamp.cpp:37: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/exception.cpp:39: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/objectwrapper.cpp:41: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/implscope.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/implscope.cpp clang++ -o build/opt/mongo/scripting/mozjs/oid.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/oid.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/minkey.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/minkey.cpp In file included from src/mongo/scripting/mozjs/implscope.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/oid.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/minkey.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/db.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/jsthread.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/jsthread.cpp In file included from src/mongo/scripting/mozjs/db.cpp:37: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/jsthread.cpp:41: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/base.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/base.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/regexp.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/regexp.cpp clang++ -o build/opt/mongo/scripting/mozjs/code.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/code.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/valuereader.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/valuereader.cpp In file included from src/mongo/scripting/mozjs/regexp.cpp:34: In file included from src/mongo/scripting/mozjs/wrapconstrainedmethod.h:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/code.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/valuereader.cpp:43: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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 clang++ -o build/opt/mongo/scripting/mozjs/countdownlatch.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/countdownlatch.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/mongohelpers.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/mongohelpers.cpp In file included from src/mongo/scripting/mozjs/countdownlatch.cpp:35: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/internedstring.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/internedstring.cpp In file included from src/mongo/scripting/mozjs/mongohelpers.cpp:37: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/internedstring.cpp:34: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/mongo.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/mongo.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/dbcollection.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/dbcollection.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/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 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/global.cpp In file included from src/mongo/scripting/mozjs/mongo.cpp:32: In file included from src/mongo/scripting/mozjs/mongo.h:32: 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/scripting/mozjs/dbcollection.cpp:38: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/valuewriter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/valuewriter.cpp In file included from src/mongo/scripting/mozjs/global.cpp:40: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/numberlong.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/numberlong.cpp In file included from src/mongo/scripting/mozjs/valuewriter.cpp:39: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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. clang++ -o build/opt/mongo/scripting/mozjs/cursor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/cursor.cpp In file included from src/mongo/scripting/mozjs/numberlong.cpp:38: In file included from src/mongo/scripting/mozjs/implscope.h:36: 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/scripting/mozjs/cursor.cpp:32: In file included from src/mongo/scripting/mozjs/cursor.h:32: 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. clang++ -o build/opt/mongo/scripting/mozjs/PosixNSPR.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/PosixNSPR.cpp 1 warning generated. clang++ -o build/opt/mongo/scripting/mozjs/jsstringwrapper.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -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/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/x86_64/macOS/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/scripting/mozjs/jsstringwrapper.cpp 1 warning generated. clang++ -o build/opt/mongo/util/concurrency/spin_lock.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/concurrency/spin_lock.cpp /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/topology_coordinator_gen.h --output build/opt/mongo/db/repl/topology_coordinator_gen.cpp src/mongo/db/repl/topology_coordinator.idl clang++ -o build/opt/mongo/db/repl/topology_coordinator_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 -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/repl/topology_coordinator_gen.cpp /usr/bin/libtool -static -o build/opt/mongo/scripting/libscripting.a -s -no_warning_for_no_symbols build/opt/mongo/scripting/mozjs/base.o build/opt/mongo/scripting/mozjs/bindata.o build/opt/mongo/scripting/mozjs/bson.o build/opt/mongo/scripting/mozjs/code.o build/opt/mongo/scripting/mozjs/countdownlatch.o build/opt/mongo/scripting/mozjs/cursor.o build/opt/mongo/scripting/mozjs/cursor_handle.o build/opt/mongo/scripting/mozjs/db.o build/opt/mongo/scripting/mozjs/dbcollection.o build/opt/mongo/scripting/mozjs/dbpointer.o build/opt/mongo/scripting/mozjs/dbquery.o build/opt/mongo/scripting/mozjs/dbref.o build/opt/mongo/scripting/mozjs/engine.o build/opt/mongo/scripting/mozjs/error.o build/opt/mongo/scripting/mozjs/exception.o build/opt/mongo/scripting/mozjs/global.o build/opt/mongo/scripting/mozjs/idwrapper.o build/opt/mongo/scripting/mozjs/implscope.o build/opt/mongo/scripting/mozjs/internedstring.o build/opt/mongo/scripting/mozjs/jscustomallocator.o build/opt/mongo/scripting/mozjs/jsstringwrapper.o build/opt/mongo/scripting/mozjs/jsthread.o build/opt/mongo/scripting/mozjs/maxkey.o build/opt/mongo/scripting/mozjs/minkey.o build/opt/mongo/scripting/mozjs/mongo.o build/opt/mongo/scripting/mozjs/mongohelpers.o build/opt/mongo/scripting/mozjs/mongohelpers_js.o build/opt/mongo/scripting/mozjs/nativefunction.o build/opt/mongo/scripting/mozjs/numberdecimal.o build/opt/mongo/scripting/mozjs/numberint.o build/opt/mongo/scripting/mozjs/numberlong.o build/opt/mongo/scripting/mozjs/object.o build/opt/mongo/scripting/mozjs/objectwrapper.o build/opt/mongo/scripting/mozjs/oid.o build/opt/mongo/scripting/mozjs/PosixNSPR.o build/opt/mongo/scripting/mozjs/proxyscope.o build/opt/mongo/scripting/mozjs/regexp.o build/opt/mongo/scripting/mozjs/session.o build/opt/mongo/scripting/mozjs/status.o build/opt/mongo/scripting/mozjs/timestamp.o build/opt/mongo/scripting/mozjs/uri.o build/opt/mongo/scripting/mozjs/valuereader.o build/opt/mongo/scripting/mozjs/valuewriter.o build/opt/mongo/scripting/mozjs/engine_gen.o build/opt/mongo/scripting/mozjs/scripting_util_gen.o Skipping ranlib for libtool generated target build/opt/mongo/scripting/libscripting.a clang++ -o build/opt/mongo/db/repl/heartbeat_response_action.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/heartbeat_response_action.cpp /usr/bin/libtool -static -o build/opt/mongo/util/concurrency/libspin_lock.a -s -no_warning_for_no_symbols build/opt/mongo/util/concurrency/spin_lock.o Skipping ranlib for libtool generated target build/opt/mongo/util/concurrency/libspin_lock.a clang++ -o build/opt/mongo/db/repl/topology_coordinator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/topology_coordinator.cpp clang++ -o build/opt/mongo/db/repl/member_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 -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/member_data.cpp In file included from build/opt/mongo/db/repl/topology_coordinator_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/repl/topology_coordinator_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/repair_database_and_check_version.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/repair_database_and_check_version.cpp clang++ -o build/opt/mongo/db/storage/flow_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 -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/flow_control.cpp In file included from src/mongo/db/repair_database_and_check_version.cpp: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/storage/flow_control.cpp:35: In file included from src/mongo/db/storage/flow_control.h:34: 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/repair_database_and_check_version.cpp: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/storage/flow_control.cpp:35: In file included from src/mongo/db/storage/flow_control.h:34: 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/repair_database_and_check_version.cpp:55: 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 { ^ /usr/bin/libtool -static -o build/opt/mongo/db/repl/libtopology_coordinator.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/heartbeat_response_action.o build/opt/mongo/db/repl/member_data.o build/opt/mongo/db/repl/topology_coordinator.o build/opt/mongo/db/repl/topology_coordinator_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libtopology_coordinator.a clang++ -o build/opt/third_party/fmt/dist/src/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 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/fmt/dist/include -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/fmt/dist/src/posix.cc 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/librepair_database_and_check_version.a -s -no_warning_for_no_symbols build/opt/mongo/db/repair_database_and_check_version.o clang++ -o build/opt/third_party/fmt/dist/src/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 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/fmt/dist/include -I/opt/pkg/include/libbson-1.0 -I/opt/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/fmt/dist/src/format.cc Skipping ranlib for libtool generated target build/opt/mongo/db/librepair_database_and_check_version.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/executor_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 -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/executor/executor_parameters_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/libflow_control.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/flow_control.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libflow_control.a clang++ -o build/opt/mongo/executor/task_executor.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/task_executor.cpp In file included from build/opt/mongo/executor/executor_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/executor/executor_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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/geo/geometry_container.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/geometry_container.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/executor/libtask_executor_interface.a -s -no_warning_for_no_symbols build/opt/mongo/executor/task_executor.o build/opt/mongo/executor/executor_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/executor/libtask_executor_interface.a clang++ -o build/opt/mongo/db/geo/geoparser.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/geo/geoparser.cpp /usr/bin/libtool -static -o build/opt/third_party/fmt/libfmt.a -s -no_warning_for_no_symbols build/opt/third_party/fmt/dist/src/format.o build/opt/third_party/fmt/dist/src/posix.o Skipping ranlib for libtool generated target build/opt/third_party/fmt/libfmt.a clang++ -o build/opt/mongo/db/log_process_details.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/log_process_details.cpp 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 -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/geo/libgeoparser.a -s -no_warning_for_no_symbols build/opt/mongo/db/geo/geoparser.o build/opt/mongo/db/geo/geometry_container.o Skipping ranlib for libtool generated target build/opt/mongo/db/geo/libgeoparser.a 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/repl/dbcheck.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbcheck.cpp /usr/bin/libtool -static -o build/opt/mongo/db/liblog_process_details.a -s -no_warning_for_no_symbols build/opt/mongo/db/log_process_details.o Skipping ranlib for libtool generated target build/opt/mongo/db/liblog_process_details.a clang++ -o build/opt/mongo/db/repl/dbcheck_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 -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/repl/dbcheck_gen.cpp In file included from src/mongo/db/repl/dbcheck.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 src/mongo/db/repl/dbcheck.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. In file included from build/opt/mongo/db/repl/dbcheck_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/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/dbcheck_idl.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/dbcheck_idl.cpp In file included from build/opt/mongo/db/repl/dbcheck_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/repl/dbcheck.cpp:46: 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 { ^ 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 -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 2 warnings generated. clang++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/ephemeral_for_test/ephemeral_for_test_record_store.cpp 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 3 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libdbcheck.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/dbcheck.o build/opt/mongo/db/repl/dbcheck_idl.o build/opt/mongo/db/repl/dbcheck_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libdbcheck.a clang++ -o build/opt/mongo/db/repl/rollback_source_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 -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/rollback_source_impl.cpp 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 { ^ In file included from src/mongo/db/repl/rollback_source_impl.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 /usr/bin/libtool -static -o build/opt/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a clang++ -o build/opt/mongo/db/repl/oplogreader.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/oplogreader.cpp 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/librollback_source_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/rollback_source_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/librollback_source_impl.a 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 -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/catalog/libcatalog_control.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/catalog_control.o In file included from src/mongo/db/repl/oplogreader.cpp:34: In file included from src/mongo/db/repl/oplogreader.h:33: In file included from src/mongo/client/dbclient_connection.h:36: 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 Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libcatalog_control.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 -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/repl/oplogreader.cpp: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/oplogreader.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/oplogreader.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{}; \ ^ ~~ 4 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplogreader.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplogreader.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplogreader.a clang++ -o build/opt/mongo/transport/transport_layer_asio.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/transport/transport_layer_asio.cpp 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 clang++ -o build/opt/mongo/s/commands/flush_router_config_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 -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/commands/flush_router_config_cmd.cpp 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{}; \ ^ ~~ In file included from src/mongo/s/commands/flush_router_config_cmd.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/transport/transport_layer_asio.cpp:46: 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 In file included from src/mongo/s/commands/flush_router_config_cmd.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{}; \ ^ ~~ 2 warnings generated. /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/s/commands/get_shard_map_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 -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/commands/get_shard_map_cmd.cpp In file included from src/mongo/s/commands/get_shard_map_cmd.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 2 warnings generated. In file included from src/mongo/s/commands/get_shard_map_cmd.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{}; \ ^ ~~ /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 -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 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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/s/commands/libshared_cluster_commands.a -s -no_warning_for_no_symbols build/opt/mongo/s/commands/flush_router_config_cmd.o build/opt/mongo/s/commands/get_shard_map_cmd.o Skipping ranlib for libtool generated target build/opt/mongo/s/commands/libshared_cluster_commands.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 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 -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 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 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{}; \ ^ ~~ 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/transport/libtransport_layer.a -s -no_warning_for_no_symbols build/opt/mongo/transport/transport_layer_asio.o 2 warnings generated. 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 -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 Skipping ranlib for libtool generated target build/opt/mongo/transport/libtransport_layer.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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_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 -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 2 warnings generated. 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 -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 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 -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 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{}; \ ^ ~~ 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{}; \ ^ ~~ 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 -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 2 warnings generated. 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 -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 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 clang++ -o build/opt/mongo/db/pipeline/value_comparator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/value_comparator.cpp 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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/pipeline/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 -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.cpp clang++ -o build/opt/mongo/db/pipeline/document_comparator.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_comparator.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/pipeline/document_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 -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_path_support.cpp clang++ -o build/opt/mongo/db/pipeline/value.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/value.cpp clang++ -o build/opt/mongo/db/index/s2_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 -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_common.cpp In file included from src/mongo/db/pipeline/document_path_support.cpp:34: In file included from src/mongo/db/pipeline/document_path_support.h:35: 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/document_path_support.cpp:34: In file included from src/mongo/db/pipeline/document_path_support.h:35: 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/index/expression_params.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/expression_params.cpp 2 warnings generated. clang++ -o build/opt/mongo/db/repl/storage_interface_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 -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/storage_interface_impl.cpp /usr/bin/libtool -static -o build/opt/mongo/db/pipeline/libdocument_value.a -s -no_warning_for_no_symbols build/opt/mongo/db/pipeline/document.o build/opt/mongo/db/pipeline/document_comparator.o build/opt/mongo/db/pipeline/document_path_support.o build/opt/mongo/db/pipeline/value.o build/opt/mongo/db/pipeline/value_comparator.o Skipping ranlib for libtool generated target build/opt/mongo/db/pipeline/libdocument_value.a clang++ -o build/opt/mongo/db/repl/collection_bulk_loader_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 -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/collection_bulk_loader_impl.cpp In file included from src/mongo/db/repl/storage_interface_impl.cpp:34: In file included from src/mongo/db/repl/storage_interface_impl.h:39: 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/mongo/db/index/libexpression_params.a -s -no_warning_for_no_symbols build/opt/mongo/db/index/expression_params.o build/opt/mongo/db/index/s2_common.o Skipping ranlib for libtool generated target build/opt/mongo/db/index/libexpression_params.a clang++ -o build/opt/mongo/db/auth/role_graph_builtin_roles.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/role_graph_builtin_roles.cpp In file included from src/mongo/db/repl/collection_bulk_loader_impl.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/repl/storage_interface_impl.cpp:34: In file included from src/mongo/db/repl/storage_interface_impl.h:39: 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/storage_interface_impl.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/repl/collection_bulk_loader_impl.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/auth/role_graph_builtin_roles.cpp:34: 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/storage_interface_impl.cpp:77: 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 { ^ 1 warning generated. clang++ -o build/opt/mongo/db/auth/role_graph.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/role_graph.cpp In file included from src/mongo/db/auth/role_graph.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. clang++ -o build/opt/mongo/db/auth/auth_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 -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/auth_options_gen.cpp 4 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/libstorage_interface_impl.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/storage_interface_impl.o build/opt/mongo/db/repl/collection_bulk_loader_impl.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/libstorage_interface_impl.a clang++ -o build/opt/mongo/db/storage/storage_file_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 -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_file_util.cpp In file included from build/opt/mongo/db/auth/auth_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 1 warning generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/librole_graph.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/role_graph.o build/opt/mongo/db/auth/role_graph_builtin_roles.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/librole_graph.a clang++ -o build/opt/mongo/db/catalog/index_builds_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 -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_builds_manager.cpp In file included from build/opt/mongo/db/auth/auth_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/storage/libstorage_file_util.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/storage_file_util.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libstorage_file_util.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 -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 src/mongo/db/catalog/index_builds_manager.cpp: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/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/catalog/index_builds_manager.cpp: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{}; \ ^ ~~ 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/auth/libauth_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/auth_options_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/auth/libauth_options.a clang++ -o build/opt/mongo/s/cluster_last_error_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 -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_last_error_info.cpp 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{}; \ ^ ~~ 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 Skipping ranlib for libtool generated target build/opt/mongo/db/libcommand_can_run_here.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/util/net/ssl_parameters_auth_gen.h --output build/opt/mongo/util/net/ssl_parameters_auth_gen.cpp src/mongo/util/net/ssl_parameters_auth.idl /usr/bin/libtool -static -o build/opt/mongo/s/libcluster_last_error_info.a -s -no_warning_for_no_symbols build/opt/mongo/s/cluster_last_error_info.o Skipping ranlib for libtool generated target build/opt/mongo/s/libcluster_last_error_info.a clang++ -o build/opt/mongo/db/repl/oplog_interface_local.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_local.cpp clang++ -o build/opt/mongo/util/net/ssl_parameters_auth_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 -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/net/ssl_parameters_auth_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/catalog/libindex_builds_manager.a -s -no_warning_for_no_symbols build/opt/mongo/db/catalog/index_builds_manager.o Skipping ranlib for libtool generated target build/opt/mongo/db/catalog/libindex_builds_manager.a clang++ -o build/opt/mongo/util/net/ssl_parameters_auth.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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_parameters_auth.cpp In file included from src/mongo/db/repl/oplog_interface_local.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 build/opt/mongo/util/net/ssl_parameters_auth_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/repl/oplog_interface_local.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{}; \ ^ ~~ In file included from build/opt/mongo/util/net/ssl_parameters_auth_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/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 -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 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/util/net/libssl_parameters_auth.a -s -no_warning_for_no_symbols build/opt/mongo/util/net/ssl_parameters_auth.o build/opt/mongo/util/net/ssl_parameters_auth_gen.o Skipping ranlib for libtool generated target build/opt/mongo/util/net/libssl_parameters_auth.a 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 -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 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/repl/liboplog_interface_local.a -s -no_warning_for_no_symbols build/opt/mongo/db/repl/oplog_interface_local.o Skipping ranlib for libtool generated target build/opt/mongo/db/repl/liboplog_interface_local.a clang++ -o build/opt/mongo/db/storage/storage_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 -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_options.cpp clang++ -o build/opt/mongo/db/storage/storage_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 -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/storage_parameters_gen.cpp 1 warning generated. clang++ -o build/opt/mongo/db/commands/fsync_locked.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/fsync_locked.cpp In file included from build/opt/mongo/db/storage/storage_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 /usr/bin/libtool -static -o build/opt/mongo/db/commands/libfsync_locked.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/fsync_locked.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libfsync_locked.a clang++ -o build/opt/mongo/db/auth/privilege_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 -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/privilege_parser.cpp In file included from build/opt/mongo/db/storage/storage_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{}; \ ^ ~~ /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 Skipping ranlib for libtool generated target build/opt/mongo/executor/libnetwork_interface_tl.a clang++ -o build/opt/mongo/db/auth/resource_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 -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/resource_pattern.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/storage/libstorage_options.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/storage_options.o build/opt/mongo/db/storage/storage_parameters_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/libstorage_options.a clang++ -o build/opt/mongo/db/auth/user_management_commands_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 -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/user_management_commands_parser.cpp clang++ -o build/opt/mongo/db/auth/action_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 -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/action_set.cpp clang++ -o build/opt/mongo/db/auth/action_type_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 -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/action_type_gen.cpp In file included from src/mongo/db/auth/user_management_commands_parser.cpp:32: In file included from src/mongo/db/auth/user_management_commands_parser.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/user_management_commands_parser.cpp:48: 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/auth/impersonation_session.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/impersonation_session.cpp clang++ -o build/opt/mongo/db/auth/privilege.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/privilege.cpp In file included from src/mongo/db/auth/user_management_commands_parser.cpp:48: 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/impersonation_session.cpp:38: 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/auth/impersonation_session.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/auth/impersonation_session.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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/commands/fsync.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/fsync.cpp 3 warnings generated. clang++ -o build/opt/mongo/db/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 -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/op_observer.cpp In file included from src/mongo/db/commands/fsync.cpp:42: 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/fsync.cpp:42: 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/op_observer.cpp: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 3 warnings generated. In file included from src/mongo/db/commands/fsync.cpp:42: 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/db/auth/libauthprivilege.a -s -no_warning_for_no_symbols build/opt/mongo/db/auth/action_set.o build/opt/mongo/db/auth/action_type_gen.o build/opt/mongo/db/auth/impersonation_session.o build/opt/mongo/db/auth/privilege.o build/opt/mongo/db/auth/privilege_parser.o build/opt/mongo/db/auth/resource_pattern.o build/opt/mongo/db/auth/user_management_commands_parser.o In file included from src/mongo/db/commands/fsync.cpp:45: 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/auth/libauthprivilege.a /opt/pkg/bin/python3.10 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/cursor_server_params_gen.h --output build/opt/mongo/db/cursor_server_params_gen.cpp src/mongo/db/cursor_server_params.idl In file included from src/mongo/db/commands/fsync.cpp:45: 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/cursor_server_params.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/cursor_server_params.cpp In file included from src/mongo/db/op_observer.cpp: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{}; \ ^ ~~ clang++ -o build/opt/mongo/db/cursor_server_params_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 -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/cursor_server_params_gen.cpp 2 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/libop_observer.a -s -no_warning_for_no_symbols build/opt/mongo/db/op_observer.o Skipping ranlib for libtool generated target build/opt/mongo/db/libop_observer.a clang++ -o build/opt/mongo/transport/transport_layer_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 -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/transport/transport_layer_manager.cpp 5 warnings generated. /usr/bin/libtool -static -o build/opt/mongo/db/commands/libmongod_fsync.a -s -no_warning_for_no_symbols build/opt/mongo/db/commands/fsync.o Skipping ranlib for libtool generated target build/opt/mongo/db/commands/libmongod_fsync.a clang++ -o build/opt/mongo/rpc/metadata/client_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 -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/client_metadata.cpp In file included from build/opt/mongo/db/cursor_server_params_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/cursor_server_params_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/transport/libtransport_layer_manager.a -s -no_warning_for_no_symbols build/opt/mongo/transport/transport_layer_manager.o Skipping ranlib for libtool generated target build/opt/mongo/transport/libtransport_layer_manager.a clang++ -o build/opt/mongo/db/storage/oplog_hack.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/oplog_hack.cpp /usr/bin/libtool -static -o build/opt/mongo/rpc/libclient_metadata.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/metadata/client_metadata.o 2 warnings generated. Skipping ranlib for libtool generated target build/opt/mongo/rpc/libclient_metadata.a clang++ -o build/opt/mongo/idl/server_parameter.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/idl/server_parameter.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libcursor_server_params.a -s -no_warning_for_no_symbols build/opt/mongo/db/cursor_server_params.o build/opt/mongo/db/cursor_server_params_gen.o Skipping ranlib for libtool generated target build/opt/mongo/db/libcursor_server_params.a clang++ -o build/opt/mongo/idl/server_parameter_with_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 -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/idl/server_parameter_with_storage.cpp /usr/bin/libtool -static -o build/opt/mongo/db/storage/liboplog_hack.a -s -no_warning_for_no_symbols build/opt/mongo/db/storage/oplog_hack.o Skipping ranlib for libtool generated target build/opt/mongo/db/storage/liboplog_hack.a clang++ -o build/opt/mongo/db/global_settings.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/global_settings.cpp clang++ -o build/opt/mongo/rpc/write_concern_error_detail.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/write_concern_error_detail.cpp /usr/bin/libtool -static -o build/opt/mongo/idl/libserver_parameter.a -s -no_warning_for_no_symbols build/opt/mongo/idl/server_parameter.o build/opt/mongo/idl/server_parameter_with_storage.o Skipping ranlib for libtool generated target build/opt/mongo/idl/libserver_parameter.a clang++ -o build/opt/mongo/rpc/get_status_from_command_result.o -c -pipe -Os -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/python3.10 -DLDAP_DEPRECATED -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fno-builtin-memcmp -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/get_status_from_command_result.cpp /usr/bin/libtool -static -o build/opt/mongo/db/libglobal_settings.a -s -no_warning_for_no_symbols build/opt/mongo/db/global_settings.o Skipping ranlib for libtool generated target build/opt/mongo/db/libglobal_settings.a 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 -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 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 -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/rpc/libcommand_status.a -s -no_warning_for_no_symbols build/opt/mongo/rpc/get_status_from_command_result.o build/opt/mongo/rpc/write_concern_error_detail.o Skipping ranlib for libtool generated target build/opt/mongo/rpc/libcommand_status.a 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 -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 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(); ^ 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 1 error generated. scons: *** [build/opt/mongo/db/storage/storage_repair_observer.o] Error 1 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/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{}; \ ^ ~~ 8 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-x86_64/databases/mongodb *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/databases/mongodb