[INFO] cloning repository https://github.com/playaround88/kvs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playaround88/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ce346b064c218b844313a8e65b2dd2cebb3cc71e
[INFO] testing playaround88/kvs against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs" "/workspace/builds/worker-3-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/playaround88/kvs
[INFO] finished tweaking git repo https://github.com/playaround88/kvs
[INFO] tweaked toml for git repo https://github.com/playaround88/kvs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/playaround88/kvs on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/playaround88/kvs already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c
[INFO] running `"docker" "start" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] running `"docker" "inspect" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.31
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling serde v1.0.112
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling adler32 v1.1.0
[INFO] [stderr]    Compiling addr2line v0.12.2
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling serde_json v1.0.55
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling chrono v0.4.13
[INFO] [stderr]    Compiling sled v0.34.2
[INFO] [stderr]    Compiling stderrlog v0.4.3
[INFO] [stderr]    Compiling backtrace v0.3.49
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.112
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/engines/kvs.rs:172:10
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |          ^--------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Serialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/engines/kvs.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |                     ^----------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `Deserialize` is not local
[INFO] [stdout]     |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]   |          `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: 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] warning: unused import: `KvsEngine`
[INFO] [stdout]  --> src/bin/kvs-server.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kvs::{KvStore, KvsEngine, Result};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[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] warning: unused variable: `store`
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 36.00s
[INFO] running `"docker" "inspect" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling predicates-core v1.0.0
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling float-cmp v0.6.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling treeline v0.1.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling predicates-tree v1.0.0
[INFO] [stderr]    Compiling tinytemplate v1.1.0
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/engines/kvs.rs:172:10
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |          ^--------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Serialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/engines/kvs.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |                     ^----------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `Deserialize` is not local
[INFO] [stdout]     |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]   |          `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: 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] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stdout] warning: unused import: `KvsEngine`
[INFO] [stdout]  --> src/bin/kvs-server.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kvs::{KvStore, KvsEngine, Result};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[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] warning: unused variable: `store`
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling criterion-plot v0.3.1
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling predicates v1.0.4
[INFO] [stderr]    Compiling assert_cmd v0.11.1
[INFO] [stderr]    Compiling criterion v0.2.11
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `KvsEngine`
[INFO] [stdout]  --> src/bin/kvs-server.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use kvs::{KvStore, KvsEngine, Result};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[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] warning: unused variable: `store`
[INFO] [stdout]   --> src/bin/kvs-server.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let mut store = KvStore::open(current_dir()?)?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set` found for struct `KvStore` in the current scope
[INFO] [stdout]   --> tests/tests.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/engines/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> src/engines/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KvsEngine;
[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/tests.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |     store.set("key2".to_owned(), "value2".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/engines/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> src/engines/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KvsEngine;
[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/tests.rs:98:11
[INFO] [stdout]    |
[INFO] [stdout] 98 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/engines/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]   --> src/engines/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use kvs::KvsEngine;
[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/tests.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:187:11
[INFO] [stdout]     |
[INFO] [stdout] 187 |     store.set("key2".to_owned(), "value2".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/engines/kvs.rs:172:10
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |          ^--------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `Serialize` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/engines/kvs.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]     |                     ^----------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     `Deserialize` is not local
[INFO] [stdout]     |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Command`
[INFO] [stdout] 173 | enum Command {
[INFO] [stdout]     |      ------- `Command` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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]   |          `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: 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[E0599]: no method named `get` found for struct `KvStore` in the current scope
[INFO] [stdout]    --> tests/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:207:11
[INFO] [stdout]     |
[INFO] [stdout] 207 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:209:11
[INFO] [stdout]     |
[INFO] [stdout] 209 |     store.set("key1".to_owned(), "value2".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |     store.set("key1".to_owned(), "value3".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:228:11
[INFO] [stdout]     |
[INFO] [stdout] 228 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:229:22
[INFO] [stdout]     |
[INFO] [stdout] 229 |     assert_eq!(store.get("key2".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:234:22
[INFO] [stdout]     |
[INFO] [stdout] 234 |     assert_eq!(store.get("key2".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:16:8
[INFO] [stdout]     |
[INFO] [stdout]  16 |     fn remove(&mut 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 `KvsEngine` which provides `remove` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:251:11
[INFO] [stdout]     |
[INFO] [stdout] 251 |     store.set("key1".to_owned(), "value1".to_owned())?;
[INFO] [stdout]     |           ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.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]    ::: src/engines/mod.rs:16:8
[INFO] [stdout]     |
[INFO] [stdout]  16 |     fn remove(&mut 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 `KvsEngine` which provides `remove` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:253:22
[INFO] [stdout]     |
[INFO] [stdout] 253 |     assert_eq!(store.get("key1".to_owned())?, None);
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:280:19
[INFO] [stdout]     |
[INFO] [stdout] 280 |             store.set(key, value)?;
[INFO] [stdout]     |                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:12:8
[INFO] [stdout]     |
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: 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: there is a method `get` with a similar name, but with different arguments
[INFO] [stdout]    --> src/engines/mod.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout] ...
[INFO] [stdout]  14 |     fn get(&mut self, key: String) -> Result<Option<String>>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `set` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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/tests.rs:295:30
[INFO] [stdout]     |
[INFO] [stdout] 295 |             assert_eq!(store.get(key)?, Some(format!("{}", iter)));
[INFO] [stdout]     |                              ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/engines/mod.rs:14:8
[INFO] [stdout]     |
[INFO] [stdout]  14 |     fn get(&mut 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]    --> src/engines/mod.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  10 | pub trait KvsEngine {
[INFO] [stdout]  11 |     /// set key to value
[INFO] [stdout]  12 |     fn set(&mut self, key: String, value: String) -> Result<()>;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `KvsEngine` which provides `get` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use kvs::KvsEngine;
[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 "tests") due to 25 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] running `"docker" "rm" "-f" "08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c"`
[INFO] [stdout] 08b8f27a0889a6594aa5bb50f835d26cfd6e33a09469829fd3db9ccbe3c85a2c
