[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplayaround88%2Fkvs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/playaround88/kvs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-9/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb95311de25d657dfedc03eaf3f65b58eae9b9bea0d83c73f6bb91f50c068c1 [INFO] running `Command { std: "docker" "start" "-a" "5bb95311de25d657dfedc03eaf3f65b58eae9b9bea0d83c73f6bb91f50c068c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb95311de25d657dfedc03eaf3f65b58eae9b9bea0d83c73f6bb91f50c068c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb95311de25d657dfedc03eaf3f65b58eae9b9bea0d83c73f6bb91f50c068c1", kill_on_drop: false }` [INFO] [stdout] 5bb95311de25d657dfedc03eaf3f65b58eae9b9bea0d83c73f6bb91f50c068c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d45da29fd662b70dd99a2eb0d05d9027b56ec405ae2724e4fc5910f768bca53 [INFO] running `Command { std: "docker" "start" "-a" "0d45da29fd662b70dd99a2eb0d05d9027b56ec405ae2724e4fc5910f768bca53", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] itoa v0.4.6: default, std [INFO] [stderr] num-traits v0.2.12: default, std [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking sled v0.34.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking kvs v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking assert_cmd v0.11.1 [INFO] [stderr] Migrating src/bin/kvs-server.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/kvs-client.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bin/kvs-server.rs (3 fixes) [INFO] [stderr] Migrating tests/tests.rs from 2018 edition to 2021 [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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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] ::: /tmp/fixit/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: 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` due to 26 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0d45da29fd662b70dd99a2eb0d05d9027b56ec405ae2724e4fc5910f768bca53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d45da29fd662b70dd99a2eb0d05d9027b56ec405ae2724e4fc5910f768bca53", kill_on_drop: false }` [INFO] [stdout] 0d45da29fd662b70dd99a2eb0d05d9027b56ec405ae2724e4fc5910f768bca53