Skip to content

Instantly share code, notes, and snippets.

@psinghal20
Created September 9, 2019 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psinghal20/b6f1d82c7065aa7e57307dc7820065f1 to your computer and use it in GitHub Desktop.
Save psinghal20/b6f1d82c7065aa7e57307dc7820065f1 to your computer and use it in GitHub Desktop.
Compiling librocksdb_sys v0.1.0 (https://github.com/pingcap/rust-rocksdb.git?branch=release-2.1#bcf68caa)
error: failed to run custom build command for `librocksdb_sys v0.1.0 (https://github.com/pingcap/rust-rocksdb.git?branch=release-2.1#bcf68caa)`
process didn't exit successfully: `/home/psinghal/work/tikv/target/debug/build/librocksdb_sys-576aadcdc1e2b3df/build-script-build` (exit code: 101)
--- stdout
("APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL", "true")
("CARGO", "/home/psinghal/.rustup/toolchains/nightly-2018-07-18-x86_64-unknown-linux-gnu/bin/cargo")
("CARGO_CFG_DEBUG_ASSERTIONS", "")
("CARGO_CFG_PROC_MACRO", "")
("CARGO_CFG_TARGET_ARCH", "x86_64")
("CARGO_CFG_TARGET_ENDIAN", "little")
("CARGO_CFG_TARGET_ENV", "gnu")
("CARGO_CFG_TARGET_FAMILY", "unix")
("CARGO_CFG_TARGET_FEATURE", "fxsr,mmx,sse,sse2")
("CARGO_CFG_TARGET_HAS_ATOMIC", "16,32,64,8,cas,ptr")
("CARGO_CFG_TARGET_OS", "linux")
("CARGO_CFG_TARGET_POINTER_WIDTH", "64")
("CARGO_CFG_TARGET_THREAD_LOCAL", "")
("CARGO_CFG_TARGET_VENDOR", "unknown")
("CARGO_CFG_UNIX", "")
("CARGO_FEATURE_DEFAULT", "1")
("CARGO_HOME", "/home/psinghal/.cargo")
("CARGO_MAKEFLAGS", "--jobserver-fds=3,43 -j --jobserver-auth=3,43 -j")
("CARGO_MANIFEST_DIR", "/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys")
("CARGO_MANIFEST_LINKS", "rocksdb")
("CARGO_PKG_AUTHORS", "Jay Lee <busyjaylee@gmail.com>")
("CARGO_PKG_DESCRIPTION", "")
("CARGO_PKG_HOMEPAGE", "")
("CARGO_PKG_NAME", "librocksdb_sys")
("CARGO_PKG_VERSION", "0.1.0")
("CARGO_PKG_VERSION_MAJOR", "0")
("CARGO_PKG_VERSION_MINOR", "1")
("CARGO_PKG_VERSION_PATCH", "0")
("CARGO_PKG_VERSION_PRE", "")
("COLORTERM", "truecolor")
("DBUS_SESSION_BUS_ADDRESS", "unix:path=/run/user/1000/bus")
("DEBUG", "true")
("DEP_BZIP2_INCLUDE", "/home/psinghal/work/tikv/target/debug/build/bzip2-sys-59398cf0a95364ee/out/include")
("DEP_BZIP2_ROOT", "/home/psinghal/work/tikv/target/debug/build/bzip2-sys-59398cf0a95364ee/out")
("DEP_LZ4_ROOT", "/home/psinghal/work/tikv/target/debug/build/lz4-sys-b3ab3c01dece33ee/out")
("DEP_SNAPPY_ROOT", "/home/psinghal/work/tikv/target/debug/build/snappy-sys-43cdf31ab90e9d5a/out/build")
("DEP_ZSTD_ROOT", "/home/psinghal/work/tikv/target/debug/build/zstd-sys-65a4dbd00bfaeaf2/out")
("DEP_Z_INCLUDE", "/home/psinghal/work/tikv/target/debug/build/libz-sys-df821424978b5bbd/out/include")
("DEP_Z_ROOT", "/home/psinghal/work/tikv/target/debug/build/libz-sys-df821424978b5bbd/out")
("DESKTOP_SESSION", "i3")
("DISPLAY", ":0")
("GDMSESSION", "i3")
("GDM_LANG", "en_IN.utf8")
("GIT_BINARY", "/usr/bin/git")
("GIT_REPOS", "")
("GIT_REPO_DIR", "/home/psinghal/code")
("GPG_TTY", "/dev/pts/1")
("GREP_COLOR", "1;33")
("GTK_MODULES", "canberra-gtk-module")
("HOME", "/home/psinghal")
("HOST", "x86_64-unknown-linux-gnu")
("LANG", "en_GB.UTF-8")
("LC_ADDRESS", "en_IN")
("LC_CTYPE", "en_IN.utf8")
("LC_IDENTIFICATION", "en_IN")
("LC_MEASUREMENT", "en_IN")
("LC_MONETARY", "en_IN")
("LC_NAME", "en_IN")
("LC_NUMERIC", "en_IN")
("LC_PAPER", "en_IN")
("LC_TELEPHONE", "en_IN")
("LC_TIME", "en_IN")
("LD_LIBRARY_PATH", "/home/psinghal/work/tikv/target/debug/deps:/home/psinghal/.rustup/toolchains/nightly-2018-07-18-x86_64-unknown-linux-gnu/lib:/home/psinghal/.rustup/toolchains/nightly-2018-07-18-x86_64-unknown-linux-gnu/lib")
("LESS", "-R")
("LOGNAME", "psinghal")
("LSCOLORS", "Gxfxcxdxbxegedabagacab")
("LS_COLORS", "no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:ow=0;41:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.patch=00;34:*.o=00;32:*.so=01;35:*.ko=01;31:*.la=00;33")
("MAIL", "/var/spool/mail/psinghal")
("MOZ_PLUGIN_PATH", "/usr/lib/mozilla/plugins")
("NUM_JOBS", "4")
("OLDPWD", "/home/psinghal/work/tikv")
("OPT_LEVEL", "0")
("OUT_DIR", "/home/psinghal/work/tikv/target/debug/build/librocksdb_sys-0e596eedae2abde0/out")
("PAGER", "less")
("PATH", "/home/psinghal/.cargo/bin:/home/psinghal/.cargo/bin:/home/psinghal/bin:/home/psinghal/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/psinghal/.rvm/bin:/home/psinghal/go/bin")
("PROFILE", "debug")
("PWD", "/home/psinghal/work/tikv")
("RUSTC", "rustc")
("RUSTDOC", "rustdoc")
("RUSTUP_HOME", "/home/psinghal/.rustup")
("RUSTUP_TOOLCHAIN", "nightly-2018-07-18-x86_64-unknown-linux-gnu")
("RUST_RECURSION_COUNT", "1")
("SHELL", "/usr/bin/zsh")
("SHLVL", "2")
("SSL_CERT_DIR", "/etc/ssl/certs")
("SSL_CERT_FILE", "/etc/ssl/cert.pem")
("TARGET", "x86_64-unknown-linux-gnu")
("TERM", "xterm-256color")
("TERMINATOR_DBUS_NAME", "net.tenshu.Terminator20x1a6021154d881c")
("TERMINATOR_DBUS_PATH", "/net/tenshu/Terminator2")
("TERMINATOR_UUID", "urn:uuid:fc154139-018b-4733-9b65-78cf0a956964")
("TERM_PROGRAM", "vscode")
("TERM_PROGRAM_VERSION", "1.36.1")
("USER", "psinghal")
("VTE_VERSION", "5603")
("XAUTHORITY", "/home/psinghal/.Xauthority")
("XDG_CURRENT_DESKTOP", "i3")
("XDG_DATA_DIRS", "/home/psinghal/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share")
("XDG_GREETER_DATA_DIR", "/var/lib/lightdm-data/psinghal")
("XDG_RUNTIME_DIR", "/run/user/1000")
("XDG_SEAT", "seat0")
("XDG_SEAT_PATH", "/org/freedesktop/DisplayManager/Seat0")
("XDG_SESSION_CLASS", "user")
("XDG_SESSION_DESKTOP", "i3")
("XDG_SESSION_ID", "2")
("XDG_SESSION_PATH", "/org/freedesktop/DisplayManager/Session0")
("XDG_SESSION_TYPE", "x11")
("XDG_VTNR", "7")
("ZSH", "/home/psinghal/.oh-my-zsh")
("_", "/home/psinghal/.cargo/bin/cargo")
("_git_cmd", "/usr/bin/git")
("design_av_dirs", "Animations Videos Flash Music Samples")
("design_base_dirs", "Documents Flowcharts Images Backgrounds Logos Icons Mockups Screenshots")
("design_ext_dirs", "Fonts IconSets")
("ga_auto_remove", "yes")
("git_env_char", "e")
("git_setup_aliases", "yes")
("git_status_command", "git_status_shortcuts")
("gs_max_changes", "150")
("project_design_dir", "design_assets")
("root_design_dir", "/home/psinghal/Dropbox/Design")
("scmbDir", "/home/psinghal/.scm_breeze")
running: "cmake" "/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb" "-DWITH_ZLIB=ON" "-DWITH_BZ2=ON" "-DWITH_LZ4=ON" "-DWITH_ZSTD=ON" "-DWITH_SNAPPY=ON" "-DCMAKE_INSTALL_PREFIX=/home/psinghal/work/tikv/target/debug/build/librocksdb_sys-0e596eedae2abde0/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_BUILD_TYPE=Debug"
-- Enabling RTTI in Debug builds only (default)
-- JNI library is disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/psinghal/work/tikv/target/debug/build/librocksdb_sys-0e596eedae2abde0/out/build
running: "cmake" "--build" "." "--target" "rocksdb" "--config" "Debug" "--"
Scanning dependencies of target build_version
[ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.cc.o
[ 0%] Built target build_version
[ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/builder.cc.o
[ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/column_family.cc.o
[ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o
[ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction.cc.o
--- stderr
CMake Warning at CMakeLists.txt:75 (find_package):
By not providing "Findgflags.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "gflags", but
CMake did not find one.
Could not find a package configuration file provided by "gflags" with any
of the following names:
gflagsConfig.cmake
gflags-config.cmake
Add the installation prefix of "gflags" to CMAKE_PREFIX_PATH or set
"gflags_DIR" to a directory containing one of the above files. If "gflags"
provides a separate development package or SDK, be sure it has been
installed.
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:31,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.cc:10:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In constructor ‘rocksdb::FdWithKeyRange::FdWithKeyRange(rocksdb::FileDescriptor, rocksdb::Slice, rocksdb::Slice, rocksdb::FileMetaData*)’:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:172:33: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
172 | largest_key(_largest_key) {}
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/db_impl.h:22,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.h:8,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.cc:7:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In constructor ‘rocksdb::FdWithKeyRange::FdWithKeyRange(rocksdb::FileDescriptor, rocksdb::Slice, rocksdb::Slice, rocksdb::FileMetaData*)’:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:172:33: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
172 | largest_key(_largest_key) {}
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:31,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction_iterator.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.cc:16:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In constructor ‘rocksdb::FdWithKeyRange::FdWithKeyRange(rocksdb::FileDescriptor, rocksdb::Slice, rocksdb::Slice, rocksdb::FileMetaData*)’:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:172:33: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
172 | largest_key(_largest_key) {}
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.cc:10:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In constructor ‘rocksdb::FdWithKeyRange::FdWithKeyRange(rocksdb::FileDescriptor, rocksdb::Slice, rocksdb::Slice, rocksdb::FileMetaData*)’:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:172:33: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
172 | largest_key(_largest_key) {}
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = rocksdb::FileMetaData; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:242:48: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/deque:60,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:22,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:342:64: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(rocksdb::FileMetaData&&)’ first required here
342 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
| ^
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:31,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.cc:10:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) [with _U1 = int&; typename std::enable_if<std::_PCC<true, _T1, _T2>::_MoveCopyPair<true, _U1, _T2>(), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:247:37: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/deque:60,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:22,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:312:51: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(const rocksdb::FileMetaData&)’ first required here
312 | : first(std::forward<_U1>(__x)), second(__y) { }
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = rocksdb::FileMetaData; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:242:48: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/bits/char_traits.h:39,
from /usr/include/c++/9.1.0/string:40,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.h:9,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:342:64: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(rocksdb::FileMetaData&&)’ first required here
342 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
| ^
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_set.h:31,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction.h:11,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compaction_iterator.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.cc:16:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) [with _U1 = int&; typename std::enable_if<std::_PCC<true, _T1, _T2>::_MoveCopyPair<true, _U1, _T2>(), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:247:37: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/bits/char_traits.h:39,
from /usr/include/c++/9.1.0/string:40,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.h:9,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/builder.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:312:51: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(const rocksdb::FileMetaData&)’ first required here
312 | : first(std::forward<_U1>(__x)), second(__y) { }
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = rocksdb::FileMetaData; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:242:48: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/deque:60,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/db_impl.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.h:8,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.cc:7:
/usr/include/c++/9.1.0/bits/stl_pair.h:342:64: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(rocksdb::FileMetaData&&)’ first required here
342 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
| ^
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/db_impl.h:22,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.h:8,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.cc:7:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) [with _U1 = int&; typename std::enable_if<std::_PCC<true, _T1, _T2>::_MoveCopyPair<true, _U1, _T2>(), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:247:37: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/bits/stl_algobase.h:64,
from /usr/include/c++/9.1.0/deque:60,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/db_impl.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.h:8,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/compacted_db_impl.cc:7:
/usr/include/c++/9.1.0/bits/stl_pair.h:312:51: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(const rocksdb::FileMetaData&)’ first required here
312 | : first(std::forward<_U1>(__x)), second(__y) { }
| ^
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = rocksdb::FileMetaData; typename std::enable_if<(std::_PCC<true, _T1, _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:242:48: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/unordered_map:43,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:342:64: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(rocksdb::FileMetaData&&)’ first required here
342 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
| ^
In file included from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/range_del_aggregator.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable.h:19,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/memtable_list.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:17,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.cc:10:
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&) [with _U1 = int&; typename std::enable_if<std::_PCC<true, _T1, _T2>::_MoveCopyPair<true, _U1, _T2>(), bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’:
/usr/include/c++/9.1.0/ext/new_allocator.h:147:4: required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>]’
/usr/include/c++/9.1.0/bits/alloc_traits.h:484:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/usr/include/c++/9.1.0/bits/vector.tcc:115:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:247:37: required from here
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:76:8: error: implicitly-declared ‘constexpr rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is deprecated [-Werror=deprecated-copy]
76 | struct FileMetaData {
| ^~~~~~~~~~~~
/home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/version_edit.h:47:19: note: because ‘rocksdb::FileDescriptor’ has user-provided ‘rocksdb::FileDescriptor& rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’
47 | FileDescriptor& operator=(const FileDescriptor& fd) {
| ^~~~~~~~
In file included from /usr/include/c++/9.1.0/unordered_map:43,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.h:12,
from /home/psinghal/.cargo/git/checkouts/rust-rocksdb-82ef6e5337b3fbe6/bcf68ca/librocksdb_sys/rocksdb/db/column_family.cc:10:
/usr/include/c++/9.1.0/bits/stl_pair.h:312:51: note: synthesized method ‘rocksdb::FileMetaData::FileMetaData(const rocksdb::FileMetaData&)’ first required here
312 | : first(std::forward<_U1>(__x)), second(__y) { }
| ^
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:154: CMakeFiles/rocksdb.dir/db/compaction.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:102: CMakeFiles/rocksdb.dir/db/builder.cc.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:141: CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/rocksdb.dir/build.make:128: CMakeFiles/rocksdb.dir/db/column_family.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:2360: CMakeFiles/rocksdb.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:2367: CMakeFiles/rocksdb.dir/rule] Error 2
make: *** [Makefile:1033: rocksdb] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', /home/psinghal/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.28/src/lib.rs:631:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment