[INFO] cloning repository https://github.com/playaround88/kvs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce346b064c218b844313a8e65b2dd2cebb3cc71e [INFO] checking playaround88/kvs against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs" "/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/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playaround88/kvs on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/playaround88/kvs 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f44b8c5b65af8149b0689d2b35af06f928cf11d7f44a203f69de94915966e0ee [INFO] running `Command { std: "docker" "start" "-a" "f44b8c5b65af8149b0689d2b35af06f928cf11d7f44a203f69de94915966e0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f44b8c5b65af8149b0689d2b35af06f928cf11d7f44a203f69de94915966e0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44b8c5b65af8149b0689d2b35af06f928cf11d7f44a203f69de94915966e0ee", kill_on_drop: false }` [INFO] [stdout] f44b8c5b65af8149b0689d2b35af06f928cf11d7f44a203f69de94915966e0ee [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e116b47f9c4b321fd816c198338d0d731f0f91d8bcbd66da9d3ed385082c5606 [INFO] running `Command { std: "docker" "start" "-a" "e116b47f9c4b321fd816c198338d0d731f0f91d8bcbd66da9d3ed385082c5606", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sled v0.34.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking escargot v0.4.0 [INFO] [stderr] Checking 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] [stderr] Checking criterion v0.2.11 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/bin/kvs-server.rs:63:13 [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)]` 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:9 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking assert_cmd v0.11.1 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/bin/kvs-server.rs:63:13 [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)]` 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:9 [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)]` 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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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: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:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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 `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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] ::: /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/engines/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&mut self, key: String) -> Result>; [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] ::: /opt/rustwide/workdir/src/engines/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get(&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: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/engines/mod.rs:12:5 [INFO] [stdout] | [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] running `Command { std: "docker" "inspect" "e116b47f9c4b321fd816c198338d0d731f0f91d8bcbd66da9d3ed385082c5606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e116b47f9c4b321fd816c198338d0d731f0f91d8bcbd66da9d3ed385082c5606", kill_on_drop: false }` [INFO] [stdout] e116b47f9c4b321fd816c198338d0d731f0f91d8bcbd66da9d3ed385082c5606