[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playaround88/kvs on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded adler32 v1.1.0 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded predicates-tree v1.0.0 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded predicates v1.0.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded backtrace v0.3.49 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded serde v1.0.112 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded addr2line v0.12.2 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded serde_derive v1.0.112 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded float-cmp v0.6.0 [INFO] [stderr] Downloaded predicates-core v1.0.0 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded sled v0.34.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57602dfcec2d1b590b64d18d32788ca5e8fdbe3466e32c99059cb7d86ffc831e [INFO] running `Command { std: "docker" "start" "-a" "57602dfcec2d1b590b64d18d32788ca5e8fdbe3466e32c99059cb7d86ffc831e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57602dfcec2d1b590b64d18d32788ca5e8fdbe3466e32c99059cb7d86ffc831e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57602dfcec2d1b590b64d18d32788ca5e8fdbe3466e32c99059cb7d86ffc831e", kill_on_drop: false }` [INFO] [stdout] 57602dfcec2d1b590b64d18d32788ca5e8fdbe3466e32c99059cb7d86ffc831e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f45f6c7505791a93513565d6901e27c84e08226b6b80658d9db14f01d3363065 [INFO] running `Command { std: "docker" "start" "-a" "f45f6c7505791a93513565d6901e27c84e08226b6b80658d9db14f01d3363065", kill_on_drop: false }` [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 num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 object v0.20.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking chrono v0.4.13 [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 fxhash v0.2.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking either v1.5.3 [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 regex-automata v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking kvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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] [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 criterion v0.2.11 [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] 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: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] 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" "f45f6c7505791a93513565d6901e27c84e08226b6b80658d9db14f01d3363065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45f6c7505791a93513565d6901e27c84e08226b6b80658d9db14f01d3363065", kill_on_drop: false }` [INFO] [stdout] f45f6c7505791a93513565d6901e27c84e08226b6b80658d9db14f01d3363065