Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'], chrootPath='/var/lib/mock/f31-build-62435-29059/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Wrote: /builddir/build/SRPMS/mongo-cxx-driver-3.3.1-5.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'], chrootPath='/var/lib/mock/f31-build-62435-29059/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L2OCwV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongo-cxx-driver-r3.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/r3.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mongo-cxx-driver-r3.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (mongo-cxx-driver-3.3.1_paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .paths --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #2 (mongo-cxx-driver-3.3.1_paths.patch): patching file src/bsoncxx/config/libbsoncxx.pc.in patching file src/mongocxx/config/libmongocxx.pc.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.divoJS + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-r3.3.1 + export 'CFLAGS= -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS=' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS= -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS=' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CFLAGS=' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DBSONCXX_POLY_USE_BOOST=1 . BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR + make -j4 -- The CXX compiler identification is GNU 9.1.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 9.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Boost version: 1.69.0 -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /usr/bin/cmake -S/builddir/build/BUILD/mongo-cxx-driver-r3.3.1 -B/builddir/build/BUILD/mongo-cxx-driver-r3.3.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/depend make -f src/bsoncxx/CMakeFiles/bsoncxx.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/CMakeFiles/bsoncxx.dir/DependInfo.cmake --color= Scanning dependencies of target bsoncxx make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/bsoncxx/CMakeFiles/bsoncxx.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx.dir/build Scanning dependencies of target bsoncxx_testing make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 0%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/array/element.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/array/element.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/element.cpp [ 0%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/array/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/value.cpp [ 0%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/element.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/array/element.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/element.cpp [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/array/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/array/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/value.cpp [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/array/view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/array/view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/view.cpp [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/builder/core.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/builder/core.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/builder/core.cpp [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/decimal128.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/decimal128.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/decimal128.cpp [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/document/element.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/document/element.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/element.cpp [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/document/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/document/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/value.cpp [ 3%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/array/view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/array/view.cpp [ 3%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/builder/core.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/builder/core.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/builder/core.cpp [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/document/view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/document/view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/view.cpp [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/exception/error_code.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/exception/error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/exception/error_code.cpp [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/decimal128.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/decimal128.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/decimal128.cpp [ 6%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/element.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/document/element.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/element.cpp [ 6%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/document/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/value.cpp [ 6%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/view.cpp.o [ 6%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/json.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/document/view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/document/view.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/json.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/json.cpp [ 7%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/exception/error_code.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/exception/error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/exception/error_code.cpp [ 7%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/json.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/json.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/json.cpp [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/oid.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/oid.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/oid.cpp [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/private/itoa.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/private/itoa.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/private/itoa.cpp [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/string/view_or_value.cpp.o [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/oid.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/string/view_or_value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/string/view_or_value.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/oid.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/oid.cpp [ 10%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/private/itoa.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/private/itoa.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/private/itoa.cpp [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/types.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/types.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/types.cpp [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/string/view_or_value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/string/view_or_value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/string/view_or_value.cpp [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/types.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/types.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/types.cpp [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/types/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/types/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/types/value.cpp [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/validate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx.dir/validate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/validate.cpp [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/types/value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/types/value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/types/value.cpp [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/validate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/c++ -DBSONCXX_EXPORT -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/bsoncxx_testing.dir/validate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/validate.cpp [ 12%] Linking CXX shared library libbsoncxx.so cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/bsoncxx.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libbsoncxx.so._noabi -o libbsoncxx.so.3.3.1 CMakeFiles/bsoncxx.dir/array/element.cpp.o CMakeFiles/bsoncxx.dir/array/value.cpp.o CMakeFiles/bsoncxx.dir/array/view.cpp.o CMakeFiles/bsoncxx.dir/builder/core.cpp.o CMakeFiles/bsoncxx.dir/decimal128.cpp.o CMakeFiles/bsoncxx.dir/document/element.cpp.o CMakeFiles/bsoncxx.dir/document/value.cpp.o CMakeFiles/bsoncxx.dir/document/view.cpp.o CMakeFiles/bsoncxx.dir/exception/error_code.cpp.o CMakeFiles/bsoncxx.dir/json.cpp.o CMakeFiles/bsoncxx.dir/oid.cpp.o CMakeFiles/bsoncxx.dir/private/itoa.cpp.o CMakeFiles/bsoncxx.dir/string/view_or_value.cpp.o CMakeFiles/bsoncxx.dir/types.cpp.o CMakeFiles/bsoncxx.dir/types/value.cpp.o CMakeFiles/bsoncxx.dir/validate.cpp.o -lbson-1.0 cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/cmake -E cmake_symlink_library libbsoncxx.so.3.3.1 libbsoncxx.so._noabi libbsoncxx.so make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 12%] Built target bsoncxx make -f src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build.make src/mongocxx/CMakeFiles/mongocxx_mocked.dir/depend make -f src/mongocxx/CMakeFiles/mongocxx.dir/build.make src/mongocxx/CMakeFiles/mongocxx.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/CMakeFiles/mongocxx_mocked.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/CMakeFiles/mongocxx.dir/DependInfo.cmake --color= Scanning dependencies of target mongocxx_mocked make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build.make src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 12%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp Scanning dependencies of target mongocxx make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/CMakeFiles/mongocxx.dir/build.make src/mongocxx/CMakeFiles/mongocxx.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 12%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp [ 12%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/client.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/client.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp [ 12%] Linking CXX shared library libbsoncxx-testing.so cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/bsoncxx_testing.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libbsoncxx-testing.so._noabi -o libbsoncxx-testing.so.3.3.1 CMakeFiles/bsoncxx_testing.dir/array/element.cpp.o CMakeFiles/bsoncxx_testing.dir/array/value.cpp.o CMakeFiles/bsoncxx_testing.dir/array/view.cpp.o CMakeFiles/bsoncxx_testing.dir/builder/core.cpp.o CMakeFiles/bsoncxx_testing.dir/decimal128.cpp.o CMakeFiles/bsoncxx_testing.dir/document/element.cpp.o CMakeFiles/bsoncxx_testing.dir/document/value.cpp.o CMakeFiles/bsoncxx_testing.dir/document/view.cpp.o CMakeFiles/bsoncxx_testing.dir/exception/error_code.cpp.o CMakeFiles/bsoncxx_testing.dir/json.cpp.o CMakeFiles/bsoncxx_testing.dir/oid.cpp.o CMakeFiles/bsoncxx_testing.dir/private/itoa.cpp.o CMakeFiles/bsoncxx_testing.dir/string/view_or_value.cpp.o CMakeFiles/bsoncxx_testing.dir/types.cpp.o CMakeFiles/bsoncxx_testing.dir/types/value.cpp.o CMakeFiles/bsoncxx_testing.dir/validate.cpp.o -lbson-1.0 cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx && /usr/bin/cmake -E cmake_symlink_library libbsoncxx-testing.so.3.3.1 libbsoncxx-testing.so._noabi libbsoncxx-testing.so make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 12%] Built target bsoncxx_testing [ 12%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/client.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/bulk_write.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp:22: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/client.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client.cpp [ 14%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp [ 15%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/client_session.cpp [ 15%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/change_stream.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/change_stream.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp [ 15%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/change_stream.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/change_stream.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/change_stream.cpp BUILDSTDERR: [ 15%] Building CXX object src/mongIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp:42: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ocxx/CMakeFiles/mongocxx_mocked.dir/collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp [ 15%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/collection.cpp [ 16%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/cursor.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/cursor.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp [ 16%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/database.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/database.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/cursor.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/cursor.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/curIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/cursor.cpp:25: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp:28: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sor.cpp [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/database.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/database.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/database.cpp [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/error_code.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/exception/error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/error_code.cpp [ 19%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/operation_exception.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/exception/operation_exception.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/operation_exception.cpp [ 19%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/error_code.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/exception/error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/error_code.cpp [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/operation_exception.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/exception/operation_exception.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/operation_exception.cpp [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/server_error_code.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/exception/server_error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/server_error_code.cpp [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/gridfs/bucket.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/bucket.cpp [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/gridfs/downloader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/gridfs/downloader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/downloader.cpp [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/gridfs/uploader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/gridfs/uploader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/uploader.cpp [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/server_error_code.cpp.o [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/hint.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/exception/server_error_code.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/server_error_code.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/hint.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/hint.cpp [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/gridfs/bucket.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/bucket.cpp make -f src/bsoncxx/test/CMakeFiles/test_bson.dir/build.make src/bsoncxx/test/CMakeFiles/test_bson.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/CMakeFiles/test_bson.dir/DependInfo.cmake --color= Scanning dependencies of target test_bson make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/bsoncxx/test/CMakeFiles/test_bson.dir/build.make src/bsoncxx/test/CMakeFiles/test_bson.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 22%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp [ 22%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_b_date.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_b_date.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_b_date.cpp [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/gridfs/downloader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/gridfs/downloader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/downloader.cpp [ 23%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/index_model.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/index_model.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_model.cpp [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/gridfs/uploader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/gridfs/uploader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/gridfs/uploader.cpp [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/hint.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/hint.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/hint.cpp [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/index_view.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/exception/private/mongoc_error.hh:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/index_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/index_model.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/index_model.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_model.cpp [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/index_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/index_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/index_view.cpp [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/instance.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/instance.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/logger.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/logger.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/logger.cpp [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/delete_many.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp:26: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/delete_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/delete_many.cpp [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/instance.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/instance.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/instance.cpp [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/delete_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/delete_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/delete_one.cpp [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/insert_one.cpp [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/replace_one.cpp BUILDSTDERR: [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/update_many.cpp.oIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/update_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/update_many.cpp [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/update_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/update_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/update_one.cpp [ 29%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/model/write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/write.cpp [ 31%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_builder.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_builder.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_builder.cpp [ 31%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/aggregate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/aggregate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp [ 31%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/bulk_write.cpp [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/change_stream.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/change_stream.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/change_stream.cpp [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/client.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/client.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/client.cpp [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/client_session.cpp [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/count.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/count.cpp.o -c /builddir/build/BUILD/monIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ go-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp [ 33%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/create_collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/create_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/create_collection.cpp [ 33%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/create_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/create_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/create_view.cpp [ 33%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/delete.cpp [ 33%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/logger.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/logger.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/logger.cpp [ 33%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_get_values.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_get_values.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_get_values.cpp [ 35%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/distinct.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/distinct.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/delete_many.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/delete_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/delete_many.cpp [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/find_one_and_delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_delete.cpp [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/delete_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/delete_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/delete_one.cpp [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_replace.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/find_one_and_replace.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_replace.cpp [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/insert_one.cpp [ 37%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/replace_one.cpp [ 37%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/update_many.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/update_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/update_many.cpp [ 38%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/find_one_and_update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_update.cpp [ 38%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/update_one.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/update_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/update_one.cpp [ 38%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_types.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_types.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_types.cpp [ 38%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/find.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp [ 40%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/write.cpp.o [ 40%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/gridfs/bucket.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/gridfs/bucket.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/model/write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/model/write.cpp [ 41%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_util_itoa.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_util_itoa.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_util_itoa.cpp [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/gridfs/upload.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/gridfs/upload.cpp [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/aggregate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/aggregate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/index.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/index.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/index_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/index_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index_view.cpp BUILDSTDERR: [ 42%] Building CXX object src/bsoncxx/test/CMakeFilIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/aggregate.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ es/test_bson.dir/bson_validate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/bson_validate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/bson_validate.cpp [ 42%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/json.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/json.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/json.cpp [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/bulk_write.cpp [ 44%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/change_stream.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/change_stream.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/change_stream.cpp [ 44%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/client.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/client.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/client.cpp [ 45%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/view_or_value.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/c++ -DBSONCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_bson.dir/view_or_value.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/view_or_value.cpp [ 46%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/insert.cpp.o [ 46%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/insert.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/insert.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/client_session.cpp [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/count.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/count.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tabIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/count.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ les -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/modify_collection.cpp [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/create_collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/create_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/create_collection.cpp [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/create_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/create_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/create_view.cpp [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/pool.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/pool.cpp [ 49%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/delete.cpp [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/private/rewriter.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCEIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/private/rewriter.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/rewriter.cpp [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/distinct.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/distinct.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/distinct.cpp [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/ssl.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/ssl.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/ssl.cpp [ 50%] Linking CXX executable test_bson cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_bson.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_bson.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_bson.dir/bson_b_date.cpp.o CMakeFiles/test_bson.dir/bson_builder.cpp.o CMakeFiles/test_bson.dir/bson_get_values.cpp.o CMakeFiles/test_bson.dir/bson_types.cpp.o CMakeFiles/test_bson.dir/bson_util_itoa.cpp.o CMakeFiles/test_bson.dir/bson_validate.cpp.o CMakeFiles/test_bson.dir/json.cpp.o CMakeFiles/test_bson.dir/view_or_value.cpp.o -o test_bson -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libbsoncxx-testing.so.3.3.1 -lbson-1.0 [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/options/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/update.cpp [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/pipeline.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/pipeline.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pipeline.cpp make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 50%] Built target test_bson [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/pool.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_delete.cpp [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/private/conversions.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/private/conversions.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/private/libbson.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ G -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/private/libbson.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libbson.cpp [ 53%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/private/libmongoc.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/private/libmongoc.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp [ 53%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/read_concern.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/read_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp [ 53%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_replace.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_replace.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_replace.cpp [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find_one_and_update.cpp [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/read_preference.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/find.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/find.cpp [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/read_preference.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/read_preference.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/gridfs/bucket.cpp.o [ 55%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/gridfs/bucket.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/bulk_write.cpp [ 55%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/delete.cpp [ 57%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/gridfs/upload.cpp.o [ 57%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/gridfs/upload.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp:18: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/gridfs/upload.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/gridfs/upload.cpp [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/insert_many.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/insert_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/insert_many.cpp [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/index.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/index.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index.cpp [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/index_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/index_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/index_view.cpp [ 59%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/insert.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/insert.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/insert.cpp [ 59%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/insert_one.cpp [ 59%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/modify_collection.cpp.o [ 59%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/modify_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/modify_collection.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/replace_one.cpp [ 59%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/pool.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/pool.cpp [ 61%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/private/rewriter.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/private/rewriter.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/rewriter.cpp [ 61%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/ssl.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/ssl.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/ssl.cpp [ 61%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/update.cpp.o [ 62%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/options/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/update.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/result/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/update.cpp [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/pipeline.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fsIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/options/private/ssl.hh:20, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp:23: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/pipeline.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pipeline.cpp [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/uri.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/uri.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/pool.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/pool.cpp [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/private/conversions.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/private/conversions.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.cpp [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/private/libbson.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/private/libbson.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libbson.cpp [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/private/libmongoc.cpp.o [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/validation_criteria.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:56: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:69: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:56: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:69: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp:21: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:32:31: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 32 | test_util::mock& name = \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:40: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:56: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:33:69: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 33 | *new test_util::mock(mongoc_##name); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/private/libmongoc.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.cpp [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/read_concern.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/read_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_concern.cpp [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/read_preference.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/read_preference.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/read_preference.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/validation_criteria.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/validation_criteria.cpp [ 66%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/write_concern.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx.dir/write_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/bulk_write.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -WIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:67:63: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 67 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ all -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/bulk_write.cpp [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/delete.cpp [ 67%] Linking CXX shared library libmongocxx.so cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/mongocxx.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libmongocxx.so._noabi -o libmongocxx.so.3.3.1 CMakeFiles/mongocxx.dir/bulk_write.cpp.o CMakeFiles/mongocxx.dir/client.cpp.o CMakeFiles/mongocxx.dir/client_session.cpp.o CMakeFiles/mongocxx.dir/change_stream.cpp.o CMakeFiles/mongocxx.dir/collection.cpp.o CMakeFiles/mongocxx.dir/cursor.cpp.o CMakeFiles/mongocxx.dir/database.cpp.o CMakeFiles/mongocxx.dir/exception/error_code.cpp.o CMakeFiles/mongocxx.dir/exception/operation_exception.cpp.o CMakeFiles/mongocxx.dir/exception/server_error_code.cpp.o CMakeFiles/mongocxx.dir/gridfs/bucket.cpp.o CMakeFiles/mongocxx.dir/gridfs/downloader.cpp.o CMakeFiles/mongocxx.dir/gridfs/uploader.cpp.o CMakeFiles/mongocxx.dir/hint.cpp.o CMakeFiles/mongocxx.dir/index_model.cpp.o CMakeFiles/mongocxx.dir/index_view.cpp.o CMakeFiles/mongocxx.dir/instance.cpp.o CMakeFiles/mongocxx.dir/logger.cpp.o CMakeFiles/mongocxx.dir/model/delete_many.cpp.o CMakeFiles/mongocxx.dir/model/delete_one.cpp.o CMakeFiles/mongocxx.dir/model/insert_one.cpp.o CMakeFiles/mongocxx.dir/model/replace_one.cpp.o CMakeFiles/mongocxx.dir/model/update_many.cpp.o CMakeFiles/mongocxx.dir/model/update_one.cpp.o CMakeFiles/mongocxx.dir/model/write.cpp.o CMakeFiles/mongocxx.dir/options/aggregate.cpp.o CMakeFiles/mongocxx.dir/options/bulk_write.cpp.o CMakeFiles/mongocxx.dir/options/change_stream.cpp.o CMakeFiles/mongocxx.dir/options/client.cpp.o CMakeFiles/mongocxx.dir/options/client_session.cpp.o CMakeFiles/mongocxx.dir/options/count.cpp.o CMakeFiles/mongocxx.dir/options/create_collection.cpp.o CMakeFiles/mongocxx.dir/options/create_view.cpp.o CMakeFiles/mongocxx.dir/options/delete.cpp.o CMakeFiles/mongocxx.dir/options/distinct.cpp.o CMakeFiles/mongocxx.dir/options/find_one_and_delete.cpp.o CMakeFiles/mongocxx.dir/options/find_one_and_replace.cpp.o CMakeFiles/mongocxx.dir/options/find_one_and_update.cpp.o CMakeFiles/mongocxx.dir/options/find.cpp.o CMakeFiles/mongocxx.dir/options/gridfs/bucket.cpp.o CMakeFiles/mongocxx.dir/options/gridfs/upload.cpp.o CMakeFiles/mongocxx.dir/options/index.cpp.o CMakeFiles/mongocxx.dir/options/index_view.cpp.o CMakeFiles/mongocxx.dir/options/insert.cpp.o CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o CMakeFiles/mongocxx.dir/options/pool.cpp.o CMakeFiles/mongocxx.dir/options/private/rewriter.cpp.o CMakeFiles/mongocxx.dir/options/ssl.cpp.o CMakeFiles/mongocxx.dir/options/update.cpp.o CMakeFiles/mongocxx.dir/pipeline.cpp.o CMakeFiles/mongocxx.dir/pool.cpp.o CMakeFiles/mongocxx.dir/private/conversions.cpp.o CMakeFiles/mongocxx.dir/private/libbson.cpp.o CMakeFiles/mongocxx.dir/private/libmongoc.cpp.o CMakeFiles/mongocxx.dir/read_concern.cpp.o CMakeFiles/mongocxx.dir/read_preference.cpp.o CMakeFiles/mongocxx.dir/result/bulk_write.cpp.o CMakeFiles/mongocxx.dir/result/delete.cpp.o CMakeFiles/mongocxx.dir/result/gridfs/upload.cpp.o CMakeFiles/mongocxx.dir/result/insert_many.cpp.o CMakeFiles/mongocxx.dir/result/insert_one.cpp.o CMakeFiles/mongocxx.dir/result/replace_one.cpp.o CMakeFiles/mongocxx.dir/result/update.cpp.o CMakeFiles/mongocxx.dir/uri.cpp.o CMakeFiles/mongocxx.dir/validation_criteria.cpp.o CMakeFiles/mongocxx.dir/write_concern.cpp.o -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx: ../bsoncxx/libbsoncxx.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/gridfs/upload.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/gridfs/upload.cpp [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/insert_many.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/insert_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/insert_many.cpp cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/cmake -E cmake_symlink_library libmongocxx.so.3.3.1 libmongocxx.so._noabi libmongocxx.so make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 68%] Built target mongocxx [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/insert_one.cpp [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/replace_one.cpp [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/result/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/result/update.cpp [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/uri.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/uri.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/validation_criteria.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/validation_criteria.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/validation_criteria.cpp [ 71%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/write_concern.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/c++ -DMONGOCXX_EXPORTS -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -fPIC -fvisibility=hidden -fvisibilityIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/uri.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp:24: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -inlines-hidden -std=c++11 -o CMakeFiles/mongocxx_mocked.dir/write_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/write_concern.cpp [ 71%] Linking CXX shared library libmongocxx-mocked.so cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/mongocxx_mocked.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libmongocxx-mocked.so._noabi -o libmongocxx-mocked.so.3.3.1 CMakeFiles/mongocxx_mocked.dir/bulk_write.cpp.o CMakeFiles/mongocxx_mocked.dir/client.cpp.o CMakeFiles/mongocxx_mocked.dir/client_session.cpp.o CMakeFiles/mongocxx_mocked.dir/change_stream.cpp.o CMakeFiles/mongocxx_mocked.dir/collection.cpp.o CMakeFiles/mongocxx_mocked.dir/cursor.cpp.o CMakeFiles/mongocxx_mocked.dir/database.cpp.o CMakeFiles/mongocxx_mocked.dir/exception/error_code.cpp.o CMakeFiles/mongocxx_mocked.dir/exception/operation_exception.cpp.o CMakeFiles/mongocxx_mocked.dir/exception/server_error_code.cpp.o CMakeFiles/mongocxx_mocked.dir/gridfs/bucket.cpp.o CMakeFiles/mongocxx_mocked.dir/gridfs/downloader.cpp.o CMakeFiles/mongocxx_mocked.dir/gridfs/uploader.cpp.o CMakeFiles/mongocxx_mocked.dir/hint.cpp.o CMakeFiles/mongocxx_mocked.dir/index_model.cpp.o CMakeFiles/mongocxx_mocked.dir/index_view.cpp.o CMakeFiles/mongocxx_mocked.dir/instance.cpp.o CMakeFiles/mongocxx_mocked.dir/logger.cpp.o CMakeFiles/mongocxx_mocked.dir/model/delete_many.cpp.o CMakeFiles/mongocxx_mocked.dir/model/delete_one.cpp.o CMakeFiles/mongocxx_mocked.dir/model/insert_one.cpp.o CMakeFiles/mongocxx_mocked.dir/model/replace_one.cpp.o CMakeFiles/mongocxx_mocked.dir/model/update_many.cpp.o CMakeFiles/mongocxx_mocked.dir/model/update_one.cpp.o CMakeFiles/mongocxx_mocked.dir/model/write.cpp.o CMakeFiles/mongocxx_mocked.dir/options/aggregate.cpp.o CMakeFiles/mongocxx_mocked.dir/options/bulk_write.cpp.o CMakeFiles/mongocxx_mocked.dir/options/change_stream.cpp.o CMakeFiles/mongocxx_mocked.dir/options/client.cpp.o CMakeFiles/mongocxx_mocked.dir/options/client_session.cpp.o CMakeFiles/mongocxx_mocked.dir/options/count.cpp.o CMakeFiles/mongocxx_mocked.dir/options/create_collection.cpp.o CMakeFiles/mongocxx_mocked.dir/options/create_view.cpp.o CMakeFiles/mongocxx_mocked.dir/options/delete.cpp.o CMakeFiles/mongocxx_mocked.dir/options/distinct.cpp.o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_delete.cpp.o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_replace.cpp.o CMakeFiles/mongocxx_mocked.dir/options/find_one_and_update.cpp.o CMakeFiles/mongocxx_mocked.dir/options/find.cpp.o CMakeFiles/mongocxx_mocked.dir/options/gridfs/bucket.cpp.o CMakeFiles/mongocxx_mocked.dir/options/gridfs/upload.cpp.o CMakeFiles/mongocxx_mocked.dir/options/index.cpp.o CMakeFiles/mongocxx_mocked.dir/options/index_view.cpp.o CMakeFiles/mongocxx_mocked.dir/options/insert.cpp.o CMakeFiles/mongocxx_mocked.dir/options/modify_collection.cpp.o CMakeFiles/mongocxx_mocked.dir/options/pool.cpp.o CMakeFiles/mongocxx_mocked.dir/options/private/rewriter.cpp.o CMakeFiles/mongocxx_mocked.dir/options/ssl.cpp.o CMakeFiles/mongocxx_mocked.dir/options/update.cpp.o CMakeFiles/mongocxx_mocked.dir/pipeline.cpp.o CMakeFiles/mongocxx_mocked.dir/pool.cpp.o CMakeFiles/mongocxx_mocked.dir/private/conversions.cpp.o CMakeFiles/mongocxx_mocked.dir/private/libbson.cpp.o CMakeFiles/mongocxx_mocked.dir/private/libmongoc.cpp.o CMakeFiles/mongocxx_mocked.dir/read_concern.cpp.o CMakeFiles/mongocxx_mocked.dir/read_preference.cpp.o CMakeFiles/mongocxx_mocked.dir/result/bulk_write.cpp.o CMakeFiles/mongocxx_mocked.dir/result/delete.cpp.o CMakeFiles/mongocxx_mocked.dir/result/gridfs/upload.cpp.o CMakeFiles/mongocxx_mocked.dir/result/insert_many.cpp.o CMakeFiles/mongocxx_mocked.dir/result/insert_one.cpp.o CMakeFiles/mongocxx_mocked.dir/result/replace_one.cpp.o CMakeFiles/mongocxx_mocked.dir/result/update.cpp.o CMakeFiles/mongocxx_mocked.dir/uri.cpp.o CMakeFiles/mongocxx_mocked.dir/validation_criteria.cpp.o CMakeFiles/mongocxx_mocked.dir/write_concern.cpp.o -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../bsoncxx/libbsoncxx.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx && /usr/bin/cmake -E cmake_symlink_library libmongocxx-mocked.so.3.3.1 libmongocxx-mocked.so._noabi libmongocxx-mocked.so make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 71%] Built target mongocxx_mocked make -f src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_crud_specs.dir/depend make -f src/mongocxx/test/CMakeFiles/test_driver.dir/build.make src/mongocxx/test/CMakeFiles/test_driver.dir/depend make -f src/mongocxx/test/CMakeFiles/test_logging.dir/build.make src/mongocxx/test/CMakeFiles/test_logging.dir/depend make -f src/mongocxx/test/CMakeFiles/test_instance.dir/build.make src/mongocxx/test/CMakeFiles/test_instance.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_crud_specs.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_logging.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_driver.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_instance.dir/DependInfo.cmake --color= Scanning dependencies of target test_instance make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/test/CMakeFiles/test_instance.dir/build.make src/mongocxx/test/CMakeFiles/test_instance.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 71%] Building CXX object src/mongocxx/test/CMakeFiles/test_instance.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_instance.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp Scanning dependencies of target test_logging make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/test/CMakeFiles/test_logging.dir/build.make src/mongocxx/test/CMakeFiles/test_logging.dir/build Scanning dependencies of target test_crud_specs make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 71%] Building CXX object src/mongocxx/test/CMakeFiles/test_logging.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_logging.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp [ 71%] Building CXX object src/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/test_util/client_helpers.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_crud_specs.dir/__/test_util/client_helpers.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test_util/client_helpers.cpp Scanning dependencies of target test_driver make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/test/CMakeFiles/test_driver.dir/build.make src/mongocxx/test/CMakeFiles/test_driver.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 71%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/__/test_util/client_helpers.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/__/test_util/client_helpers.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test_util/client_helpers.cpp [ 72%] Building CXX object src/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_crud_specs.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp [ 74%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp [ 75%] Building CXX object src/mongocxx/test/CMakeFiles/test_instance.dir/instance.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_instance.dir/instance.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/instance.cpp [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_logging.dir/logging.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_logging.dir/logging.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp [ 76%] Linking CXX executable test_instance cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_instance.dir/link.txt --verbose=1 BUILDSTDERR: /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-harIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/logging.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dened-ld -rdynamic CMakeFiles/test_instance.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_instance.dir/instance.cpp.o -o test_instance -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx:/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libmongocxx-mocked.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc ../../bsoncxx/libbsoncxx.so.3.3.1 [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_crud_specs.dir/spec/crud.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_crud_specs.dir/spec/crud.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/spec/crud.cpp make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 76%] Built target test_instance make -f src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/DependInfo.cmake --color= Scanning dependencies of target test_gridfs_specs make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make -f src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/test_util/client_helpers.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_gridfs_specs.dir/__/test_util/client_helpers.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test_util/client_helpers.cpp [ 76%] Linking CXX executable test_logging cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_logging.dir/link.txt --verbose=1 BUILDSTDERR: /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_logging.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_logging.dir/logging.cpp.o -o test_logging -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx:/builIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp:27: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libmongocxx-mocked.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc ../../bsoncxx/libbsoncxx.so.3.3.1 [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/bulk_write.cpp make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 76%] Built target test_logging [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/change_streams.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/change_streams.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/change_streams.cpp [ 76%] Building CXX object src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/__/third_party/catch/main.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_gridfs_specs.dir/__/__/third_party/catch/main.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/main.cpp [ 76%] Linking CXX executable test_crud_specs cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_crud_specs.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_crud_specs.dir/__/test_util/client_helpers.cpp.o CMakeFiles/test_crud_specs.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_crud_specs.dir/spec/crud.cpp.o -o test_crud_specs -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx:/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libmongocxx-mocked.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc ../../bsoncxx/libbsoncxx.so.3.3.1 BUILDSTDERR: [ 77%] Building CXX object src/mongocxx/test/CMakeFiles/test_In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ driver.dir/client.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/client.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client.cpp make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 77%] Built target test_crud_specs [ 77%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/client_session.cpp [ 77%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection.cpp [ 79%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/collection_mocked.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/collection_mocked.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp [ 80%] Building CXX object src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/spec/gridfs.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/rIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/conversions.hh:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp:16: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_gridfs_specs.dir/spec/gridfs.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/spec/gridfs.cpp [ 80%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/conversions.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/conversions.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/conversions.cpp [ 80%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/database.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/database.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/database.cpp [ 80%] Linking CXX executable test_gridfs_specs cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_gridfs_specs.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_gridfs_specs.dir/__/test_util/client_helpers.cpp.o CMakeFiles/test_gridfs_specs.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_gridfs_specs.dir/spec/gridfs.cpp.o -o test_gridfs_specs -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx:/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libmongocxx-mocked.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc ../../bsoncxx/libbsoncxx.so.3.3.1 make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 80%] Built target test_gridfs_specs [ 81%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/gridfs/bucket.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/gridfs/bucket.cpp BUILDSTDERR: [ 81%]In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test_util/catch.hh:21, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:17, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp: In function 'void {anonymous}::____C_A_T_C_H____T_E_S_T____2()': BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection_mocked.cpp:56:1: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without BUILDSTDERR: 56 | TEST_CASE("Collection", "[collection]") { BUILDSTDERR: | ^~~~~~~~~ Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/gridfs/downloader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/gridfs/downloader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/gridfs/downloader.cpp [ 81%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/gridfs/uploader.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/gridfs/uploader.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/gridfs/uploader.cpp [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/hint.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/hint.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/hint.cpp [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/index_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/index_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/index_view.cpp [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/delete_many.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhatIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/delete_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_many.cpp [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/delete_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/delete_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/delete_one.cpp [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/insert_one.cpp [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/update_many.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/update_many.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/update_one.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/iIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_many.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nclude -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/model/update_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/model/update_one.cpp [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/aggregate.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/aggregate.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/aggregate.cpp [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/bulk_write.cpp [ 87%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/client_session.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/client_session.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/client_session.cpp [ 87%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/count.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/count.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp BUILDSTDERR: [ 87%] Building CXX object src/mongocxx/tesIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/count.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t/CMakeFiles/test_driver.dir/options/create_collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/create_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_collection.cpp [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/create_view.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/create_view.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/create_view.cpp [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/distinct.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/distinct.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/distinct.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/find.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find.cpp [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/find_one_and_delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_delete.cpp [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_replace.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/find_one_and_replace.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_replace.cpp [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/find_one_and_update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/find_one_and_update.cpp [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/gridfs/bucket.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/gridfs/bucket.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/gridfs/upload.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMOIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/bucket.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/gridfs/upload.cpp [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/index.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/index.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/index.cpp [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/insert.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/insert.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/insert.cpp [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/modify_collection.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/modify_collection.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/modify_collection.cpp [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/pool.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/optionIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/pool.cpp [ 93%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/private/rewriter.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/private/rewriter.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/private/rewriter.cpp [ 93%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/options/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/options/update.cpp [ 93%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/pool.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/pool.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/pool.cpp [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/private/scoped_bson_t.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/private/scoped_bson_t.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/private/write_concern.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/scoped_bson_t.cpp:20: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp:17: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/private/write_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/private/write_concern.cpp [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/read_concern.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/read_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_concern.cpp [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/read_preference.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/read_preference.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/read_preference.cpp [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/bulk_write.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/bulk_write.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/delete.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/delete.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/gridfs/upload.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/bulk_write.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/delete.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/gridfs/upload.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/gridfs/upload.cpp [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/insert_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/insert_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/insert_one.cpp [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/replace_one.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/replace_one.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/replace_one.cpp [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/update.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/result/update.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/uri.cpp.o BUILDSTDERR: cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/uri.cpp.o -c /builddir/build/BUILDIn file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/result/update.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:98:1: note: declared here BUILDSTDERR: 98 | mongoc_collection_count (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)' is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:108:1: note: declared here BUILDSTDERR: 108 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:58:61: warning: 'mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)' is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] BUILDSTDERR: 58 | extern MONGOCXX_API mongocxx::test_util::mock& name; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro 'MONGOCXX_LIBMONGOC_SYMBOL' BUILDSTDERR: 89 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:30, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:28, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, BUILDSTDERR: from /usr/include/libmongoc-1.0/mongoc.h:18, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/private/libmongoc.hh:27, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include/helpers.hpp:19, BUILDSTDERR: from /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp:15: BUILDSTDERR: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:82:1: note: declared here BUILDSTDERR: 82 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mongo-cxx-driver-r3.3.1/src/mongocxx/test/uri.cpp [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/validation_criteria.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/validation_criteria.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/validation_criteria.cpp [100%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/write_concern.cpp.o cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/c++ -DMONGOCXX_TESTING -DMONGO_CXX_DRIVER_COMPILING -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src -I/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/third_party/catch/include -I/usr/include/libmongoc-1.0 -I/usr/include/libbson-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=c++11 -o CMakeFiles/test_driver.dir/write_concern.cpp.o -c /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/write_concern.cpp [100%] Linking CXX executable test_driver cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_driver.dir/link.txt --verbose=1 BUILDSTDERR: /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/test_driver.dir/__/test_util/client_helpers.cpp.o CMakeFiles/test_driver.dir/__/__/third_party/catch/main.cpp.o CMakeFiles/test_driver.dir/bulk_write.cpp.o CMakeFiles/test_driver.dir/change_streams.cpp.o CMakeFiles/test_driver.dir/client.cpp.o CMakeFiles/test_driver.dir/client_session.cpp.o CMakeFiles/test_driver.dir/collection.cpp.o CMakeFiles/test_driver.dir/collection_mocked.cpp.o CMakeFiles/test_driver.dir/conversions.cpp.o CMakeFiles/test_driver.dir/database.cpp.o CMakeFiles/test_driver.dir/gridfs/bucket.cpp.o CMakeFiles/test_driver.dir/gridfs/downloader.cpp.o CMakeFiles/test_driver.dir/gridfs/uploader.cpp.o CMakeFiles/test_driver.dir/hint.cpp.o CMakeFiles/test_driver.dir/index_view.cpp.o CMakeFiles/test_driver.dir/model/delete_many.cpp.o CMakeFiles/test_driver.dir/model/delete_one.cpp.o CMakeFiles/test_driver.dir/model/insert_one.cpp.o CMakeFiles/test_driver.dir/model/replace_one.cpp.o CMakeFiles/test_driver.dir/model/update_many.cpp.o CMakeFiles/test_driver.dir/model/update_one.cpp.o CMakeFiles/test_driver.dir/options/aggregate.cpp.o CMakeFiles/test_driver.dir/options/bulk_write.cpp.o CMakeFiles/test_driver.dir/options/client_session.cpp.o CMakeFiles/test_driver.dir/options/count.cpp.o CMakeFiles/test_driver.dir/options/create_collection.cpp.o CMakeFiles/test_driver.dir/options/create_view.cpp.o CMakeFiles/test_driver.dir/options/delete.cpp.o CMakeFiles/test_driver.dir/options/distinct.cpp.o CMakeFiles/test_driver.dir/options/find.cpp.o CMakeFiles/test_driver.dir/options/find_one_and_delete.cpp.o CMakeFiles/test_driver.dir/options/find_one_and_replace.cpp.o CMakeFiles/test_driver.dir/options/find_one_and_update.cpp.o CMakeFiles/+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 test_driver.dir/options/gridfs/bucket.cpp.o CMakeFiles/test_driver.dir/options/gridfs/upload.cpp.o CMakeFiles/test_driver.dir/options/index.cpp.o CMakeFiles/test_driver.dir/options/insert.cpp.o CMakeFiles/test_driver.dir/options/modify_collection.cpp.o CMakeFiles/test_driver.dir/options/pool.cpp.o CMakeFiles/test_driver.dir/options/private/rewriter.cpp.o CMakeFiles/test_driver.dir/options/update.cpp.o CMakeFiles/test_driver.dir/pool.cpp.o CMakeFiles/test_driver.dir/private/scoped_bson_t.cpp.o CMakeFiles/test_driver.dir/private/write_concern.cpp.o CMakeFiles/test_driver.dir/read_concern.cpp.o CMakeFiles/test_driver.dir/read_preference.cpp.o CMakeFiles/test_driver.dir/result/bulk_write.cpp.o CMakeFiles/test_driver.dir/result/delete.cpp.o CMakeFiles/test_driver.dir/result/gridfs/upload.cpp.o CMakeFiles/test_driver.dir/result/insert_one.cpp.o CMakeFiles/test_driver.dir/result/replace_one.cpp.o CMakeFiles/test_driver.dir/result/update.cpp.o CMakeFiles/test_driver.dir/uri.cpp.o CMakeFiles/test_driver.dir/validation_criteria.cpp.o CMakeFiles/test_driver.dir/write_concern.cpp.o -o test_driver -Wl,-rpath,/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx:/builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx ../libmongocxx-mocked.so.3.3.1 -lmongoc-1.0 -lbson-1.0 -lsasl2 -lssl -lcrypto -lrt -lresolv -lsnappy -licuuc ../../bsoncxx/libbsoncxx.so.3.3.1 make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [100%] Built target test_driver make[1]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AM7p6U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 + cd mongo-cxx-driver-r3.3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -S/builddir/build/BUILD/mongo-cxx-driver-r3.3.1 -B/builddir/build/BUILD/mongo-cxx-driver-r3.3.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/bsoncxx/CMakeFiles/bsoncxx_testing.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 6%] Built target bsoncxx_testing /usr/bin/make -f src/bsoncxx/CMakeFiles/bsoncxx.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/CMakeFiles/bsoncxx.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/bsoncxx/CMakeFiles/bsoncxx.dir/build.make src/bsoncxx/CMakeFiles/bsoncxx.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/bsoncxx/CMakeFiles/bsoncxx.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 12%] Built target bsoncxx /usr/bin/make -f src/bsoncxx/test/CMakeFiles/test_bson.dir/build.make src/bsoncxx/test/CMakeFiles/test_bson.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/bsoncxx/test/CMakeFiles/test_bson.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/bsoncxx/test/CMakeFiles/test_bson.dir/build.make src/bsoncxx/test/CMakeFiles/test_bson.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/bsoncxx/test/CMakeFiles/test_bson.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 16%] Built target test_bson /usr/bin/make -f src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build.make src/mongocxx/CMakeFiles/mongocxx_mocked.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/CMakeFiles/mongocxx_mocked.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build.make src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/CMakeFiles/mongocxx_mocked.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 44%] Built target mongocxx_mocked /usr/bin/make -f src/mongocxx/CMakeFiles/mongocxx.dir/build.make src/mongocxx/CMakeFiles/mongocxx.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/CMakeFiles/mongocxx.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/CMakeFiles/mongocxx.dir/build.make src/mongocxx/CMakeFiles/mongocxx.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/CMakeFiles/mongocxx.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 71%] Built target mongocxx /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_crud_specs.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_crud_specs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/test/CMakeFiles/test_crud_specs.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 72%] Built target test_crud_specs /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_driver.dir/build.make src/mongocxx/test/CMakeFiles/test_driver.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_driver.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_driver.dir/build.make src/mongocxx/test/CMakeFiles/test_driver.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/test/CMakeFiles/test_driver.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 96%] Built target test_driver /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_logging.dir/build.make src/mongocxx/test/CMakeFiles/test_logging.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_logging.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_logging.dir/build.make src/mongocxx/test/CMakeFiles/test_logging.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/test/CMakeFiles/test_logging.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 97%] Built target test_logging /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_instance.dir/build.make src/mongocxx/test/CMakeFiles/test_instance.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_instance.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_instance.dir/build.make src/mongocxx/test/CMakeFiles/test_instance.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/test/CMakeFiles/test_instance.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [ 98%] Built target test_instance /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' cd /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/make -f src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build.make src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build make[2]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[2]: Nothing to be done for 'src/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' [100%] Built target test_gridfs_specs make[1]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mongo-cxx-driver-r3.3.1/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/mongo-cxx-driver-r3.3.1' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/enums -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/enums/binary_sub_type.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/enums/type.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/oid.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test_util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/stdx -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/string_view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/optional.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/make_unique.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/exception/error_code.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/exception/exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/postlude.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/prelude.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/compiler.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/util/functor.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/document -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/builder -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/types -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/array -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx_testing.dir/string -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/document -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/builder -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/types -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/array -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/CMakeFiles/bsoncxx.dir/string -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/third_party/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/document -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/document/value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/document/element.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/document/view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/document/view_or_value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/single_context.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/value_context.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/key_context.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/closed_context.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array_context.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/helpers.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/document.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/core.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/concatenate.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_document.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/array.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_array.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/impl.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/kvp.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/helpers.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/document.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/cmake -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/types -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/types/value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/types.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/validate.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/json.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/view_or_value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/decimal128.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/array -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/array/value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/array/element.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/array/view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/array/view_or_value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/string -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/string/to_string.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/string/view_or_value.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles/test_bson.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles/test_bson.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles/test_bson.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles/test_bson.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/test/CMakeFiles/test_bson.dir/__/__/third_party/catch -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libbsoncxx.so.3.3.1 -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libbsoncxx.so._noabi -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libbsoncxx.so -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/cmake/libbsoncxx-3.3.1/libbsoncxx-config.cmake -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/cmake/libbsoncxx-3.3.1/libbsoncxx-config-version.cmake -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/pkgconfig/libbsoncxx.pc -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/index_view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/read_concern.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/index_model.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/pipeline.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/change_stream.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/pool.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/write_concern.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/validation_criteria.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test_util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/cursor.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/insert_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/update_many.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/delete_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/replace_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/write.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/update_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/model/delete_many.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/read_preference.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/operation_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/query_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/authentication_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/gridfs_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/error_code.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/bulk_write_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/server_error_code.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/write_exception.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/exception/logic_error.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/version.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/export.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/config.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/postlude.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/prelude.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/compiler.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/index_view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/delete.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/change_stream.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/pool.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_common_options.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/aggregate.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/modify_collection.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_delete.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/index.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/gridfs/upload.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/gridfs/bucket.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/client.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/ssl.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/bulk_write.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_replace.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_update.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/client_session.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/create_view.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/find.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/distinct.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/insert.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/count.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/create_collection.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/options/update.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/logger.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/model -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/options -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/options/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/options/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/result -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx.dir/result/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/model -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/options -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/result -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/gridfs/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/gridfs/uploader.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/gridfs/downloader.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/gridfs/bucket.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/uri.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/client.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/collection.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/write_type.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/bulk_write.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/cmake -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/delete.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/insert_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/gridfs/upload.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/bulk_write.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/replace_one.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/insert_many.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/result/update.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/client_session.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/database.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/instance.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/stdx.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/hint.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/spec -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/model -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/options -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/options/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/options/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/spec -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/test_util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_gridfs_specs.dir/__/__/third_party/catch -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/spec -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/test_util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_crud_specs.dir/__/__/third_party/catch -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_instance.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_instance.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_instance.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_instance.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_instance.dir/__/__/third_party/catch -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/model -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/__/test_util -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/__/__/third_party/catch -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/options -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/options/private -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/options/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/result -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_driver.dir/result/gridfs -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_logging.dir -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_logging.dir/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_logging.dir/__/__ -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_logging.dir/__/__/third_party -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/CMakeFiles/test_logging.dir/__/__/third_party/catch -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/gridfs BUILDSTDERR: -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.r+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.3.1-5.fc31 --unique-debug-suffix -3.3.1-5.fc31.riscv64 --unique-debug-src-base mongo-cxx-driver-3.3.1-5.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mongo-cxx-driver-r3.3.1 BUILDSTDERR: 1972 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs iscv64/usr/include/mongocxx/v_noabi/mongocxx/test/result -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/test/result/gridfs -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/export.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so.3.3.1 -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so._noabi -- Set runtime path of "/builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so.3.3.1" to "" -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/cmake/libmongocxx-3.3.1/libmongocxx-config.cmake -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/cmake/libmongocxx-3.3.1/libmongocxx-config-version.cmake -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/config.hpp -- Up-to-date: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/include/mongocxx/v_noabi/mongocxx/config/version.hpp -- Installing: /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/pkgconfig/libmongocxx.pc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libbsoncxx.so.3.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so.3.3.1 extracting debug info from /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libbsoncxx.so.3.3.1 extracting debug info from /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/lib64/libmongocxx.so.3.3.1 original debug info size: 13368kB, size after compression: 9540kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Processing files: mongo-cxx-driver-3.3.1-5.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nP6vGS + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-r3.3.1 + DOCDIR=/builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/doc/mongo-cxx-driver + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/doc/mongo-cxx-driver + cp -pr README.md /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/doc/mongo-cxx-driver + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VEVRcU + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-r3.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/licenses/mongo-cxx-driver + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/licenses/mongo-cxx-driver + cp -pr LICENSE /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64/usr/share/licenses/mongo-cxx-driver + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libmongocxx.so._noabi()(64bit) libmongodb = 2.6.0-5.fc31 libmongodb(riscv-64) = 2.6.0-5.fc31 mongo-cxx-driver = 3.3.1-5.fc31 mongo-cxx-driver(riscv-64) = 3.3.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbson-1.0.so.0()(64bit) libbsoncxx.so._noabi()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libmongoc-1.0.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Obsoletes: libmongodb <= 2.4.9-8 Processing files: mongo-cxx-driver-devel-3.3.1-5.fc31.riscv64 Provides: cmake(libmongocxx) = 3.3.1 libmongodb-devel = 2.6.0-5.fc31 libmongodb-devel(riscv-64) = 2.6.0-5.fc31 mongo-cxx-driver-devel = 3.3.1-5.fc31 mongo-cxx-driver-devel(riscv-64) = 3.3.1-5.fc31 mongodb-devel = 2.6.0-5.fc31 pkgconfig(libmongocxx) = 3.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(riscv-64) libmongocxx.so._noabi()(64bit) pkgconfig(libbsoncxx) >= 3.3.1 Obsoletes: libmongodb-devel <= 2.4.9-8 mongodb-devel < 2.4 Processing files: mongo-cxx-driver-bsoncxx-3.3.1-5.fc31.riscv64 Provides: libbsoncxx.so._noabi()(64bit) mongo-cxx-driver-bsoncxx = 3.3.1-5.fc31 mongo-cxx-driver-bsoncxx(riscv-64) = 3.3.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbson-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: mongo-cxx-driver-bsoncxx-devel-3.3.1-5.fc31.riscv64 Provides: cmake(libbsoncxx) = 3.3.1 mongo-cxx-driver-bsoncxx-devel = 3.3.1-5.fc31 mongo-cxx-driver-bsoncxx-devel(riscv-64) = 3.3.1-5.fc31 pkgconfig(libbsoncxx) = 3.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(riscv-64) libbsoncxx.so._noabi()(64bit) Processing files: mongo-cxx-driver-debugsource-3.3.1-5.fc31.riscv64 Provides: mongo-cxx-driver-debugsource = 3.3.1-5.fc31 mongo-cxx-driver-debugsource(riscv-64) = 3.3.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mongo-cxx-driver-debuginfo-3.3.1-5.fc31.riscv64 Provides: debuginfo(build-id) = abc5cee941f7e9e87e99d7f248e135f32e1d43a8 mongo-cxx-driver-debuginfo = 3.3.1-5.fc31 mongo-cxx-driver-debuginfo(riscv-64) = 3.3.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongo-cxx-driver-debugsource(riscv-64) = 3.3.1-5.fc31 Processing files: mongo-cxx-driver-bsoncxx-debuginfo-3.3.1-5.fc31.riscv64 Provides: debuginfo(build-id) = 8dc3ed4681e5b879d508fd925e10b386eccd8e03 mongo-cxx-driver-bsoncxx-debuginfo = 3.3.1-5.fc31 mongo-cxx-driver-bsoncxx-debuginfo(riscv-64) = 3.3.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mongo-cxx-driver-debugsource(riscv-64) = 3.3.1-5.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 Wrote: /builddir/build/RPMS/mongo-cxx-driver-bsoncxx-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-bsoncxx-devel-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-devel-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-bsoncxx-debuginfo-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-debugsource-3.3.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-debuginfo-3.3.1-5.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S2foaW + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-r3.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongo-cxx-driver-3.3.1-5.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0