[INFO] cloning repository https://github.com/spacejam/rasputin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacejam/rasputin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacejam%2Frasputin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacejam%2Frasputin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31249108bc073d2212f9812533a810b6652e2ebd [INFO] checking spacejam/rasputin against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacejam%2Frasputin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/spacejam/rasputin on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/spacejam/rasputin [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/spacejam/rasputin [INFO] tweaked toml for git repo https://github.com/spacejam/rasputin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/spacejam/rasputin already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating protobuf v1.0.4 -> v1.7.5 (available: v3.7.2) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.1.17 [INFO] [stderr] Downloaded quickcheck v0.2.21 [INFO] [stderr] Downloaded winapi-build v0.1.0 [INFO] [stderr] Downloaded time v0.1.31 [INFO] [stderr] Downloaded slab v0.1.2 [INFO] [stderr] Downloaded clock_ticks v0.0.5 [INFO] [stderr] Downloaded lazy_static v0.1.14 [INFO] [stderr] Downloaded aho-corasick v0.3.0 [INFO] [stderr] Downloaded docopt v0.6.68 [INFO] [stderr] Downloaded bytes v0.2.11 [INFO] [stderr] Downloaded nix v0.3.9 [INFO] [stderr] Downloaded regex-syntax v0.2.1 [INFO] [stderr] Downloaded winapi v0.1.23 [INFO] [stderr] Downloaded mio v0.4.2 [INFO] [stderr] Downloaded protobuf v1.7.5 [INFO] [stderr] Downloaded rand v0.3.10 [INFO] [stderr] Downloaded winapi v0.2.1 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded rocksdb v0.1.1 [INFO] [stderr] Downloaded kernel32-sys v0.1.3 [INFO] [stderr] Downloaded threadpool v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f169c2e337bf422ffd72362647bc618af8630160531e15be678d1c25f9fbc344 [INFO] running `Command { std: "docker" "start" "-a" "f169c2e337bf422ffd72362647bc618af8630160531e15be678d1c25f9fbc344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f169c2e337bf422ffd72362647bc618af8630160531e15be678d1c25f9fbc344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f169c2e337bf422ffd72362647bc618af8630160531e15be678d1c25f9fbc344", kill_on_drop: false }` [INFO] [stdout] f169c2e337bf422ffd72362647bc618af8630160531e15be678d1c25f9fbc344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 331c088b070651ae2cc6005b0e4caa25ee49fcc4fa1877442bef1a21622e45f9 [INFO] running `Command { std: "docker" "start" "-a" "331c088b070651ae2cc6005b0e4caa25ee49fcc4fa1877442bef1a21622e45f9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.1.8 [INFO] [stderr] Compiling winapi-build v0.1.0 [INFO] [stderr] Checking winapi v0.2.1 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Checking regex-syntax v0.2.1 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.15 [INFO] [stderr] Checking bytes v0.2.11 [INFO] [stderr] Checking strsim v0.3.0 [INFO] [stderr] Checking slab v0.1.2 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.15/src/serialize.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kernel32-sys v0.1.3 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.15/src/serialize.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/e3e432d4d65a55e6db167598e96db2bcb163e316/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking memchr v0.1.3 [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.15/src/serialize.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | fn decode(d: &mut D) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/e3e432d4d65a55e6db167598e96db2bcb163e316/library/core/src/result.rs:528:1 [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 201 | fn decode(d: &mut D) -> Result where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking log v0.3.1 [INFO] [stderr] Checking aho-corasick v0.3.0 [INFO] [stderr] Checking clock_ticks v0.0.5 [INFO] [stderr] Checking rand v0.3.10 [INFO] [stderr] Checking winapi v0.1.23 [INFO] [stderr] Checking nix v0.3.9 [INFO] [stderr] Checking time v0.1.31 [INFO] [stderr] Checking rocksdb v0.1.1 [INFO] [stderr] Checking threadpool v0.1.4 [INFO] [stdout] error: cannot find attribute `crate_id` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/lib.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | #![crate_id = "rocksdb"] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.3.9/src/sched.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | ffi::clone(mem::transmute(callback), ptr as *mut c_void, flags, &mut cb) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: for<'a> extern "C" fn(*mut Box<(dyn FnMut() -> isize + 'a)>) -> i32 {callback} [INFO] [stdout] = note: target type: *const for<'a> extern "C" fn(*const Box<(dyn FnMut() -> isize + 'a)>) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:330:62 [INFO] [stdout] | [INFO] [stdout] 330 | rocksdb_ffi::rocksdb_write(self.inner, writeopts.clone(), batch.inner, err_ptr); [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBReadOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:353:69 [INFO] [stdout] | [INFO] [stdout] 353 | let val = rocksdb_ffi::rocksdb_get(self.inner, readopts.clone(), [INFO] [stdout] | ^^^^^ method not found in `DBReadOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ------------------------ method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBReadOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:382:72 [INFO] [stdout] | [INFO] [stdout] 382 | let val = rocksdb_ffi::rocksdb_get_cf(self.inner, readopts.clone(), [INFO] [stdout] | ^^^^^ method not found in `DBReadOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ------------------------ method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:462:60 [INFO] [stdout] | [INFO] [stdout] 462 | rocksdb_ffi::rocksdb_put(self.inner, writeopts.clone(), key.as_ptr(), [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:478:63 [INFO] [stdout] | [INFO] [stdout] 478 | rocksdb_ffi::rocksdb_put_cf(self.inner, writeopts.clone(), cf, [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:494:62 [INFO] [stdout] | [INFO] [stdout] 494 | rocksdb_ffi::rocksdb_merge(self.inner, writeopts.clone(), key.as_ptr(), [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:510:65 [INFO] [stdout] | [INFO] [stdout] 510 | rocksdb_ffi::rocksdb_merge_cf(self.inner, writeopts.clone(), [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:527:63 [INFO] [stdout] | [INFO] [stdout] 527 | rocksdb_ffi::rocksdb_delete(self.inner, writeopts.clone(), key.as_ptr(), [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:542:66 [INFO] [stdout] | [INFO] [stdout] 542 | rocksdb_ffi::rocksdb_delete_cf(self.inner, writeopts.clone(), [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0591`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBWriteOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DBWriteOptions(pub *const c_void); [INFO] [stdout] | ------------------------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 420 | rocksdb_put(db, writeopts.clone(), key.as_ptr(), 4, val.as_ptr(), 8, err_ptr); [INFO] [stdout] | ^^^^^ method not found in `DBWriteOptions` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lazy_static v0.1.14 [INFO] [stderr] error: could not compile `nix` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `clone` found for struct `DBReadOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:429:34 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ------------------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 429 | rocksdb_get(db, readopts.clone(), key.as_ptr(), 4, val_len_ptr, err_ptr); [INFO] [stdout] | ^^^^^ method not found in `DBReadOptions` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.iter.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = self.iter.inner; [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because `self.iter.inner` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = self.iter.inner; [INFO] [stdout] | --------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = &self.iter.inner; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `native_iter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = self.iter.inner; [INFO] [stdout] | ----------- move occurs because `native_iter` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 79 | Direction::forward => unsafe { rocksdb_ffi::rocksdb_iter_next(native_iter) }, [INFO] [stdout] | ----------- value moved here [INFO] [stdout] 80 | Direction::reverse => unsafe { rocksdb_ffi::rocksdb_iter_prev(native_iter) }, [INFO] [stdout] | ----------- value moved here [INFO] [stdout] ... [INFO] [stdout] 85 | if unsafe { rocksdb_ffi::rocksdb_iter_valid(native_iter) } { [INFO] [stdout] | ^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_prev` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn rocksdb_iter_prev(iter: DBIterator); [INFO] [stdout] | ----------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | Direction::reverse => unsafe { rocksdb_ffi::rocksdb_iter_prev(native_iter) }, [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_next` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn rocksdb_iter_next(iter: DBIterator); [INFO] [stdout] | ----------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:79:79 [INFO] [stdout] | [INFO] [stdout] 79 | Direction::forward => unsafe { rocksdb_ffi::rocksdb_iter_next(native_iter) }, [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `native_iter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:90:66 [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = self.iter.inner; [INFO] [stdout] | ----------- move occurs because `native_iter` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 85 | if unsafe { rocksdb_ffi::rocksdb_iter_valid(native_iter) } { [INFO] [stdout] | ----------- value moved here [INFO] [stdout] ... [INFO] [stdout] 90 | let key_ptr = unsafe { rocksdb_ffi::rocksdb_iter_key(native_iter, key_len_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_valid` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:303:37 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn rocksdb_iter_valid(iter: DBIterator) -> bool; [INFO] [stdout] | ------------------ ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | if unsafe { rocksdb_ffi::rocksdb_iter_valid(native_iter) } { [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `native_iter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:92:68 [INFO] [stdout] | [INFO] [stdout] 76 | let native_iter = self.iter.inner; [INFO] [stdout] | ----------- move occurs because `native_iter` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 90 | let key_ptr = unsafe { rocksdb_ffi::rocksdb_iter_key(native_iter, key_len_ptr) }; [INFO] [stdout] | ----------- value moved here [INFO] [stdout] 91 | let key = unsafe { slice::from_raw_parts(key_ptr, key_len as usize) }; [INFO] [stdout] 92 | let val_ptr = unsafe { rocksdb_ffi::rocksdb_iter_value(native_iter, val_len_ptr) }; [INFO] [stdout] | ^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_key` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn rocksdb_iter_key(iter: DBIterator, [INFO] [stdout] | ---------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:90:66 [INFO] [stdout] | [INFO] [stdout] 90 | let key_ptr = unsafe { rocksdb_ffi::rocksdb_iter_key(native_iter, key_len_ptr) }; [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `db.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | let iterator = rocksdb_ffi::rocksdb_create_iterator(db.inner, readopts.inner); [INFO] [stdout] | ^^^^^^^^ move occurs because `db.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | let iterator = rocksdb_ffi::rocksdb_create_iterator(db.inner, readopts.inner); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `readopts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:106:75 [INFO] [stdout] | [INFO] [stdout] 106 | let iterator = rocksdb_ffi::rocksdb_create_iterator(db.inner, readopts.inner); [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `readopts.inner` has type `DBReadOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBReadOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:106:75 [INFO] [stdout] | [INFO] [stdout] 106 | let iterator = rocksdb_ffi::rocksdb_create_iterator(db.inner, readopts.inner); [INFO] [stdout] | -------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `iterator` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 106 | let iterator = rocksdb_ffi::rocksdb_create_iterator(db.inner, readopts.inner); [INFO] [stdout] | -------- move occurs because `iterator` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] 107 | rocksdb_ffi::rocksdb_iter_seek_to_first(iterator); [INFO] [stdout] | -------- value moved here [INFO] [stdout] 108 | DBIterator{ inner: iterator, direction: Direction::forward, just_seeked: true } [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_seek_to_first` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:304:45 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn rocksdb_iter_seek_to_first(iter: DBIterator); [INFO] [stdout] | -------------------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | rocksdb_ffi::rocksdb_iter_seek_to_first(iterator); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `db.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:118:68 [INFO] [stdout] | [INFO] [stdout] 118 | let iterator = rocksdb_ffi::rocksdb_create_iterator_cf(db.inner, [INFO] [stdout] | ^^^^^^^^ move occurs because `db.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:118:68 [INFO] [stdout] | [INFO] [stdout] 118 | let iterator = rocksdb_ffi::rocksdb_create_iterator_cf(db.inner, [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `readopts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | ... readopts.inner, [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `readopts.inner` has type `DBReadOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBReadOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | ... readopts.inner, [INFO] [stdout] | -------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:120:68 [INFO] [stdout] | [INFO] [stdout] 120 | ... *cf.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because value has type `DBCFHandle`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBCFHandle` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct DBCFHandle(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:120:68 [INFO] [stdout] | [INFO] [stdout] 120 | ... *cf.unwrap()); [INFO] [stdout] | ------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `iterator` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 118 | let iterator = rocksdb_ffi::rocksdb_create_iterator_cf(db.inner, [INFO] [stdout] | -------- move occurs because `iterator` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 121 | rocksdb_ffi::rocksdb_iter_seek_to_first(iterator); [INFO] [stdout] | -------- value moved here [INFO] [stdout] 122 | Ok(DBIterator{ inner: iterator, direction: Direction::forward, just_seeked: true }) [INFO] [stdout] | ^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `rocksdb_iter_seek_to_first` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:304:45 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn rocksdb_iter_seek_to_first(iter: DBIterator); [INFO] [stdout] | -------------------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | rocksdb_ffi::rocksdb_iter_seek_to_first(iterator); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | rocksdb_ffi::rocksdb_iter_seek_to_first(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | rocksdb_ffi::rocksdb_iter_seek_to_first(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:137:52 [INFO] [stdout] | [INFO] [stdout] 137 | rocksdb_ffi::rocksdb_iter_seek_to_last(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:137:52 [INFO] [stdout] | [INFO] [stdout] 137 | rocksdb_ffi::rocksdb_iter_seek_to_last(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | rocksdb_ffi::rocksdb_iter_seek(self.inner, key.as_ptr(), key.len() as size_t); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | rocksdb_ffi::rocksdb_iter_seek(self.inner, key.as_ptr(), key.len() as size_t); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | rocksdb_ffi::rocksdb_iter_destroy(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `ffi::DBIterator`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ffi::DBIterator` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DBIterator(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | rocksdb_ffi::rocksdb_iter_destroy(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `db.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:161:70 [INFO] [stdout] | [INFO] [stdout] 161 | let snapshot = unsafe { rocksdb_ffi::rocksdb_create_snapshot(db.inner) }; [INFO] [stdout] | ^^^^^^^^ move occurs because `db.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:161:70 [INFO] [stdout] | [INFO] [stdout] 161 | let snapshot = unsafe { rocksdb_ffi::rocksdb_create_snapshot(db.inner) }; [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.db.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | rocksdb_ffi::rocksdb_release_snapshot(self.db.inner, self.inner); [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `self.db.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | rocksdb_ffi::rocksdb_release_snapshot(self.db.inner, self.inner); [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:175:66 [INFO] [stdout] | [INFO] [stdout] 175 | rocksdb_ffi::rocksdb_release_snapshot(self.db.inner, self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBSnapshot`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBSnapshot` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DBSnapshot(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:175:66 [INFO] [stdout] | [INFO] [stdout] 175 | rocksdb_ffi::rocksdb_release_snapshot(self.db.inner, self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `opts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | db = rocksdb_ffi::rocksdb_open(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `opts.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | db = rocksdb_ffi::rocksdb_open(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `opts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | db = rocksdb_ffi::rocksdb_open_column_families(opts.inner, cpath_ptr, [INFO] [stdout] | ^^^^^^^^^^ move occurs because `opts.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | db = rocksdb_ffi::rocksdb_open_column_families(opts.inner, cpath_ptr, [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `opts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | rocksdb_ffi::rocksdb_destroy_db(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `opts.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | rocksdb_ffi::rocksdb_destroy_db(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0509]: cannot move out of type `Options`, which implements the `Drop` trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | rocksdb_ffi::rocksdb_repair_db(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `opts.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | rocksdb_ffi::rocksdb_repair_db(opts.inner, cpath_ptr, err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | self.inner, opts.inner, cname_ptr, err_ptr); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | self.inner, opts.inner, cname_ptr, err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `opts.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:409:29 [INFO] [stdout] | [INFO] [stdout] 409 | self.inner, opts.inner, cname_ptr, err_ptr); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `opts.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:409:29 [INFO] [stdout] | [INFO] [stdout] 409 | self.inner, opts.inner, cname_ptr, err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `cf_handler` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 408 | let cf_handler = rocksdb_ffi::rocksdb_create_column_family( [INFO] [stdout] | ---------- move occurs because `cf_handler` has type `DBCFHandle`, which does not implement the `Copy` trait [INFO] [stdout] 409 | self.inner, opts.inner, cname_ptr, err_ptr); [INFO] [stdout] 410 | self.cfs.insert(name.to_string(), cf_handler); [INFO] [stdout] | ---------- value moved here [INFO] [stdout] 411 | cf_handler [INFO] [stdout] | ^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: if `DBCFHandle` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct DBCFHandle(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | self.cfs.insert(name.to_string(), cf_handler); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:428:53 [INFO] [stdout] | [INFO] [stdout] 428 | rocksdb_ffi::rocksdb_drop_column_family(self.inner, *cf.unwrap(), err_ptr); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:428:53 [INFO] [stdout] | [INFO] [stdout] 428 | rocksdb_ffi::rocksdb_drop_column_family(self.inner, *cf.unwrap(), err_ptr); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:428:65 [INFO] [stdout] | [INFO] [stdout] 428 | rocksdb_ffi::rocksdb_drop_column_family(self.inner, *cf.unwrap(), err_ptr); [INFO] [stdout] | ^^^^^^^^^^^^ move occurs because value has type `DBCFHandle`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBCFHandle` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct DBCFHandle(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:428:65 [INFO] [stdout] | [INFO] [stdout] 428 | rocksdb_ffi::rocksdb_drop_column_family(self.inner, *cf.unwrap(), err_ptr); [INFO] [stdout] | ------------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:567:53 [INFO] [stdout] | [INFO] [stdout] 567 | rocksdb_ffi::rocksdb_writebatch_destroy(self.inner) [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:567:53 [INFO] [stdout] | [INFO] [stdout] 567 | rocksdb_ffi::rocksdb_writebatch_destroy(self.inner) [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*cf` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:576:67 [INFO] [stdout] | [INFO] [stdout] 576 | rocksdb_ffi::rocksdb_column_family_handle_destroy(*cf); [INFO] [stdout] | ^^^ move occurs because `*cf` has type `DBCFHandle`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBCFHandle` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct DBCFHandle(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:576:67 [INFO] [stdout] | [INFO] [stdout] 576 | rocksdb_ffi::rocksdb_column_family_handle_destroy(*cf); [INFO] [stdout] | --- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:578:40 [INFO] [stdout] | [INFO] [stdout] 578 | rocksdb_ffi::rocksdb_close(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBInstance`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBInstance` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DBInstance(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:578:40 [INFO] [stdout] | [INFO] [stdout] 578 | rocksdb_ffi::rocksdb_close(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:586:49 [INFO] [stdout] | [INFO] [stdout] 586 | rocksdb_ffi::rocksdb_writebatch_put(self.inner, key.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:586:49 [INFO] [stdout] | [INFO] [stdout] 586 | rocksdb_ffi::rocksdb_writebatch_put(self.inner, key.as_ptr(), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:595:52 [INFO] [stdout] | [INFO] [stdout] 595 | rocksdb_ffi::rocksdb_writebatch_put_cf(self.inner, cf, key.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:595:52 [INFO] [stdout] | [INFO] [stdout] 595 | rocksdb_ffi::rocksdb_writebatch_put_cf(self.inner, cf, key.as_ptr(), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:604:51 [INFO] [stdout] | [INFO] [stdout] 604 | rocksdb_ffi::rocksdb_writebatch_merge(self.inner, key.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:604:51 [INFO] [stdout] | [INFO] [stdout] 604 | rocksdb_ffi::rocksdb_writebatch_merge(self.inner, key.as_ptr(), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:613:54 [INFO] [stdout] | [INFO] [stdout] 613 | rocksdb_ffi::rocksdb_writebatch_merge_cf(self.inner, cf, key.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:613:54 [INFO] [stdout] | [INFO] [stdout] 613 | rocksdb_ffi::rocksdb_writebatch_merge_cf(self.inner, cf, key.as_ptr(), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:622:52 [INFO] [stdout] | [INFO] [stdout] 622 | rocksdb_ffi::rocksdb_writebatch_delete(self.inner, key.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:622:52 [INFO] [stdout] | [INFO] [stdout] 622 | rocksdb_ffi::rocksdb_writebatch_delete(self.inner, key.as_ptr(), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:630:55 [INFO] [stdout] | [INFO] [stdout] 630 | rocksdb_ffi::rocksdb_writebatch_delete_cf(self.inner, [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBWriteBatch`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBWriteBatch` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DBWriteBatch(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:630:55 [INFO] [stdout] | [INFO] [stdout] 630 | rocksdb_ffi::rocksdb_writebatch_delete_cf(self.inner, [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:641:54 [INFO] [stdout] | [INFO] [stdout] 641 | rocksdb_ffi::rocksdb_readoptions_destroy(self.inner) [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBReadOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBReadOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:641:54 [INFO] [stdout] | [INFO] [stdout] 641 | rocksdb_ffi::rocksdb_readoptions_destroy(self.inner) [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:657:61 [INFO] [stdout] | [INFO] [stdout] 657 | rocksdb_ffi::rocksdb_readoptions_set_fill_cache(self.inner, v); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBReadOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBReadOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:657:61 [INFO] [stdout] | [INFO] [stdout] 657 | rocksdb_ffi::rocksdb_readoptions_set_fill_cache(self.inner, v); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:663:59 [INFO] [stdout] | [INFO] [stdout] 663 | rocksdb_ffi::rocksdb_readoptions_set_snapshot(self.inner, snapshot.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBReadOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBReadOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DBReadOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:663:59 [INFO] [stdout] | [INFO] [stdout] 663 | rocksdb_ffi::rocksdb_readoptions_set_snapshot(self.inner, snapshot.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `snapshot.inner` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:663:71 [INFO] [stdout] | [INFO] [stdout] 663 | rocksdb_ffi::rocksdb_readoptions_set_snapshot(self.inner, snapshot.inner); [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `snapshot.inner` has type `DBSnapshot`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBSnapshot` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DBSnapshot(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb.rs:663:71 [INFO] [stdout] | [INFO] [stdout] 663 | rocksdb_ffi::rocksdb_readoptions_set_snapshot(self.inner, snapshot.inner); [INFO] [stdout] | -------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | rocksdb_ffi::rocksdb_options_destroy(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | rocksdb_ffi::rocksdb_options_destroy(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | rocksdb_ffi::rocksdb_block_based_options_destroy(self.inner); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBBlockBasedTableOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBBlockBasedTableOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DBBlockBasedTableOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | rocksdb_ffi::rocksdb_block_based_options_destroy(self.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | self.inner, size); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBBlockBasedTableOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBBlockBasedTableOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DBBlockBasedTableOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | self.inner, size); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | self.inner, parallelism); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | self.inner, parallelism); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | self.inner, memtable_memory_budget); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | self.inner, memtable_memory_budget); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | self.inner, create_if_missing); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | self.inner, create_if_missing); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:140:61 [INFO] [stdout] | [INFO] [stdout] 140 | rocksdb_ffi::rocksdb_options_set_merge_operator(self.inner, mo); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:140:61 [INFO] [stdout] | [INFO] [stdout] 140 | rocksdb_ffi::rocksdb_options_set_merge_operator(self.inner, mo); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | rocksdb_ffi::rocksdb_options_set_comparator(self.inner, cmp); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | rocksdb_ffi::rocksdb_options_set_comparator(self.inner, cmp); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | self.inner, cache_size); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | self.inner, cache_size); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | rocksdb_ffi::rocksdb_options_set_max_open_files(self.inner, nfiles); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | rocksdb_ffi::rocksdb_options_set_max_open_files(self.inner, nfiles); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:178:64 [INFO] [stdout] | [INFO] [stdout] 178 | rocksdb_ffi::rocksdb_options_set_use_fsync(self.inner, 1), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:178:64 [INFO] [stdout] | [INFO] [stdout] 178 | rocksdb_ffi::rocksdb_options_set_use_fsync(self.inner, 1), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:180:64 [INFO] [stdout] | [INFO] [stdout] 180 | rocksdb_ffi::rocksdb_options_set_use_fsync(self.inner, 0), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:180:64 [INFO] [stdout] | [INFO] [stdout] 180 | rocksdb_ffi::rocksdb_options_set_use_fsync(self.inner, 0), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | self.inner, nbytes); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | self.inner, nbytes); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | self.inner, 1), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | self.inner, 1), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | self.inner, 0), [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | self.inner, 0), [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.inner` which is behind a mutable reference [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner, nbits); [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.inner` has type `DBOptions`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `DBOptions` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/ffi.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct DBOptions(pub *const c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocksdb-0.1.1/src/rocksdb_options.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | self.inner, nbits); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocksdb` (lib) due to 68 previous errors [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaai7nGX/full.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `regex-syntax` (lib) due to 1 previous error [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/time-a24ad5c674828a22.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/time-a24ad5c674828a22/dep-lib-time` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stdout] Some errors have detailed explanations: E0277, E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 3 previous errors [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaceIriM/full.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protobuf` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "331c088b070651ae2cc6005b0e4caa25ee49fcc4fa1877442bef1a21622e45f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331c088b070651ae2cc6005b0e4caa25ee49fcc4fa1877442bef1a21622e45f9", kill_on_drop: false }` [INFO] [stdout] 331c088b070651ae2cc6005b0e4caa25ee49fcc4fa1877442bef1a21622e45f9