[INFO] fetching crate rasputin 0.2.0... [INFO] testing rasputin-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rasputin 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rasputin 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rasputin 0.2.0 [INFO] tweaked toml for crates.io crate rasputin 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rasputin 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.2.11 (available: v1.10.1) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding mio v0.4.4 (available: v1.0.4) [INFO] [stderr] Adding protobuf v1.7.5 (available: v3.7.2) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] [stderr] Adding rocksdb v0.1.1 (available: v0.23.0) [INFO] [stderr] Adding threadpool v0.1.4 (available: v1.8.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding uuid v0.1.18 (available: v1.17.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Downloading crates ... [INFO] [stderr] Downloaded threadpool v0.1.4 [INFO] [stderr] Downloaded mio v0.4.4 [INFO] [stderr] Downloaded bytes v0.2.11 [INFO] [stderr] Downloaded nix v0.3.10 [INFO] [stderr] Downloaded rocksdb v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa8a4e617a170fe0827110d4e80939d416cfab6ea7d968d6faa1b8567d04465 [INFO] running `Command { std: "docker" "start" "-a" "5fa8a4e617a170fe0827110d4e80939d416cfab6ea7d968d6faa1b8567d04465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa8a4e617a170fe0827110d4e80939d416cfab6ea7d968d6faa1b8567d04465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa8a4e617a170fe0827110d4e80939d416cfab6ea7d968d6faa1b8567d04465", kill_on_drop: false }` [INFO] [stdout] 5fa8a4e617a170fe0827110d4e80939d416cfab6ea7d968d6faa1b8567d04465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 656f5affbdfd5d1da63280d7d8e38e3dfadceecedb5444b20846ce097322160a [INFO] running `Command { std: "docker" "start" "-a" "656f5affbdfd5d1da63280d7d8e38e3dfadceecedb5444b20846ce097322160a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling winapi v0.1.23 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bytes v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling threadpool v0.1.4 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling nix v0.3.10 [INFO] [stderr] Compiling rocksdb v0.1.1 [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] [stderr] Compiling thread-id v2.0.0 [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] [stderr] Compiling thread_local v0.2.7 [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] 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] [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] [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:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | self.inner, nbuf); [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:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | self.inner, nbuf); [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:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | self.inner, nbuf); [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:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | self.inner, nbuf); [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:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | self.inner, 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:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | 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:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | self.inner, 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:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | 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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | self.inner, to_merge); [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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | self.inner, to_merge); [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:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | self.inner, n); [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:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | self.inner, n); [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:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | self.inner, n); [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:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | self.inner, n); [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:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | self.inner, style); [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:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | self.inner, style); [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:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | self.inner, n); [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:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | self.inner, n); [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:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | self.inner, n); [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:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | self.inner, n); [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:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | self.inner, filter); [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:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | self.inner, filter); [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:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | 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:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | 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:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | 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:304:72 [INFO] [stdout] | [INFO] [stdout] 304 | rocksdb_ffi::rocksdb_options_set_block_based_table_factory(self.inner, factory.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:304:72 [INFO] [stdout] | [INFO] [stdout] 304 | rocksdb_ffi::rocksdb_options_set_block_based_table_factory(self.inner, factory.inner); [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `factory.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_options.rs:304:84 [INFO] [stdout] | [INFO] [stdout] 304 | rocksdb_ffi::rocksdb_options_set_block_based_table_factory(self.inner, factory.inner); [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `factory.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:304:84 [INFO] [stdout] | [INFO] [stdout] 304 | rocksdb_ffi::rocksdb_options_set_block_based_table_factory(self.inner, factory.inner); [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0509, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocksdb` (lib) due to 83 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "656f5affbdfd5d1da63280d7d8e38e3dfadceecedb5444b20846ce097322160a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656f5affbdfd5d1da63280d7d8e38e3dfadceecedb5444b20846ce097322160a", kill_on_drop: false }` [INFO] [stdout] 656f5affbdfd5d1da63280d7d8e38e3dfadceecedb5444b20846ce097322160a