[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/playaround88/kvs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/playaround88/kvs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 630dcd5e8ad21a455f03d3babe75eaf7083fe28809099e451b5e401e5e8c13d5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "630dcd5e8ad21a455f03d3babe75eaf7083fe28809099e451b5e401e5e8c13d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "630dcd5e8ad21a455f03d3babe75eaf7083fe28809099e451b5e401e5e8c13d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630dcd5e8ad21a455f03d3babe75eaf7083fe28809099e451b5e401e5e8c13d5", kill_on_drop: false }` [INFO] [stdout] 630dcd5e8ad21a455f03d3babe75eaf7083fe28809099e451b5e401e5e8c13d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 422c1734c9c1d24981690e91e4b74f1c3ff0b60324e7e30d46a2539735969fca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "422c1734c9c1d24981690e91e4b74f1c3ff0b60324e7e30d46a2539735969fca", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking sled v0.34.2 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde v1.0.112 [INFO] [stderr] Checking serde_json v1.0.55 [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] [stderr] Checking escargot v0.4.0 [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] [stderr] Checking assert_cmd v0.11.1 [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/bin/kvs-server.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut store = KvStore::open(current_dir()?)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 3 warnings emitted [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:9 [INFO] [stdout] | [INFO] [stdout] 63 | let mut store = KvStore::open(current_dir()?)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: 3 warnings emitted [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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] | ^^^ method not found in `KvStore` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use kvs::KvsEngine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "422c1734c9c1d24981690e91e4b74f1c3ff0b60324e7e30d46a2539735969fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422c1734c9c1d24981690e91e4b74f1c3ff0b60324e7e30d46a2539735969fca", kill_on_drop: false }` [INFO] [stdout] 422c1734c9c1d24981690e91e4b74f1c3ff0b60324e7e30d46a2539735969fca