Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mcrouter.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672313677.165671/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35807c7936154ebc8482a3edd6627503', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672313677.165671/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mcrouter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/mcrouter-0.41.0.20220711-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mcrouter.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672313677.165671/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eb584a368a764dcca52ed7dc8dcebf27', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672313677.165671/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yt1qlkow:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mcrouter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kl3w3P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mcrouter-2022.07.11.00 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mcrouter-2022.07.11.00.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mcrouter-2022.07.11.00 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mcrouter-0.41.0-no_distutils.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + pushd mcrouter ~/build/BUILD/mcrouter-2022.07.11.00/mcrouter ~/build/BUILD/mcrouter-2022.07.11.00 + sed -i m4/ax_boost_base.m4 -e 's@ppc64|@ppc64|ppc64le|@' + echo 0.41.0.20220711 + autoreconf --install libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:64: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.ac:64: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:64: the top level configure.ac:87: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:87: the top level configure.ac:122: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:122: the top level configure.ac:169: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:169: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:169: the top level configure.ac:43: installing 'build-aux/compile' configure.ac:43: installing 'build-aux/config.guess' configure.ac:43: installing 'build-aux/config.sub' configure.ac:38: installing 'build-aux/install-sh' configure.ac:38: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' lib/network/test/Makefile.am:56: warning: variable 'mock_mc_server_dual_SOURCES' is defined but no program or lib/network/test/Makefile.am:56: library has 'mock_mc_server_dual' as canonical name (possible typo) lib/network/test/Makefile.am:35: warning: variable 'mock_mc_thrift_server_SOURCES' is defined but no program or lib/network/test/Makefile.am:35: library has 'mock_mc_thrift_server' as canonical name (possible typo) lib/network/test/Makefile.am:63: warning: variable 'mock_mc_server_dual_LDADD' is defined but no program or lib/network/test/Makefile.am:63: library has 'mock_mc_server_dual' as canonical name (possible typo) lib/network/test/Makefile.am:42: warning: variable 'mock_mc_thrift_server_LDADD' is defined but no program or lib/network/test/Makefile.am:42: library has 'mock_mc_thrift_server' as canonical name (possible typo) parallel-tests: installing 'build-aux/test-driver' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uNblj5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS ~/build/BUILD/mcrouter-2022.07.11.00/mcrouter ~/build/BUILD/mcrouter-2022.07.11.00 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mcrouter-2022.07.11.00 + pushd mcrouter + export FBTHRIFT_BIN=/usr/bin + FBTHRIFT_BIN=/usr/bin + export PYTHON_VERSION=3.11 + PYTHON_VERSION=3.11 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static checking for thrift1... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-file... no checking for file... file checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for python3.11... /usr/bin/python3.11 checking for a version of Python >= '3.2.0'... yes checking for the sysconfig Python library... yes checking for Python include path... -I/usr/include/python3.11 checking for Python library path... -L/usr/lib64 -lpython3.11 checking for Python site-packages path... /usr/lib64/python3.11/site-packages checking python extra libraries... -ldl -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking whether g++ supports C++14 features by default... yes checking for main in -lglog... yes checking for glog viability... yes checking for main in -lgflags... yes checking for gflags viability... yes checking for boostlib >= 1.65.1... yes checking whether the Boost::Context library is available... yes checking for exit in -lboost_context... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking for egrep... (cached) /usr/bin/grep -E checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for malloc.h... yes checking for event_set in -levent... yes checking for MD5_Init in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking for gzread in -lz... yes checking for ceil in -ldouble-conversion... yes checking for dlopen in -ldl... yes checking for cplus_demangle_v3_callback in -liberty... yes checking for getenv in -lfolly... yes checking for sodium_init in -lsodium... yes checking for getenv in -lfizz... yes checking for folly/Likely.h... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTEST... yes checking for _Bool... no checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for sys/time.h... (cached) yes checking for vfork.h... no checking for working volatile... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for int32_t... yes checking for int64_t... yes checking for mode_t... yes checking for pid_t... (cached) yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for ptrdiff_t... yes checking for gettimeofday... yes checking for localtime_r... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for socket... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for dup2... yes checking for ftruncate... yes checking whether /usr/bin/python3.11 version is >= 2.6... yes checking for /usr/bin/python3.11 version... 3.11 checking for /usr/bin/python3.11 platform... linux checking for GNU default /usr/bin/python3.11 prefix... ${prefix} checking for GNU default /usr/bin/python3.11 exec_prefix... ${exec_prefix} checking for /usr/bin/python3.11 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages checking for /usr/bin/python3.11 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.11/site-packages checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/test/Makefile config.status: creating lib/carbon/Makefile config.status: creating lib/config/Makefile config.status: creating lib/config/test/Makefile config.status: creating lib/fbi/Makefile config.status: creating lib/fbi/test/Makefile config.status: creating lib/fbi/cpp/Makefile config.status: creating lib/fbi/cpp/test/Makefile config.status: creating lib/network/gen/Makefile config.status: creating lib/network/test/Makefile config.status: creating routes/Makefile config.status: creating routes/test/Makefile config.status: creating test/Makefile config.status: creating test/cpp_unit_tests/Makefile config.status: creating tools/Makefile config.status: creating tools/mcpiper/Makefile config.status: creating config.h config.status: linking mcrouter_config-impl.h to config-impl.h config.status: linking test/mcrouter_config.py to test/config.py config.status: linking RouterRegistry-impl.h to RouterRegistry.h config.status: linking ThriftAcceptor-impl.h to ThriftAcceptor.h config.status: linking mcrouter_sr_deps-impl.h to mcrouter_sr_deps.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 ragel -G1 -o lib/network/McAsciiParser-gen.cpp lib/network/McAsciiParser.rl /usr/bin/make all-recursive Making all in lib Making all in carbon make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' /usr/bin/thrift1 -gen mstch_cpp2:stack_arguments,sync_methods_return_try,include_prefix=mcrouter/lib/carbon/ carbon_result.thrift make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' /usr/bin/thrift1 -gen mstch_cpp2:stack_arguments,sync_methods_return_try,include_prefix=mcrouter/lib/carbon/ carbon.thrift make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' /usr/bin/make all-am make[4]: Nothing to be done for 'all-am'. Making all in network/gen make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' /usr/bin/thrift1 -gen mstch_cpp2:stack_arguments,sync_methods_return_try,terse_writes,include_prefix=mcrouter/lib/network/gen -I ../../../.. Common.thrift [WARNING:Common.thrift:23] Some generators (e.g. PHP) will ignore annotation 'message' as it is also used as field [WARNING:Common.thrift:27] Some generators (e.g. PHP) will ignore annotation 'message' as it is also used as field make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' /usr/bin/thrift1 -gen mstch_cpp2:stack_arguments,sync_methods_return_try,terse_writes,include_prefix=mcrouter/lib/network/gen -I ../../../.. Memcache.thrift [WARNING:Memcache.thrift:40] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:78] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:118] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:159] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:198] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:237] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:275] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:313] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:352] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:391] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:428] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:465] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:504] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:542] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:580] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:616] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:651] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:687] Nonpositive value (-1) not allowed as a field id. [WARNING:Memcache.thrift:725] Nonpositive value (-1) not allowed as a field id. make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' /usr/bin/thrift1 -gen mstch_cpp2:stack_arguments,sync_methods_return_try,terse_writes,include_prefix=mcrouter/lib/network/gen -I ../../../.. MemcacheService.thrift make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' /usr/bin/make all-am make[4]: Nothing to be done for 'all-am'. Making all in . make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-AuxiliaryCPUThreadPool.o `test -f 'AuxiliaryCPUThreadPool.cpp' || echo './'`AuxiliaryCPUThreadPool.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-Clocks.o `test -f 'Clocks.cpp' || echo './'`Clocks.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-AuxiliaryIOThreadPool.o `test -f 'AuxiliaryIOThreadPool.cpp' || echo './'`AuxiliaryIOThreadPool.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-Compression.o `test -f 'Compression.cpp' || echo './'`Compression.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-CompressionCodecManager.o `test -f 'CompressionCodecManager.cpp' || echo './'`CompressionCodecManager.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-IOBufUtil.o `test -f 'IOBufUtil.cpp' || echo './'`IOBufUtil.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-IovecCursor.o `test -f 'IovecCursor.cpp' || echo './'`IovecCursor.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-Lz4CompressionCodec.o `test -f 'Lz4CompressionCodec.cpp' || echo './'`Lz4CompressionCodec.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-FailoverErrorsSettingsBase.o `test -f 'FailoverErrorsSettingsBase.cpp' || echo './'`FailoverErrorsSettingsBase.cpp In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/container/F14Map.h:35, from /usr/include/thrift/lib/cpp2/gen/module_types_h.h:28, from ../../mcrouter/lib/carbon/gen-cpp2/carbon_result_types.h:9, from ../../mcrouter/lib/carbon/Result.h:10, from ../../mcrouter/lib/McResUtil.h:10, from FailoverErrorsSettingsBase.h:15, from FailoverErrorsSettingsBase.cpp:8: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-Lz4ImmutableCompressionCodec.o `test -f 'Lz4ImmutableCompressionCodec.cpp' || echo './'`Lz4ImmutableCompressionCodec.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-Lz4Immutable.o `test -f 'Lz4Immutable.cpp' || echo './'`Lz4Immutable.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-MessageQueue.o `test -f 'MessageQueue.cpp' || echo './'`MessageQueue.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-RendezvousHashHelper.o `test -f 'RendezvousHashHelper.cpp' || echo './'`RendezvousHashHelper.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-RendezvousHashFunc.o `test -f 'RendezvousHashFunc.cpp' || echo './'`RendezvousHashFunc.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-StatsReply.o `test -f 'StatsReply.cpp' || echo './'`StatsReply.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-WeightedCh3HashFunc.o `test -f 'WeightedCh3HashFunc.cpp' || echo './'`WeightedCh3HashFunc.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-WeightedCh4HashFunc.o `test -f 'WeightedCh4HashFunc.cpp' || echo './'`WeightedCh4HashFunc.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-WeightedChHashFuncBase.o `test -f 'WeightedChHashFuncBase.cpp' || echo './'`WeightedChHashFuncBase.cpp In file included from /usr/include/folly/Range.h:26, from ../../mcrouter/lib/WeightedChHashFuncBase.h:13, from WeightedChHashFuncBase.cpp:8: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from WeightedChHashFuncBase.cpp:12: /usr/include/folly/lang/Pretty.h: In lambda function: /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-WeightedRendezvousHashFunc.o `test -f 'WeightedRendezvousHashFunc.cpp' || echo './'`WeightedRendezvousHashFunc.cpp In file included from /usr/include/folly/Range.h:26, from WeightedRendezvousHashFunc.h:10, from WeightedRendezvousHashFunc.cpp:8: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from WeightedRendezvousHashFunc.h:11: /usr/include/folly/lang/Pretty.h: In lambda function: /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcrouter_a-ZstdCompressionCodec.o `test -f 'ZstdCompressionCodec.cpp' || echo './'`ZstdCompressionCodec.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' gcc -DHAVE_CONFIG_H -I../.. -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/libmcrouter_a-hash.o `test -f 'fbi/hash.c' || echo './'`fbi/hash.c make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' gcc -DHAVE_CONFIG_H -I../.. -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/libmcrouter_a-network.o `test -f 'fbi/network.c' || echo './'`fbi/network.c make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/libmcrouter_a-WeightedFurcHash.o `test -f 'fbi/WeightedFurcHash.cpp' || echo './'`fbi/WeightedFurcHash.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McAsciiParser-gen.o `test -f 'network/McAsciiParser-gen.cpp' || echo './'`network/McAsciiParser-gen.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-FizzContextProvider.o `test -f 'network/FizzContextProvider.cpp' || echo './'`network/FizzContextProvider.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McAsciiParser.o `test -f 'network/McAsciiParser.cpp' || echo './'`network/McAsciiParser.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McClientRequestContext.o `test -f 'network/McClientRequestContext.cpp' || echo './'`network/McClientRequestContext.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McParser.o `test -f 'network/McParser.cpp' || echo './'`network/McParser.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McSerializedRequest.o `test -f 'network/McSerializedRequest.cpp' || echo './'`network/McSerializedRequest.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McServerRequestContext.o `test -f 'network/McServerRequestContext.cpp' || echo './'`network/McServerRequestContext.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McServerThriftRequestContext.o `test -f 'network/McServerThriftRequestContext.cpp' || echo './'`network/McServerThriftRequestContext.cpp In file included from /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from /usr/include/thrift/lib/cpp2/server/Cpp2Worker.h:20, from network/McServerThriftRequestContext.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Memory.h:39, from /usr/include/folly/container/detail/F14Policy.h:23, from /usr/include/folly/container/F14Map.h:42, from /usr/include/thrift/lib/cpp2/server/Cpp2Worker.h:26: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McServerSession.o `test -f 'network/McServerSession.cpp' || echo './'`network/McServerSession.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-McSSLUtil.o `test -f 'network/McSSLUtil.cpp' || echo './'`network/McSSLUtil.cpp In file included from /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from /usr/include/folly/Function.h:223, from network/McSSLUtil.h:12, from network/McSSLUtil.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/FBString.h:44, from /usr/include/folly/Demangle.h:19, from /usr/include/folly/Conv.h:118, from /usr/include/folly/String.h:27, from /usr/include/folly/io/async/AsyncSSLSocket.h:22, from network/McSSLUtil.h:14: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-Qos.o `test -f 'network/Qos.cpp' || echo './'`network/Qos.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-SecurityOptions.o `test -f 'network/SecurityOptions.cpp' || echo './'`network/SecurityOptions.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-ServerLoad.o `test -f 'network/ServerLoad.cpp' || echo './'`network/ServerLoad.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-MultiOpParent.o `test -f 'network/MultiOpParent.cpp' || echo './'`network/MultiOpParent.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-SocketConnector.o `test -f 'network/SocketConnector.cpp' || echo './'`network/SocketConnector.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-SocketUtil.o `test -f 'network/SocketUtil.cpp' || echo './'`network/SocketUtil.cpp In file included from /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from /usr/include/folly/Traits.h:24, from /usr/include/folly/Optional.h:68, from /usr/include/folly/Expected.h:35, from ../../mcrouter/lib/network/SocketUtil.h:10, from network/SocketUtil.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/FBString.h:44, from /usr/include/folly/Demangle.h:19, from /usr/include/folly/Conv.h:118, from /usr/include/folly/Format.h:27, from /usr/include/folly/ConstructorCallbackList.h:25, from /usr/include/folly/io/async/AsyncSocket.h:25, from ../../mcrouter/lib/network/SocketUtil.h:13: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ In file included from /usr/include/fizz/record/RecordLayer.h:12, from /usr/include/fizz/protocol/Actions.h:13, from /usr/include/fizz/client/Actions.h:12, from /usr/include/fizz/client/ClientProtocol.h:11, from /usr/include/fizz/client/AsyncFizzClient.h:12, from ../../mcrouter/lib/network/McFizzClient.h:10, from network/SocketUtil.cpp:26: In constructor 'fizz::AppWrite::AppWrite(fizz::AppWrite&&)', inlined from 'folly::Optional fizz::client::AsyncFizzClientT::handleEarlyReject() [with SM = fizz::client::ClientStateMachine]' at /usr/include/fizz/client/AsyncFizzClient-inl.h:486:31: /usr/include/fizz/protocol/Params.h:56:8: warning: 'resend.fizz::AppWrite::flags' may be used uninitialized [-Wmaybe-uninitialized] 56 | struct AppWrite : EventType { | ^~~~~~~~ In file included from /usr/include/fizz/client/AsyncFizzClient.h:326: /usr/include/fizz/client/AsyncFizzClient-inl.h: In member function 'folly::Optional fizz::client::AsyncFizzClientT::handleEarlyReject() [with SM = fizz::client::ClientStateMachine]': /usr/include/fizz/client/AsyncFizzClient-inl.h:484:20: note: 'resend.fizz::AppWrite::flags' was declared here 484 | AppWrite resend; | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-ThreadLocalSSLContextProvider.o `test -f 'network/ThreadLocalSSLContextProvider.cpp' || echo './'`network/ThreadLocalSSLContextProvider.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-WriteBuffer.o `test -f 'network/WriteBuffer.cpp' || echo './'`network/WriteBuffer.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/libmcrouter_a-CarbonQueueAppender.o `test -f 'carbon/CarbonQueueAppender.cpp' || echo './'`carbon/CarbonQueueAppender.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-ThriftTransport.o `test -f 'network/ThriftTransport.cpp' || echo './'`network/ThriftTransport.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/libmcrouter_a-CarbonProtocolReader.o `test -f 'carbon/CarbonProtocolReader.cpp' || echo './'`carbon/CarbonProtocolReader.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/libmcrouter_a-Result.o `test -f 'carbon/Result.cpp' || echo './'`carbon/Result.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/gen-cpp2/libmcrouter_a-carbon_result_data.o `test -f 'carbon/gen-cpp2/carbon_result_data.cpp' || echo './'`carbon/gen-cpp2/carbon_result_data.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/gen-cpp2/libmcrouter_a-carbon_result_types.o `test -f 'carbon/gen-cpp2/carbon_result_types.cpp' || echo './'`carbon/gen-cpp2/carbon_result_types.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/gen-cpp2/libmcrouter_a-carbon_data.o `test -f 'carbon/gen-cpp2/carbon_data.cpp' || echo './'`carbon/gen-cpp2/carbon_data.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o carbon/gen-cpp2/libmcrouter_a-carbon_types.o `test -f 'carbon/gen-cpp2/carbon_types.cpp' || echo './'`carbon/gen-cpp2/carbon_types.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config/libmcrouter_a-RendezvousHash.o `test -f 'config/RendezvousHash.cpp' || echo './'`config/RendezvousHash.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o debug/libmcrouter_a-ConnectionFifo.o `test -f 'debug/ConnectionFifo.cpp' || echo './'`debug/ConnectionFifo.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o debug/libmcrouter_a-ConnectionFifoProtocol.o `test -f 'debug/ConnectionFifoProtocol.cpp' || echo './'`debug/ConnectionFifoProtocol.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o debug/libmcrouter_a-Fifo.o `test -f 'debug/Fifo.cpp' || echo './'`debug/Fifo.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o debug/libmcrouter_a-FifoManager.o `test -f 'debug/FifoManager.cpp' || echo './'`debug/FifoManager.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/libmcrouter_a-counting_sem.o `test -f 'fbi/counting_sem.cpp' || echo './'`fbi/counting_sem.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o config/libmcrouter_a-ConfigPreprocessor.o `test -f 'config/ConfigPreprocessor.cpp' || echo './'`config/ConfigPreprocessor.cpp config/ConfigPreprocessor.cpp: In static member function 'static folly::dynamic facebook::memcache::ConfigPreprocessor::BuiltIns::process(facebook::memcache::ConfigPreprocessor&, folly::dynamic&&, const facebook::memcache::ConfigPreprocessor::Context&)': config/ConfigPreprocessor.cpp:1453:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1453 | const auto& transform = tryGet(json, "transform", "Process"); | ^~~~~~~~~ config/ConfigPreprocessor.cpp:1453:35: note: the temporary was destroyed at the end of the full expression 'facebook::memcache::{anonymous}::tryGet((*(const folly::dynamic*)(& json)), folly::dynamic(((const char*)"transform")), folly::Range(((const char*)"Process")))' 1453 | const auto& transform = tryGet(json, "transform", "Process"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config/ConfigPreprocessor.cpp: In member function 'void facebook::memcache::ConfigPreprocessor::parseMacroDef(const folly::dynamic&, const folly::dynamic&)': config/ConfigPreprocessor.cpp:2052:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 2052 | const auto& res = tryGet(obj, "result", "Macro definition"); | ^~~ config/ConfigPreprocessor.cpp:2052:29: note: the temporary was destroyed at the end of the full expression 'facebook::memcache::{anonymous}::tryGet((* & obj), folly::dynamic(((const char*)"result")), folly::Range(((const char*)"Macro definition")))' 2052 | const auto& res = tryGet(obj, "result", "Macro definition"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/dynamic.h:66, from config/ConfigPreprocessor.h:15, from config/ConfigPreprocessor.cpp:8: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/cpp/libmcrouter_a-globals.o `test -f 'fbi/cpp/globals.cpp' || echo './'`fbi/cpp/globals.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/cpp/libmcrouter_a-ParsingUtil.o `test -f 'fbi/cpp/ParsingUtil.cpp' || echo './'`fbi/cpp/ParsingUtil.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/cpp/libmcrouter_a-LogFailure.o `test -f 'fbi/cpp/LogFailure.cpp' || echo './'`fbi/cpp/LogFailure.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mc/libmcrouter_a-msg.o `test -f 'mc/msg.cpp' || echo './'`mc/msg.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbi/cpp/libmcrouter_a-util.o `test -f 'fbi/cpp/util.cpp' || echo './'`fbi/cpp/util.cpp fbi/cpp/util.cpp: In function 'std::string facebook::memcache::Md5Hash(folly::StringPiece)': fbi/cpp/util.cpp:58:6: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 58 | MD5(reinterpret_cast(input.data()), | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | input.size(), | ~~~~~~~~~~~~~ 60 | result); | ~~~~~~~ In file included from fbi/cpp/util.cpp:18: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AccessPoint.o `test -f 'network/AccessPoint.cpp' || echo './'`network/AccessPoint.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AsciiSerialized.o `test -f 'network/AsciiSerialized.cpp' || echo './'`network/AsciiSerialized.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AsyncMcClientImpl.o `test -f 'network/AsyncMcClientImpl.cpp' || echo './'`network/AsyncMcClientImpl.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AsyncMcServer.o `test -f 'network/AsyncMcServer.cpp' || echo './'`network/AsyncMcServer.cpp In file included from /usr/include/c++/13/atomic:41, from network/AsyncMcServer.h:10, from network/AsyncMcServer.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Memory.h:39, from /usr/include/folly/concurrency/CacheLocality.h:33, from /usr/include/folly/SharedMutex.h:29, from network/AsyncMcServer.h:18: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AsyncTlsToPlaintextSocket.o `test -f 'network/AsyncTlsToPlaintextSocket.cpp' || echo './'`network/AsyncTlsToPlaintextSocket.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-CaretProtocol.o `test -f 'network/CaretProtocol.cpp' || echo './'`network/CaretProtocol.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-AsyncMcServerWorker.o `test -f 'network/AsyncMcServerWorker.cpp' || echo './'`network/AsyncMcServerWorker.cpp In file included from /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from network/AsyncMcServerWorker.h:11, from network/AsyncMcServerWorker.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/FBString.h:44, from /usr/include/folly/Demangle.h:19, from /usr/include/folly/Conv.h:118, from /usr/include/folly/Format.h:27, from /usr/include/folly/ConstructorCallbackList.h:25, from /usr/include/folly/io/async/AsyncSocket.h:25, from network/AsyncMcServerWorker.h:15: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-CpuController.o `test -f 'network/CpuController.cpp' || echo './'`network/CpuController.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-FailureDomains.o `test -f 'network/FailureDomains.cpp' || echo './'`network/FailureDomains.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/libmcrouter_a-ConnectionTracker.o `test -f 'network/ConnectionTracker.cpp' || echo './'`network/ConnectionTracker.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/libmcrouter_a-CommonMessages.o `test -f 'network/gen/CommonMessages.cpp' || echo './'`network/gen/CommonMessages.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/libmcrouter_a-CommonMessagesThrift.o `test -f 'network/gen/CommonMessagesThrift.cpp' || echo './'`network/gen/CommonMessagesThrift.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/libmcrouter_a-MemcacheMessages.o `test -f 'network/gen/MemcacheMessages.cpp' || echo './'`network/gen/MemcacheMessages.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/libmcrouter_a-MemcacheMessagesThrift.o `test -f 'network/gen/MemcacheMessagesThrift.cpp' || echo './'`network/gen/MemcacheMessagesThrift.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-Common_types.o `test -f 'network/gen/gen-cpp2/Common_types.cpp' || echo './'`network/gen/gen-cpp2/Common_types.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-Common_data.o `test -f 'network/gen/gen-cpp2/Common_data.cpp' || echo './'`network/gen/gen-cpp2/Common_data.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_constants.o `test -f 'network/gen/gen-cpp2/MemcacheService_constants.cpp' || echo './'`network/gen/gen-cpp2/MemcacheService_constants.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_types.o `test -f 'network/gen/gen-cpp2/MemcacheService_types.cpp' || echo './'`network/gen/gen-cpp2/MemcacheService_types.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_data.o `test -f 'network/gen/gen-cpp2/MemcacheService_data.cpp' || echo './'`network/gen/gen-cpp2/MemcacheService_data.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-Memcache_types.o `test -f 'network/gen/gen-cpp2/Memcache_types.cpp' || echo './'`network/gen/gen-cpp2/Memcache_types.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-Memcache_data.o `test -f 'network/gen/gen-cpp2/Memcache_data.cpp' || echo './'`network/gen/gen-cpp2/Memcache_data.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' g++ -DHAVE_CONFIG_H -I../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o network/gen/gen-cpp2/libmcrouter_a-MemcacheAsyncClient.o `test -f 'network/gen/gen-cpp2/MemcacheAsyncClient.cpp' || echo './'`network/gen/gen-cpp2/MemcacheAsyncClient.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' In file included from /usr/include/c++/13/atomic:41, from /usr/include/folly/experimental/coro/Baton.h:19, from /usr/include/folly/experimental/coro/DetachOnCancel.h:21, from /usr/include/thrift/lib/cpp2/gen/client_h.h:19, from ../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:9, from network/gen/gen-cpp2/MemcacheAsyncClient.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/FBString.h:44, from /usr/include/folly/Demangle.h:19, from /usr/include/folly/ExceptionWrapper.h:35, from /usr/include/folly/Try.h:24, from /usr/include/folly/experimental/coro/Task.h:30, from /usr/include/folly/experimental/coro/DetachOnCancel.h:24: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' rm -f libmcrouter.a ar cru libmcrouter.a libmcrouter_a-AuxiliaryCPUThreadPool.o libmcrouter_a-AuxiliaryIOThreadPool.o libmcrouter_a-Clocks.o libmcrouter_a-Compression.o libmcrouter_a-CompressionCodecManager.o libmcrouter_a-FailoverErrorsSettingsBase.o libmcrouter_a-IOBufUtil.o libmcrouter_a-IovecCursor.o libmcrouter_a-Lz4CompressionCodec.o libmcrouter_a-Lz4Immutable.o libmcrouter_a-Lz4ImmutableCompressionCodec.o libmcrouter_a-MessageQueue.o libmcrouter_a-RendezvousHashFunc.o libmcrouter_a-RendezvousHashHelper.o libmcrouter_a-StatsReply.o libmcrouter_a-WeightedCh3HashFunc.o libmcrouter_a-WeightedCh4HashFunc.o libmcrouter_a-WeightedChHashFuncBase.o libmcrouter_a-WeightedRendezvousHashFunc.o libmcrouter_a-ZstdCompressionCodec.o carbon/libmcrouter_a-CarbonQueueAppender.o carbon/libmcrouter_a-CarbonProtocolReader.o carbon/libmcrouter_a-Result.o carbon/gen-cpp2/libmcrouter_a-carbon_result_types.o carbon/gen-cpp2/libmcrouter_a-carbon_result_data.o carbon/gen-cpp2/libmcrouter_a-carbon_types.o carbon/gen-cpp2/libmcrouter_a-carbon_data.o config/libmcrouter_a-ConfigPreprocessor.o config/libmcrouter_a-RendezvousHash.o debug/libmcrouter_a-ConnectionFifo.o debug/libmcrouter_a-ConnectionFifoProtocol.o debug/libmcrouter_a-Fifo.o debug/libmcrouter_a-FifoManager.o fbi/libmcrouter_a-counting_sem.o fbi/cpp/libmcrouter_a-LogFailure.o fbi/cpp/libmcrouter_a-globals.o fbi/cpp/libmcrouter_a-ParsingUtil.o fbi/cpp/libmcrouter_a-util.o fbi/libmcrouter_a-WeightedFurcHash.o fbi/libmcrouter_a-hash.o fbi/libmcrouter_a-network.o mc/libmcrouter_a-msg.o network/libmcrouter_a-AccessPoint.o network/libmcrouter_a-AsciiSerialized.o network/libmcrouter_a-AsyncMcClientImpl.o network/libmcrouter_a-AsyncMcServer.o network/libmcrouter_a-AsyncMcServerWorker.o network/libmcrouter_a-AsyncTlsToPlaintextSocket.o network/libmcrouter_a-CaretProtocol.o network/libmcrouter_a-ConnectionTracker.o network/libmcrouter_a-CpuController.o network/libmcrouter_a-FailureDomains.o network/gen/libmcrouter_a-CommonMessages.o network/gen/libmcrouter_a-CommonMessagesThrift.o network/gen/libmcrouter_a-MemcacheMessages.o network/gen/libmcrouter_a-MemcacheMessagesThrift.o network/gen/gen-cpp2/libmcrouter_a-Common_types.o network/gen/gen-cpp2/libmcrouter_a-Common_data.o network/gen/gen-cpp2/libmcrouter_a-MemcacheAsyncClient.o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_constants.o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_types.o network/gen/gen-cpp2/libmcrouter_a-MemcacheService_data.o network/gen/gen-cpp2/libmcrouter_a-Memcache_types.o network/gen/gen-cpp2/libmcrouter_a-Memcache_data.o network/libmcrouter_a-FizzContextProvider.o network/libmcrouter_a-McAsciiParser-gen.o network/libmcrouter_a-McAsciiParser.o network/libmcrouter_a-McClientRequestContext.o network/libmcrouter_a-McParser.o network/libmcrouter_a-McSerializedRequest.o network/libmcrouter_a-McServerRequestContext.o network/libmcrouter_a-McServerSession.o network/libmcrouter_a-McServerThriftRequestContext.o network/libmcrouter_a-McSSLUtil.o network/libmcrouter_a-MultiOpParent.o network/libmcrouter_a-Qos.o network/libmcrouter_a-SecurityOptions.o network/libmcrouter_a-ServerLoad.o network/libmcrouter_a-SocketConnector.o network/libmcrouter_a-SocketUtil.o network/libmcrouter_a-ThreadLocalSSLContextProvider.o network/libmcrouter_a-ThriftTransport.o network/libmcrouter_a-WriteBuffer.o ranlib libmcrouter.a make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' Making all in config Making all in test make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in fbi Making all in . make[4]: Nothing to be done for 'all-am'. Making all in cpp Making all in test make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all-am'. Making all in test make[4]: Nothing to be done for 'all'. Making all in network/test make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' g++ -DHAVE_CONFIG_H -I../../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mock_mc_server-MockMc.o `test -f 'MockMc.cpp' || echo './'`MockMc.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' g++ -DHAVE_CONFIG_H -I../../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libtest_util_a-ClientSocket.o `test -f 'ClientSocket.cpp' || echo './'`ClientSocket.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' g++ -DHAVE_CONFIG_H -I../../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libtest_util_a-ListenSocket.o `test -f 'ListenSocket.cpp' || echo './'`ListenSocket.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' rm -f libtest_util.a ar cru libtest_util.a libtest_util_a-ClientSocket.o libtest_util_a-ListenSocket.o ranlib libtest_util.a make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' g++ -DHAVE_CONFIG_H -I../../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mock_mc_server-MockMcServer.o `test -f 'MockMcServer.cpp' || echo './'`MockMcServer.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mock_mc_server mock_mc_server-MockMc.o mock_mc_server-MockMcServer.o ../../../lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lthriftmetadata -lasync -lconcurrency -lthrift-core -lfmt -lfizz -lwangle -lfolly -lfizz -lsodium -lfolly -liberty -ldl -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -pthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd libtool: link: g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mock_mc_server mock_mc_server-MockMc.o mock_mc_server-MockMcServer.o ../../../lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lthriftmetadata -lasync -lconcurrency -lthrift-core -lfmt -lwangle -lfizz -lsodium -lfolly -liberty -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd -pthread make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' Making all in test make[3]: Nothing to be done for 'all'. Making all in . make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcrouter-RequestAclChecker.o `test -f 'RequestAclChecker.cpp' || echo './'`RequestAclChecker.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RequestAclChecker.h:14, from RequestAclChecker.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcrouter-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from ../mcrouter/CarbonRouterInstance.h:23, from ../mcrouter/CarbonRouterClient-inl.h:10, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/Server-inl.h:17, from ../mcrouter/Server.h:42, from ../mcrouter/StandaloneUtils.h:13, from main.cpp:15: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/Server-inl.h:23: ../mcrouter/ServerOnRequest.h: At global scope: ../mcrouter/ServerOnRequest.h:359:77: warning: 'using facebook::memcache::thrift::MemcacheSvIf = class apache::thrift::ServiceHandler' is deprecated: Use apache::thrift::ServiceHandler instead [-Wdeprecated-declarations] 359 | explicit MemcacheAsyncProcessorCustomHandlers(thrift::MemcacheSvIf* svif) | ^ In file included from ../mcrouter/ServerOnRequest.h:14: ../mcrouter/lib/network/gen/gen-cpp2/Memcache.h:79:7: note: declared here 79 | using MemcacheSvIf [[deprecated("Use apache::thrift::ServiceHandler instead")]] = ::apache::thrift::ServiceHandler; | ^~~~~~~~~~~~ ../mcrouter/Server-inl.h: In function 'bool facebook::memcache::mcrouter::runServerDual(const facebook::memcache::McrouterOptions&, const McrouterStandaloneOptions&, StandalonePreRunCb)': ../mcrouter/Server-inl.h:288:9: warning: typedef 'using RequestHandlerType = RequestHandler >' locally defined but not used [-Wunused-local-typedefs] 288 | using RequestHandlerType = RequestHandler>; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcrouter-StandaloneConfig.o `test -f 'StandaloneConfig.cpp' || echo './'`StandaloneConfig.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-AsyncLog.o `test -f 'AsyncLog.cpp' || echo './'`AsyncLog.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/Proxy.h:30, from ../mcrouter/ForEachPossibleClient.h:13, from ../mcrouter/CarbonRouterClient-inl.h:11, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/CarbonRouterInstance.h:22, from AsyncLog.cpp:28: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-AsyncWriter.o `test -f 'AsyncWriter.cpp' || echo './'`AsyncWriter.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-CarbonRouterClientBase.o `test -f 'CarbonRouterClientBase.cpp' || echo './'`CarbonRouterClientBase.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-CarbonRouterFactory.o `test -f 'CarbonRouterFactory.cpp' || echo './'`CarbonRouterFactory.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/Proxy.h:30, from ../mcrouter/ForEachPossibleClient.h:13, from ../mcrouter/CarbonRouterClient-inl.h:11, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/CarbonRouterInstance.h:22, from CarbonRouterFactory.h:14, from CarbonRouterFactory.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | smake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' td::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-CarbonRouterInstance.o `test -f 'CarbonRouterInstance.cpp' || echo './'`CarbonRouterInstance.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/Proxy.h:30, from ../mcrouter/ForEachPossibleClient.h:13, from ../mcrouter/CarbonRouterClient-inl.h:11, from ../mcrouter/CarbonRouterClient.h:247, from CarbonRouterInstance.h:22, from CarbonRouterInstance.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-CarbonRouterInstanceBase.o `test -f 'CarbonRouterInstanceBase.cpp' || echo './'`CarbonRouterInstanceBase.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from CarbonRouterInstanceBase.h:29, from CarbonRouterInstanceBase.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ConfigApi.o `test -f 'ConfigApi.cpp' || echo './'`ConfigApi.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/Proxy.h:30, from ../mcrouter/ForEachPossibleClient.h:13, from ../mcrouter/CarbonRouterClient-inl.h:11, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/CarbonRouterInstance.h:22, from ConfigApi.cpp:20: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcrouter-StandaloneUtils.o `test -f 'StandaloneUtils.cpp' || echo './'`StandaloneUtils.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from ../mcrouter/CarbonRouterInstance.h:23, from ../mcrouter/CarbonRouterClient-inl.h:10, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/Server-inl.h:17, from ../mcrouter/Server.h:42, from StandaloneUtils.h:13, from StandaloneUtils.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/Server-inl.h:23: ../mcrouter/ServerOnRequest.h: At global scope: ../mcrouter/ServerOnRequest.h:359:77: warning: 'using facebook::memcache::thrift::MemcacheSvIf = class apache::thrift::ServiceHandler' is deprecated: Use apache::thrift::ServiceHandler instead [-Wdeprecated-declarations] 359 | explicit MemcacheAsyncProcessorCustomHandlers(thrift::MemcacheSvIf* svif) | ^ In file included from ../mcrouter/ServerOnRequest.h:14: ../mcrouter/lib/network/gen/gen-cpp2/Memcache.h:79:7: note: declared here 79 | using MemcacheSvIf [[deprecated("Use apache::thrift::ServiceHandler instead")]] = ::apache::thrift::ServiceHandler; | ^~~~~~~~~~~~ ../mcrouter/Server-inl.h: In function 'bool facebook::memcache::mcrouter::runServerDual(const facebook::memcache::McrouterOptions&, const McrouterStandaloneOptions&, StandalonePreRunCb)': ../mcrouter/Server-inl.h:288:9: warning: typedef 'using RequestHandlerType = RequestHandler >' locally defined but not used [-Wunused-local-typedefs] 288 | using RequestHandlerType = RequestHandler>; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/Executor.h:25, from /usr/include/folly/io/async/EventBase.h:36, from /usr/include/folly/io/async/AsyncSignalHandler.h:21, from ../mcrouter/Server-inl.h:12: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/Conv.h:128, from /usr/include/folly/Exception.h:25, from /usr/include/folly/detail/ThreadLocalDetail.h:30, from /usr/include/folly/ThreadLocal.h:52, from /usr/include/folly/SingletonThreadLocal.h:25, from /usr/include/folly/io/async/Request.h:26, from /usr/include/folly/io/async/AsyncTimeout.h:23, from /usr/include/folly/io/async/EventBase.h:47: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-FileDataProvider.o `test -f 'FileDataProvider.cpp' || echo './'`FileDataProvider.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-FileObserver.o `test -f 'FileObserver.cpp' || echo './'`FileObserver.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-LeaseTokenMap.o `test -f 'LeaseTokenMap.cpp' || echo './'`LeaseTokenMap.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-flavor.o `test -f 'flavor.cpp' || echo './'`flavor.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-McrouterFiberContext.o `test -f 'McrouterFiberContext.cpp' || echo './'`McrouterFiberContext.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-mcrouter_config.o `test -f 'mcrouter_config.cpp' || echo './'`mcrouter_config.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from mcrouter_config.cpp:14: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-McrouterLogFailure.o `test -f 'McrouterLogFailure.cpp' || echo './'`McrouterLogFailure.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from McrouterLogFailure.cpp:10: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-McrouterLogger.o `test -f 'McrouterLogger.cpp' || echo './'`McrouterLogger.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from McrouterLogger.cpp:24: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/dynamic.h:66, from /usr/include/folly/DynamicConverter.h:30, from McrouterLogger.cpp:19: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-McrouterManager.o `test -f 'McrouterManager.cpp' || echo './'`McrouterManager.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from ../mcrouter/McrouterManager.h:17, from McrouterManager.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To bmake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' e replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-OptionsUtil.o `test -f 'OptionsUtil.cpp' || echo './'`OptionsUtil.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from OptionsUtil.cpp:15: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> symake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' nc_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-options.o `test -f 'options.cpp' || echo './'`options.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from options.h:18, from options.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelmake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-PoolFactory.o `test -f 'PoolFactory.cpp' || echo './'`PoolFactory.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyBase.o `test -f 'ProxyBase.cpp' || echo './'`ProxyBase.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ProxyBase.h:21, from ProxyBase.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mmake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' cDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyConfigBuilder.o `test -f 'ProxyConfigBuilder.cpp' || echo './'`ProxyConfigBuilder.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ProxyConfigBuilder.h:18, from ProxyConfigBuilder.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyDestinationBase.o `test -f 'ProxyDestinationBase.cpp' || echo './'`ProxyDestinationBase.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ProxyDestinationBase.cpp:15: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyDestinationKey.o `test -f 'ProxyDestinationKey.cpp' || echo './'`ProxyDestinationKey.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyRequestContext.o `test -f 'ProxyRequestContext.cpp' || echo './'`ProxyRequestContext.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ProxyRequestContext.cpp:13: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyStats.o `test -f 'ProxyStats.cpp' || echo './'`ProxyStats.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ProxyDestinationMap.o `test -f 'ProxyDestinationMap.cpp' || echo './'`ProxyDestinationMap.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/ProxyDestinationMap-inl.h:14, from ProxyDestinationMap.h:160, from ProxyDestinationMap.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-route.o `test -f 'route.cpp' || echo './'`route.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-RoutingPrefix.o `test -f 'RoutingPrefix.cpp' || echo './'`RoutingPrefix.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-RuntimeVarsData.o `test -f 'RuntimeVarsData.cpp' || echo './'`RuntimeVarsData.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ThreadUtil.o `test -f 'ThreadUtil.cpp' || echo './'`ThreadUtil.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ThreadUtil.cpp:13: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> synmake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' c_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-stats.o `test -f 'stats.cpp' || echo './'`stats.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from stats.cpp:23: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from stats.h:13, from stats.cpp:8: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/Conv.h:128, from /usr/include/folly/Varint.h:21, from ../mcrouter/lib/carbon/CarbonQueueAppender.h:16, from ../mcrouter/lib/carbon/CarbonProtocolWriter.h:22, from ../mcrouter/lib/carbon/CarbonProtocolReader.h:25, from ../mcrouter/lib/network/gen/MemcacheMessages.h:23, from stats.h:16: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-TkoLog.o `test -f 'TkoLog.cpp' || echo './'`TkoLog.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-TkoTracker.o `test -f 'TkoTracker.cpp' || echo './'`TkoTracker.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ExternalStatsHandler.o `test -f 'ExternalStatsHandler.cpp' || echo './'`ExternalStatsHandler.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libmcroutercore_a-ThriftAcceptor.o `test -f 'ThriftAcceptor.cpp' || echo './'`ThriftAcceptor.cpp ThriftAcceptor.cpp: In member function 'virtual std::shared_ptr facebook::memcache::ThriftAcceptorFactory::newAcceptor(folly::EventBase*)': ThriftAcceptor.cpp:33:11: warning: typedef 'using facebook::memcache::ThriftAcceptorFactory::newAcceptor(folly::EventBase*)::ThriftAcceptor::ThriftAclCheckerFunc = using facebook::memcache::ThriftAcceptorFactory::ThriftAclCheckerFunc = class std::function' locally defined but not used [-Wunused-local-typedefs] 33 | using ThriftAclCheckerFunc = ThriftAcceptorFactory::ThriftAclCheckerFunc; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/shared_ptr_atomic.h:33, from /usr/include/c++/13/memory:81, from ThriftAcceptor.cpp:8: In member function 'void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = long unsigned int]', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:501:30, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/c++/13/bits/atomic_base.h:481:25: warning: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 481 | __atomic_store_n(&_M_i, __i, int(__m)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/FBString.h:44, from /usr/include/folly/Demangle.h:19, from /usr/include/folly/Conv.h:118, from /usr/include/folly/String.h:27, from /usr/include/folly/io/async/AsyncSSLSocket.h:22, from ThriftAcceptor.cpp:15: In function 'void* folly::checkedMalloc(size_t)', inlined from 'static folly::fbstring_core::RefCounted* folly::fbstring_core::RefCounted::create(size_t*) [with Char = char]' at /usr/include/folly/FBString.h:500:59, inlined from 'void folly::fbstring_core::unshare(size_t) [with Char = char]' at /usr/include/folly/FBString.h:748:40: /usr/include/folly/memory/Malloc.h:219:19: note: destination object of size 0 allocated by 'malloc' 219 | void* p = malloc(size); | ~~~~~~^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-BigValueRoute.o `test -f 'routes/BigValueRoute.cpp' || echo './'`routes/BigValueRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from routes/BigValueRoute.h:17, from routes/BigValueRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127, from ../mcrouter/routes/McrouterRouteHandle.h:12, from routes/BigValueRoute.cpp:13: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-FailoverRateLimiter.o `test -f 'routes/FailoverRateLimiter.cpp' || echo './'`routes/FailoverRateLimiter.cpp In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/dynamic.h:66, from routes/FailoverRateLimiter.cpp:10: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68: /usr/include/folly/lang/Pretty.h: In lambda function: /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-KeySplitRoute.o `test -f 'routes/KeySplitRoute.cpp' || echo './'`routes/KeySplitRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from routes/KeySplitRoute.h:17, from routes/KeySplitRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-L1L2SizeSplitRoute.o `test -f 'routes/L1L2SizeSplitRoute.cpp' || echo './'`routes/L1L2SizeSplitRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from routes/L1L2SizeSplitRoute.h:24, from routes/L1L2SizeSplitRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-LatencyInjectionRoute.o `test -f 'routes/LatencyInjectionRoute.cpp' || echo './'`routes/LatencyInjectionRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/routes/LatencyInjectionRoute.h:18, from routes/LatencyInjectionRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-CarbonLookasideRoute.o `test -f 'routes/CarbonLookasideRoute.cpp' || echo './'`routes/CarbonLookasideRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/Proxy.h:30, from ../mcrouter/ForEachPossibleClient.h:13, from ../mcrouter/CarbonRouterClient-inl.h:11, from ../mcrouter/CarbonRouterClient.h:247, from ../mcrouter/CarbonRouterInstance.h:22, from ../mcrouter/CarbonRouterFactory.h:14, from routes/CarbonLookasideRoute.cpp:15: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from /usr/include/folly/Conv.h:123, from /usr/include/folly/MapUtil.h:21, from routes/CarbonLookasideRoute.cpp:12: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/Conv.h:128: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McImportResolver.o `test -f 'routes/McImportResolver.cpp' || echo './'`routes/McImportResolver.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McBucketRoute.o `test -f 'routes/McBucketRoute.cpp' || echo './'`routes/McBucketRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McBucketRoute.h:11, from routes/McBucketRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider-AllFastestRoute.o `test -f 'routes/McRouteHandleProvider-AllFastestRoute.cpp' || echo './'`routes/McRouteHandleProvider-AllFastestRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider-AllFastestRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new APImake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider.o `test -f 'routes/McRouteHandleProvider.cpp' || echo './'`routes/McRouteHandleProvider.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Trymake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' > sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from routes/McRouteHandleProvider.h:16: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from /usr/include/folly/json.h:48, from routes/McRouteHandleProvider.h:17: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider-CarbonLookasideRoute.o `test -f 'routes/McRouteHandleProvider-CarbonLookasideRoute.cpp' || echo './'`routes/McRouteHandleProvider-CarbonLookasideRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider-CarbonLookasideRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by nemake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' w API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from ../mcrouter/routes/McRouteHandleProvider.h:16: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from /usr/include/folly/json.h:48, from ../mcrouter/routes/McRouteHandleProvider.h:17: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider-FailoverRoute.o `test -f 'routes/McRouteHandleProvider-FailoverRoute.cpp' || echo './'`routes/McRouteHandleProvider-FailoverRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider-FailoverRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API smake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' oon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from ../mcrouter/routes/McRouteHandleProvider.h:16: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from /usr/include/folly/json.h:48, from ../mcrouter/routes/McRouteHandleProvider.h:17: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider-HashRoute.o `test -f 'routes/McRouteHandleProvider-HashRoute.cpp' || echo './'`routes/McRouteHandleProvider-HashRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider-HashRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon"make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' )]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-NullRoute.o `test -f 'routes/NullRoute.cpp' || echo './'`routes/NullRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/routes/NullRoute.h:15, from routes/NullRoute.cpp:10: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127, from ../mcrouter/routes/McrouterRouteHandle.h:12, from routes/NullRoute.cpp:11: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-RateLimiter.o `test -f 'routes/RateLimiter.cpp' || echo './'`routes/RateLimiter.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-RendezvousRouteHelpers.o `test -f 'routes/RendezvousRouteHelpers.cpp' || echo './'`routes/RendezvousRouteHelpers.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-ShadowSettings.o `test -f 'routes/ShadowSettings.cpp' || echo './'`routes/ShadowSettings.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/options.h:18, from ../mcrouter/CarbonRouterInstanceBase.h:29, from routes/ShadowSettings.cpp:16: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Trymake[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' > sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-ShardHashFunc.o `test -f 'routes/ShardHashFunc.cpp' || echo './'`routes/ShardHashFunc.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-McRouteHandleProvider-PoolRoute.o `test -f 'routes/McRouteHandleProvider-PoolRoute.cpp' || echo './'`routes/McRouteHandleProvider-PoolRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from ../mcrouter/ProxyBase.h:21, from ../mcrouter/routes/McRouteHandleProvider.h:20, from routes/McRouteHandleProvider-PoolRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon"make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' )]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-ShardSplitRoute.o `test -f 'routes/ShardSplitRoute.cpp' || echo './'`routes/ShardSplitRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from routes/ShardSplitRoute.h:20, from routes/ShardSplitRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-ShardSelectionRouteFactory.o `test -f 'routes/ShardSelectionRouteFactory.cpp' || echo './'`routes/ShardSelectionRouteFactory.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from routes/ShardSelectionRouteFactory.h:18, from routes/ShardSelectionRouteFactory.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/folly/Range.h:26, from routes/ShardSelectionRouteFactory.h:15: In function 'constexpr std::size_t folly::detail::constexpr_strlen_internal(const Char*, unsigned int) [with Char = char]', inlined from 'constexpr std::size_t folly::constexpr_strlen(const Char*) [with Char = char]' at /usr/include/folly/portability/Constexpr.h:102:43, inlined from 'constexpr folly::Range::Range(Iter) [with Iter = const char*]' at /usr/include/folly/Range.h:211:43, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:413:19, inlined from 'typename std::enable_if::value, long unsigned int>::type folly::estimateSpaceNeeded(Src) [with Src = const char*]' at /usr/include/folly/Conv.h:410:5, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = const char*; Ts = {char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:60, inlined from 'size_t folly::detail::estimateSpaceToReserve(size_t, const T&, const Ts& ...) [with T = char [2]; Ts = {const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:746:32, inlined from 'void folly::detail::reserveInTarget(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:751:33, inlined from 'typename std::enable_if::type>::type>::value>::type folly::toAppendFit(const Ts& ...) [with Ts = {char [2], const char*, char [3], long int, std::__cxx11::basic_string, std::allocator >*}]' at /usr/include/folly/Conv.h:858:35, inlined from 'typename std::enable_if<(folly::IsSomeString::value && ((sizeof... (Ts) != 1) || (! std::is_same::type>::value))), Tgt>::type folly::to(const Ts& ...) [with Tgt = std::__cxx11::basic_string; Ts = {char [2], const char*, char [3], long int}]' at /usr/include/folly/Conv.h:928:14, inlined from 'std::string folly::detail::errorValue(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1290:62, inlined from 'folly::to(const long int&)::' at /usr/include/folly/Conv.h:1314:69, inlined from 'static Ret folly::expected_detail::expected_detail_ExpectedHelper::ExpectedHelper::thenOrThrow_(This&&, Yes&&, No&&) [with This = folly::expected_detail::ExpectedStorage; Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Ret = double; Err = folly::ConversionError; bool FollyRequires677 = false; typename std::enable_if<(FollyRequires677 || static_cast((! std::is_void::value))), int>::type = 0]' at /usr/include/folly/Expected.h:682:20, inlined from 'decltype (declval()(declval())) folly::Expected::thenOrThrow(Yes&&, No&&) && [with Yes = folly::to(const long int&)::; No = folly::to(const long int&)::; Value = double; Error = folly::ConversionCode]' at /usr/include/folly/Expected.h:1317:61, inlined from 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]' at /usr/include/folly/Conv.h:1311:39: /usr/include/folly/portability/Constexpr.h:54:3: warning: 'strlen' argument missing terminating nul [-Wstringop-overread] 54 | while (*s++) { | ^~~~~ In file included from /usr/include/folly/container/detail/F14Table.h:47, from /usr/include/folly/container/detail/F14Policy.h:28, from /usr/include/folly/container/F14Map.h:42, from /usr/include/folly/dynamic.h:68, from routes/ShardSelectionRouteFactory.h:16: /usr/include/folly/lang/Pretty.h: In function 'typename std::enable_if, >::value) && (! std::is_same::value)) && is_arithmetic_v) && is_arithmetic_v)>::value, Tgt>::type folly::to(const Src&) [with Tgt = double; Src = long int]': /usr/include/folly/lang/Pretty.h:132:44: note: referenced argument declared here 132 | static constexpr pretty_carray zarray = zarray_(); | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-SlowWarmUpRouteSettings.o `test -f 'routes/SlowWarmUpRouteSettings.cpp' || echo './'`routes/SlowWarmUpRouteSettings.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-ShardSplitter.o `test -f 'routes/ShardSplitter.cpp' || echo './'`routes/ShardSplitter.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from ../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from routes/ShardSplitter.h:15, from routes/ShardSplitter.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-StagingRoute.o `test -f 'routes/StagingRoute.cpp' || echo './'`routes/StagingRoute.cpp In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from routes/StagingRoute.h:19, from routes/StagingRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127, from ../mcrouter/routes/McrouterRouteHandle.h:12, from routes/StagingRoute.h:24: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' g++ -DHAVE_CONFIG_H -I.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o routes/libmcroutercore_a-WarmUpRoute.o `test -f 'routes/WarmUpRoute.cpp' || echo './'`routes/WarmUpRoute.cpp make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' In file included from ../mcrouter/lib/RouteHandleTraverser.h:18, from routes/WarmUpRoute.h:18, from routes/WarmUpRoute.cpp:8: ../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127, from ../mcrouter/RouterRegistry.h:14, from ../mcrouter/config.h:282, from routes/WarmUpRoute.cpp:12: ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' rm -f libmcroutercore.a ar cru libmcroutercore.a libmcroutercore_a-AsyncLog.o libmcroutercore_a-AsyncWriter.o libmcroutercore_a-CarbonRouterClientBase.o libmcroutercore_a-CarbonRouterFactory.o libmcroutercore_a-CarbonRouterInstance.o libmcroutercore_a-CarbonRouterInstanceBase.o libmcroutercore_a-ConfigApi.o libmcroutercore_a-FileDataProvider.o libmcroutercore_a-FileObserver.o libmcroutercore_a-flavor.o libmcroutercore_a-LeaseTokenMap.o libmcroutercore_a-mcrouter_config.o libmcroutercore_a-McrouterFiberContext.o libmcroutercore_a-McrouterLogFailure.o libmcroutercore_a-McrouterLogger.o libmcroutercore_a-McrouterManager.o libmcroutercore_a-options.o libmcroutercore_a-OptionsUtil.o libmcroutercore_a-PoolFactory.o libmcroutercore_a-ProxyBase.o libmcroutercore_a-ProxyConfigBuilder.o libmcroutercore_a-ProxyDestinationBase.o libmcroutercore_a-ProxyDestinationKey.o libmcroutercore_a-ProxyDestinationMap.o libmcroutercore_a-ProxyRequestContext.o libmcroutercore_a-ProxyStats.o libmcroutercore_a-route.o routes/libmcroutercore_a-BigValueRoute.o routes/libmcroutercore_a-CarbonLookasideRoute.o routes/libmcroutercore_a-FailoverRateLimiter.o routes/libmcroutercore_a-KeySplitRoute.o routes/libmcroutercore_a-L1L2SizeSplitRoute.o routes/libmcroutercore_a-LatencyInjectionRoute.o routes/libmcroutercore_a-McBucketRoute.o routes/libmcroutercore_a-McImportResolver.o routes/libmcroutercore_a-McRouteHandleProvider.o routes/libmcroutercore_a-McRouteHandleProvider-AllFastestRoute.o routes/libmcroutercore_a-McRouteHandleProvider-CarbonLookasideRoute.o routes/libmcroutercore_a-McRouteHandleProvider-FailoverRoute.o routes/libmcroutercore_a-McRouteHandleProvider-HashRoute.o routes/libmcroutercore_a-McRouteHandleProvider-PoolRoute.o routes/libmcroutercore_a-NullRoute.o routes/libmcroutercore_a-RateLimiter.o routes/libmcroutercore_a-RendezvousRouteHelpers.o routes/libmcroutercore_a-ShadowSettings.o routes/libmcroutercore_a-ShardHashFunc.o routes/libmcroutercore_a-ShardSelectionRouteFactory.o routes/libmcroutercore_a-ShardSplitRoute.o routes/libmcroutercore_a-ShardSplitter.o routes/libmcroutercore_a-SlowWarmUpRouteSettings.o routes/libmcroutercore_a-StagingRoute.o routes/libmcroutercore_a-WarmUpRoute.o libmcroutercore_a-RoutingPrefix.o libmcroutercore_a-RuntimeVarsData.o libmcroutercore_a-stats.o libmcroutercore_a-ThreadUtil.o libmcroutercore_a-ThriftAcceptor.o libmcroutercore_a-TkoLog.o libmcroutercore_a-TkoTracker.o libmcroutercore_a-ExternalStatsHandler.o ranlib libmcroutercore.a make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' /bin/sh ./libtool --tag=CXX --mode=link g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mcrouter mcrouter-main.o mcrouter-RequestAclChecker.o mcrouter-StandaloneConfig.o mcrouter-StandaloneUtils.o libmcroutercore.a lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lthriftmetadata -lasync -lconcurrency -lthrift-core -lfmt -lwangle -lfolly -lfizz -lsodium -lfolly -liberty -ldl -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -pthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd libtool: link: g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mcrouter mcrouter-main.o mcrouter-RequestAclChecker.o mcrouter-StandaloneConfig.o mcrouter-StandaloneUtils.o libmcroutercore.a lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lthriftmetadata -lasync -lconcurrency -lthrift-core -lfmt -lwangle -lfizz -lsodium -lfolly -liberty -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd -pthread make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' Making all in routes Making all in test make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in tools Making all in mcpiper make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-AnsiColorCodeStream.o `test -f 'AnsiColorCodeStream.cpp' || echo './'`AnsiColorCodeStream.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-FifoReader.o `test -f 'FifoReader.cpp' || echo './'`FifoReader.cpp In file included from ../../../mcrouter/lib/RouteHandleTraverser.h:18, from ../../../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from FifoReader.h:24, from FifoReader.cpp:8: ../../../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../../../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from ../../../mcrouter/lib/RouteHandleTraverser.h:18, from ../../../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../../../mcrouter/tools/mcpiper/FifoReader.h:24, from ../../../mcrouter/tools/mcpiper/McPiper.h:16, from main.cpp:17: ../../../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../../../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' by new API soon")]] virtual folly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-Config.o `test -f 'Config.cpp' || echo './'`Config.cpp In file included from ../../../mcrouter/lib/RouteHandleTraverser.h:18, from ../../../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from Config.cpp:12: ../../../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../../../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDelete( make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-McPiper.o `test -f 'McPiper.cpp' || echo './'`McPiper.cpp In file included from ../../../mcrouter/lib/RouteHandleTraverser.h:18, from ../../../mcrouter/lib/network/gen/MemcacheRouteHandleIf.h:20, from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:25, from ../../../mcrouter/tools/mcpiper/FifoReader.h:24, from McPiper.h:16, from McPiper.cpp:8: ../../../mcrouter/mcrouter_sr_deps.h: In member function 'const std::string& facebook::memcache::SRHost::getIp() const': ../../../mcrouter/mcrouter_sr_deps.h:60:12: warning: returning reference to temporary [-Wreturn-local-addr] 60 | return "127.0.0.1"; | ^~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheRouterInfo.h:127: ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAddRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:56:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAdd(apache::thrift::RpcOptions&&, const facebook::memcache::McAddRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 56 | auto reply = thriftClient->sync_complete_mcAdd( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 57 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:27: ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:52:156: note: declared here 52 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAdd( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McAppendRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:92:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcAppend(apache::thrift::RpcOptions&&, const facebook::memcache::McAppendRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 92 | auto reply = thriftClient->sync_complete_mcAppend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 93 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:149:159: note: declared here 149 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcAppend( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McCasRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:128:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcCas(apache::thrift::RpcOptions&&, const facebook::memcache::McCasRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 128 | auto reply = thriftClient->sync_complete_mcCas( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:246:156: note: declared here 246 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcCas( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDecrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:164:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDecr(apache::thrift::RpcOptions&&, const facebook::memcache::McDecrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 164 | auto reply = thriftClient->sync_complete_mcDecr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 165 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:343:157: note: declared here 343 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcDecr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McDeleteRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:200:52: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcDelete(apache::thrift::RpcOptions&&, const facebook::memcache::McDeleteRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 200 | auto reply = thriftClient->sync_complete_mcDelete( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 201 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:440:159: note: declared here 440 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual fomake[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' lly::Try> sync_complete_mcDelete( | ^~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushAllRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:236:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushAll(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushAllRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 236 | auto reply = thriftClient->sync_complete_mcFlushAll( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 237 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:537:161: note: declared here 537 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushAll( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McFlushReRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:272:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcFlushRe(apache::thrift::RpcOptions&&, const facebook::memcache::McFlushReRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 272 | auto reply = thriftClient->sync_complete_mcFlushRe( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 273 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:634:160: note: declared here 634 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcFlushRe( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:308:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGat(apache::thrift::RpcOptions&&, const facebook::memcache::McGatRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 308 | auto reply = thriftClient->sync_complete_mcGat( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 309 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:731:156: note: declared here 731 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGat( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGatsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:344:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGats(apache::thrift::RpcOptions&&, const facebook::memcache::McGatsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 344 | auto reply = thriftClient->sync_complete_mcGats( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 345 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:828:157: note: declared here 828 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGats( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:380:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGet(apache::thrift::RpcOptions&&, const facebook::memcache::McGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 380 | auto reply = thriftClient->sync_complete_mcGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 381 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:925:156: note: declared here 925 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McGetsRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:416:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcGets(apache::thrift::RpcOptions&&, const facebook::memcache::McGetsRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 416 | auto reply = thriftClient->sync_complete_mcGets( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 417 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1022:157: note: declared here 1022 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcGets( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McIncrRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:452:50: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcIncr(apache::thrift::RpcOptions&&, const facebook::memcache::McIncrRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 452 | auto reply = thriftClient->sync_complete_mcIncr( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 453 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1119:157: note: declared here 1119 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcIncr( | ^~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseGetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:488:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseGet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseGetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 488 | auto reply = thriftClient->sync_complete_mcLeaseGet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 489 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1216:161: note: declared here 1216 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseGet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McLeaseSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:524:54: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcLeaseSet(apache::thrift::RpcOptions&&, const facebook::memcache::McLeaseSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 524 | auto reply = thriftClient->sync_complete_mcLeaseSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 525 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1313:161: note: declared here 1313 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcLeaseSet( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McMetagetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:560:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcMetaget(apache::thrift::RpcOptions&&, const facebook::memcache::McMetagetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 560 | auto reply = thriftClient->sync_complete_mcMetaget( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 561 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1410:160: note: declared here 1410 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcMetaget( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McPrependRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:596:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcPrepend(apache::thrift::RpcOptions&&, const facebook::memcache::McPrependRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 596 | auto reply = thriftClient->sync_complete_mcPrepend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 597 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1507:160: note: declared here 1507 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcPrepend( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McReplaceRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:632:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcReplace(apache::thrift::RpcOptions&&, const facebook::memcache::McReplaceRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 632 | auto reply = thriftClient->sync_complete_mcReplace( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 633 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1604:160: note: declared here 1604 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcReplace( | ^~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McSetRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:668:49: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcSet(apache::thrift::RpcOptions&&, const facebook::memcache::McSetRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 668 | auto reply = thriftClient->sync_complete_mcSet( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 669 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1701:156: note: declared here 1701 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcSet( | ^~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McTouchRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:704:51: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcTouch(apache::thrift::RpcOptions&&, const facebook::memcache::McTouchRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 704 | auto reply = thriftClient->sync_complete_mcTouch( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 705 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1798:158: note: declared here 1798 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcTouch( | ^~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h: In member function 'folly::Try > facebook::memcache::ThriftTransportMethods::sendSyncHelper(facebook::memcache::MemcacheRouterInfo::RouteHandleAsyncClient*, const facebook::memcache::McVersionRequest&, apache::thrift::RpcOptions&, facebook::memcache::RpcStatsContext*)': ../../../mcrouter/lib/network/gen/MemcacheThriftTransport.h:740:53: warning: 'virtual folly::Try > apache::thrift::Client::sync_complete_mcVersion(apache::thrift::RpcOptions&&, const facebook::memcache::McVersionRequest&)' is deprecated: To be replaced by new API soon [-Wdeprecated-declarations] 740 | auto reply = thriftClient->sync_complete_mcVersion( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 741 | std::move(rpcOptions), request); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../mcrouter/lib/network/gen/gen-cpp2/MemcacheAsyncClient.h:1895:160: note: declared here 1895 | FOLLY_NODISCARD [[deprecated("To be replaced by new API soon")]] virtual folly::Try> sync_complete_mcVersion( | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-StyledString.o `test -f 'StyledString.cpp' || echo './'`StyledString.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-MessagePrinter.o `test -f 'MessagePrinter.cpp' || echo './'`MessagePrinter.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' g++ -DHAVE_CONFIG_H -I../../.. -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcpiper-Util.o `test -f 'Util.cpp' || echo './'`Util.cpp make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' /bin/sh ../../libtool --tag=CXX --mode=link g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mcpiper mcpiper-AnsiColorCodeStream.o mcpiper-Config.o mcpiper-FifoReader.o mcpiper-main.o mcpiper-McPiper.o mcpiper-MessagePrinter.o mcpiper-StyledString.o mcpiper-Util.o ../../lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lasync -lconcurrency -lthrift-core -lfizz -lfmt -lwangle -lfolly -lfizz -lsodium -lfolly -liberty -ldl -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -pthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd libtool: link: g++ -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mcpiper mcpiper-AnsiColorCodeStream.o mcpiper-Config.o mcpiper-FifoReader.o mcpiper-main.o mcpiper-McPiper.o mcpiper-MessagePrinter.o mcpiper-StyledString.o mcpiper-Util.o ../../lib/libmcrouter.a -lthriftcpp2 -ltransport -lthriftanyrep -lthrifttype -lthrifttyperep -lthriftprotocol -lrpcmetadata -lasync -lconcurrency -lthrift-core -lfmt -lwangle -lfizz -lsodium -lfolly -liberty -ldouble-conversion -lz -lssl -lcrypto -levent -lgflags -lglog -L/usr/lib64 -lboost_context -lboost_filesystem -lboost_program_options -lboost_system -lboost_regex -lboost_thread -lpthread -ldl -lunwind -lbz2 -llz4 -llzma -lsnappy -lzstd -pthread make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Nothing to be done for 'all-am'. Making all in test Making all in cpp_unit_tests make[3]: Nothing to be done for 'all'. Making all in . make[3]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Can4eZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS ~/build/BUILD/mcrouter-2022.07.11.00/mcrouter ~/build/BUILD/mcrouter-2022.07.11.00 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mcrouter-2022.07.11.00 + pushd mcrouter + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' Making install in carbon make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' /usr/bin/make install-am make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/carbon' Making install in network/gen make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' /usr/bin/make install-am make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/gen' Making install in . make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' Making install in config make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' Making install in test make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config/test' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config/test' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config/test' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/config' Making install in fbi make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' Making install in . make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' Making install in cpp make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' Making install in test make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp/test' make[6]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp/test' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp/test' make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp/test' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' make[6]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/cpp' Making install in test make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/test' make[5]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/test' make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi/test' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/fbi' Making install in network/test make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/network/test' Making install in test make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/test' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/test' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib/test' make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/lib' Making install in . make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p mcrouter '/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin' libtool: install: /usr/bin/install -p mcrouter /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin/mcrouter make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' Making install in routes make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' Making install in test make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes/test' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes/test' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes/test' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/routes' Making install in tools make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' Making install in mcpiper make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p mcpiper '/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin' libtool: install: /usr/bin/install -p mcpiper /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin/mcpiper make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools/mcpiper' make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/tools' Making install in test make[2]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' Making install in cpp_unit_tests make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test/cpp_unit_tests' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test/cpp_unit_tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test/cpp_unit_tests' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test/cpp_unit_tests' Making install in . make[3]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' make[4]: Entering directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' make[3]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' make[2]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter/test' make[1]: Leaving directory '/builddir/build/BUILD/mcrouter-2022.07.11.00/mcrouter' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.41.0.20220711-1.fc38 --unique-debug-suffix -0.41.0.20220711-1.fc38.x86_64 --unique-debug-src-base mcrouter-0.41.0.20220711-1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mcrouter-2022.07.11.00 extracting debug info from /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin/mcrouter extracting debug info from /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/bin/mcpiper dwz: Too few files for multifile optimization original debug info size: 435036kB, size after compression: 399708kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: mcrouter/lib/lib/network/McAsciiParser-gen.cpp: Cannot stat: No such file or directory cpio: mcrouter/lib/lib/network/McAsciiParser.rl: Cannot stat: No such file or directory 8412 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mcrouter-0.41.0.20220711-1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.W9HPLW + umask 022 + cd /builddir/build/BUILD + cd mcrouter-2022.07.11.00 + DOCDIR=/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/doc/mcrouter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/doc/mcrouter + cp -pr README.md /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/doc/mcrouter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g7Byhy + umask 022 + cd /builddir/build/BUILD + cd mcrouter-2022.07.11.00 + LICENSEDIR=/builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/licenses/mcrouter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/licenses/mcrouter + cp -pr LICENSE /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64/usr/share/licenses/mcrouter + RPM_EC=0 ++ jobs -p + exit 0 Provides: mcrouter = 0.41.0.20220711-1.fc38 mcrouter(x86-64) = 0.41.0.20220711-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libasync.so.2022.07.11.00()(64bit) libboost_context.so.1.78.0()(64bit) libboost_filesystem.so.1.78.0()(64bit) libboost_program_options.so.1.78.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libdouble-conversion.so.3()(64bit) libfizz.so.2022.07.11.00()(64bit) libfmt.so.9()(64bit) libfolly.so.2022.07.11.00()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgflags.so.2.2()(64bit) libglog.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) librpcmetadata.so.2022.07.11.00()(64bit) libsodium.so.23()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(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.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libthriftcpp2.so.2022.07.11.00()(64bit) libthriftprotocol.so.2022.07.11.00()(64bit) libtransport.so.2022.07.11.00()(64bit) libwangle.so.2022.07.11.00()(64bit) rtld(GNU_HASH) Processing files: mcrouter-debugsource-0.41.0.20220711-1.fc38.x86_64 Provides: mcrouter-debugsource = 0.41.0.20220711-1.fc38 mcrouter-debugsource(x86-64) = 0.41.0.20220711-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mcrouter-debuginfo-0.41.0.20220711-1.fc38.x86_64 Provides: debuginfo(build-id) = 640837258782afb114efa52c9a7a1368cea84d7f debuginfo(build-id) = dd60e1374217da9099363d9cddf83b1cadc618dd mcrouter-debuginfo = 0.41.0.20220711-1.fc38 mcrouter-debuginfo(x86-64) = 0.41.0.20220711-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mcrouter-debugsource(x86-64) = 0.41.0.20220711-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 Wrote: /builddir/build/RPMS/mcrouter-0.41.0.20220711-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mcrouter-debugsource-0.41.0.20220711-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/mcrouter-debuginfo-0.41.0.20220711-1.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QdL0yB + umask 022 + cd /builddir/build/BUILD + cd mcrouter-2022.07.11.00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mcrouter-0.41.0.20220711-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.m7pQDe + umask 022 + cd /builddir/build/BUILD + rm -rf mcrouter-2022.07.11.00 mcrouter-2022.07.11.00.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0