[INFO] cloning repository https://github.com/19858125320/MINI-KV
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/19858125320/MINI-KV" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19858125320%2FMINI-KV", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19858125320%2FMINI-KV'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b78689b02212f5c5886bcf582204571dd60abbe
[INFO] checking 19858125320/MINI-KV against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19858125320%2FMINI-KV" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/19858125320/MINI-KV
[INFO] finished tweaking git repo https://github.com/19858125320/MINI-KV
[INFO] tweaked toml for git repo https://github.com/19858125320/MINI-KV written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/19858125320/MINI-KV on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/19858125320/MINI-KV already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f5c9dc92d0c4393858f8e918f9c72dc4fb35504db4f189005b77bee5093a21a
[INFO] running `Command { std: "docker" "start" "-a" "1f5c9dc92d0c4393858f8e918f9c72dc4fb35504db4f189005b77bee5093a21a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f5c9dc92d0c4393858f8e918f9c72dc4fb35504db4f189005b77bee5093a21a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f5c9dc92d0c4393858f8e918f9c72dc4fb35504db4f189005b77bee5093a21a", kill_on_drop: false }`
[INFO] [stdout] 1f5c9dc92d0c4393858f8e918f9c72dc4fb35504db4f189005b77bee5093a21a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85e036647a4113e9a60ef40cac2e39f79c3fba4ae90933352735ac2e3e52330b
[INFO] running `Command { std: "docker" "start" "-a" "85e036647a4113e9a60ef40cac2e39f79c3fba4ae90933352735ac2e3e52330b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking clap_builder v4.5.34
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling virtue v0.0.18
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking float-cmp v0.8.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling bincode_derive v2.0.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking iana-time-zone v0.1.62
[INFO] [stderr]     Checking unty v0.0.4
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking jiff v0.2.5
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking crossbeam-skiplist v0.1.3
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking half v2.5.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking bincode v2.0.1
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking ctrlc v3.4.5
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking predicates v1.0.8
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking clap v4.5.34
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking assert_cmd v0.11.1
[INFO] [stderr]     Checking kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `current_gen` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut current_gen:u64=0;
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct KvStore {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 21 |     // directory for the log and other data.
[INFO] [stdout] 22 |     path: Arc<PathBuf>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/thread_pool/shard.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 15 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Fail,Debug)]
[INFO] [stdout]   |          ^---
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Fail` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError`
[INFO] [stdout] 6 | pub enum KvsError {
[INFO] [stdout]   |          -------- `KvsError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Fail,Debug)]
[INFO] [stdout]   |          ^---
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Display` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError`
[INFO] [stdout] 6 | pub enum KvsError {
[INFO] [stdout]   |          -------- `KvsError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> benches/engine_bench.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     store.set(format!("key{}", i), "value".to_string()).unwrap();
[INFO] [stdout]    |                           ^^^------------------------------------------ argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     store.set(format!("key{}", i), "value".to_string(), /* u32 */).unwrap();
[INFO] [stdout]    |                                                                       +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> benches/engine_bench.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     db.set(format!("key{}", i), "value".to_string()).unwrap();
[INFO] [stdout]    |                        ^^^------------------------------------------ argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     db.set(format!("key{}", i), "value".to_string(), /* u32 */).unwrap();
[INFO] [stdout]    |                                                                    +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> benches/engine_bench.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |                     .set(format!("key{}", key_i), "value".to_string())
[INFO] [stdout]    |                      ^^^---------------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 47 |                     .set(format!("key{}", key_i), "value".to_string(), /* u32 */)
[INFO] [stdout]    |                                                                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> benches/engine_bench.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 db.set(format!("key{}", key_i), "value".to_string())
[INFO] [stdout]    |                    ^^^---------------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 db.set(format!("key{}", key_i), "value".to_string(), /* u32 */)
[INFO] [stdout]    |                                                                    +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvs` (bench "engine_bench") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]   --> tests/tests2.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        --- the method is available for `KvStore` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KVEngine;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 11 |     store.set("key1".to_owned(), "value1".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]   --> tests/tests2.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |     store.set("key2".to_owned(), "value2".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        --- the method is available for `KvStore` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KVEngine;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     store.set("key2".to_owned(), "value2".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     store.set("key2".to_owned(), "value2".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut store = KvStore::new();
[INFO] [stdout]     |                              ^^^ function or associated item not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `KvStore`, consider using `KvStore::open` which returns `Result<KvStore, KvsError>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/kvs.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub fn open(path: impl Into<PathBuf>) -> Result<KvStore> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]   --> tests/tests2.rs:98:11
[INFO] [stdout]    |
[INFO] [stdout] 98 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        --- the method is available for `KvStore` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KVEngine;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 32 |     store.set("key1".to_owned(), "value1".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests.rs:130:30
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut store = KvStore::new();
[INFO] [stdout]     |                              ^^^ function or associated item not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `KvStore`, consider using `KvStore::open` which returns `Result<KvStore, KvsError>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/kvs.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub fn open(path: impl Into<PathBuf>) -> Result<KvStore> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests.rs:142:30
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut store = KvStore::new();
[INFO] [stdout]     |                              ^^^ function or associated item not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `KvStore`, consider using `KvStore::open` which returns `Result<KvStore, KvsError>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/kvs.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub fn open(path: impl Into<PathBuf>) -> Result<KvStore> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     store.set("key1".to_owned(), "value2".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 34 |     store.set("key1".to_owned(), "value2".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut store = KvStore::new();
[INFO] [stdout]     |                              ^^^ function or associated item not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `KvStore`, consider using `KvStore::open` which returns `Result<KvStore, KvsError>`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/kvs.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub fn open(path: impl Into<PathBuf>) -> Result<KvStore> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |     store.set("key1".to_owned(), "value3".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 41 |     store.set("key1".to_owned(), "value3".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvs` (test "tests") due to 4 previous errors
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 53 |     store.set("key1".to_owned(), "value1".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:187:11
[INFO] [stdout]     |
[INFO] [stdout] 187 |     store.set("key2".to_owned(), "value2".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:189:22
[INFO] [stdout]     |
[INFO] [stdout] 189 |     assert_eq!(store.get("key1".to_owned())?, Some("value1".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> tests/kv_store.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^---------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout]  6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 76 |     store.set("key1".to_owned(), "value1".to_owned(), /* u32 */)?;
[INFO] [stdout]    |                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 190 |     assert_eq!(store.get("key2".to_owned())?, Some("value2".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:195:22
[INFO] [stdout]     |
[INFO] [stdout] 195 |     assert_eq!(store.get("key1".to_owned())?, Some("value1".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 196 |     assert_eq!(store.get("key2".to_owned())?, Some("value2".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> tests/kv_store.rs:105:19
[INFO] [stdout]     |
[INFO] [stdout] 105 |             store.set(key, value)?;
[INFO] [stdout]     |                   ^^^------------ argument #3 of type `u32` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 105 |             store.set(key, value, /* u32 */)?;
[INFO] [stdout]     |                                 +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:207:11
[INFO] [stdout]     |
[INFO] [stdout] 207 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:208:22
[INFO] [stdout]     |
[INFO] [stdout] 208 |     assert_eq!(store.get("key1".to_owned())?, Some("value1".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/kv_store.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut store = KvStore::open(temp_dir.path())?;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:209:11
[INFO] [stdout]     |
[INFO] [stdout] 209 |     store.set("key1".to_owned(), "value2".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     assert_eq!(store.get("key1".to_owned())?, Some("value2".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |     assert_eq!(store.get("key1".to_owned())?, Some("value2".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvs` (test "kv_store") due to 8 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |     store.set("key1".to_owned(), "value3".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:217:22
[INFO] [stdout]     |
[INFO] [stdout] 217 |     assert_eq!(store.get("key1".to_owned())?, Some("value3".to_owned()));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:228:11
[INFO] [stdout]     |
[INFO] [stdout] 228 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:229:22
[INFO] [stdout]     |
[INFO] [stdout] 229 |     assert_eq!(store.get("key2".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:234:22
[INFO] [stdout]     |
[INFO] [stdout] 234 |     assert_eq!(store.get("key2".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remove` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |     assert!(store.remove("key1".to_owned()).is_err());
[INFO] [stdout]     |                   ^^^^^^ method not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn remove(&self, key: String) -> Result<()>;
[INFO] [stdout]     |        ------ the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KVEngine` which provides `remove` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:251:11
[INFO] [stdout]     |
[INFO] [stdout] 251 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `remove` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:252:19
[INFO] [stdout]     |
[INFO] [stdout] 252 |     assert!(store.remove("key1".to_owned()).is_ok());
[INFO] [stdout]     |                   ^^^^^^ method not found in `KvStore`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn remove(&self, key: String) -> Result<()>;
[INFO] [stdout]     |        ------ the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `KVEngine` which provides `remove` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:253:22
[INFO] [stdout]     |
[INFO] [stdout] 253 |     assert_eq!(store.get("key1".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:280:19
[INFO] [stdout]     |
[INFO] [stdout] 280 |             store.set(key, value)?;
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:9:5
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests2.rs:295:30
[INFO] [stdout]     |
[INFO] [stdout] 295 |             assert_eq!(store.get(key)?, Some(format!("{}", iter)));
[INFO] [stdout]     |                              ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/workdir/src/engines/mod.rs:9:8
[INFO] [stdout]     |
[INFO] [stdout]   9 |     fn get(&self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |        --- the method is available for `KvStore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/workdir/src/engines/mod.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn set(&self, key: String, value: String,ttl:u32) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KVEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KVEngine;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvs` (test "tests2") due to 25 previous errors
[INFO] [stdout] warning: value assigned to `current_gen` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut current_gen:u64=0;
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/engines/kvs.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct KvStore {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 21 |     // directory for the log and other data.
[INFO] [stdout] 22 |     path: Arc<PathBuf>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KvStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/thread_pool/shard.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 15 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Fail,Debug)]
[INFO] [stdout]   |          ^---
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Fail` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_KvsError`
[INFO] [stdout] 6 | pub enum KvsError {
[INFO] [stdout]   |          -------- `KvsError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Fail,Debug)]
[INFO] [stdout]   |          ^---
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Display` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_KvsError`
[INFO] [stdout] 6 | pub enum KvsError {
[INFO] [stdout]   |          -------- `KvsError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "85e036647a4113e9a60ef40cac2e39f79c3fba4ae90933352735ac2e3e52330b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85e036647a4113e9a60ef40cac2e39f79c3fba4ae90933352735ac2e3e52330b", kill_on_drop: false }`
[INFO] [stdout] 85e036647a4113e9a60ef40cac2e39f79c3fba4ae90933352735ac2e3e52330b
