[INFO] cloning repository https://github.com/SamSmith7/kvs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamSmith7/kvs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamSmith7%2Fkvs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamSmith7%2Fkvs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 97458140709b331591d975eaf7aff442ace8a41a
[INFO] checking SamSmith7/kvs against try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for 155501-infallible-never-no-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamSmith7%2Fkvs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SamSmith7/kvs
[INFO] finished tweaking git repo https://github.com/SamSmith7/kvs
[INFO] tweaked toml for git repo https://github.com/SamSmith7/kvs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SamSmith7/kvs on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SamSmith7/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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0591d5dc30e72ed2889a0941732cca4bf94a499d9887a885423596f473f5cab7
[INFO] running `Command { std: "docker" "start" "-a" "0591d5dc30e72ed2889a0941732cca4bf94a499d9887a885423596f473f5cab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0591d5dc30e72ed2889a0941732cca4bf94a499d9887a885423596f473f5cab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0591d5dc30e72ed2889a0941732cca4bf94a499d9887a885423596f473f5cab7", kill_on_drop: false }`
[INFO] [stdout] 0591d5dc30e72ed2889a0941732cca4bf94a499d9887a885423596f473f5cab7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d70c4c5ac0b0fe4655195b546a575a9a40c7b7d0a4b1802854acf97ec6bbbc9
[INFO] running `Command { std: "docker" "start" "-a" "3d70c4c5ac0b0fe4655195b546a575a9a40c7b7d0a4b1802854acf97ec6bbbc9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling serde v1.0.97
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling bincode v1.1.4
[INFO] [stderr]     Checking ucd-util v0.1.5
[INFO] [stderr]     Checking regex-syntax v0.6.10
[INFO] [stderr]     Checking aho-corasick v0.7.4
[INFO] [stderr]     Checking getrandom v0.1.7
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking utf8-ranges v1.0.3
[INFO] [stderr]     Checking predicates-core v1.0.0
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking yaml-rust v0.3.5
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]     Checking float-cmp v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking treeline v0.1.0
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking normalize-line-endings v0.2.2
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking predicates-tree v1.0.0
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking regex v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.97
[INFO] [stderr]     Checking predicates v1.0.1
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/kv.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufWriter`
[INFO] [stdout]  --> src/kv.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::BufWriter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KvError`
[INFO] [stdout]  --> src/kv.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{KvError, Result};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/kv.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: 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: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/kv.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: 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: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/kv.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: 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: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/kv.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: 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: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:33:32
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:28:41
[INFO] [stdout]    |
[INFO] [stdout] 28 |             KvError::Io(ref err) => err.description(),
[INFO] [stdout]    |                                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:29:48
[INFO] [stdout]    |
[INFO] [stdout] 29 |             KvError::Serialize(ref err) => err.description(),
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `File` in the current scope
[INFO] [stdout]   --> src/kv.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         self.handle.write_all(encoded)?;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/io/mod.rs:1857:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` 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 `write_all_at` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/os/unix/fs.rs:330:4
[INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn get(&self, key: String) -> Result<Option<String>> {
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/kv.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn remove(&mut self, key: String) -> Result<()> {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[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` (lib) due to 1 previous error; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3d70c4c5ac0b0fe4655195b546a575a9a40c7b7d0a4b1802854acf97ec6bbbc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d70c4c5ac0b0fe4655195b546a575a9a40c7b7d0a4b1802854acf97ec6bbbc9", kill_on_drop: false }`
[INFO] [stdout] 3d70c4c5ac0b0fe4655195b546a575a9a40c7b7d0a4b1802854acf97ec6bbbc9
