[INFO] cloning repository https://github.com/Alphaxide/kv_store
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alphaxide/kv_store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fkv_store", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fkv_store'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74c67ab890a0c306eeac50247739be4876745e67
[INFO] checking Alphaxide/kv_store against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fkv_store" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Alphaxide/kv_store
[INFO] finished tweaking git repo https://github.com/Alphaxide/kv_store
[INFO] tweaked toml for git repo https://github.com/Alphaxide/kv_store written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alphaxide/kv_store on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alphaxide/kv_store 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55df53bcd8ea291b29ff67c3dc595a7857a695d0ce7d404c33dbb5e4ca5d7b04
[INFO] running `Command { std: "docker" "start" "-a" "55df53bcd8ea291b29ff67c3dc595a7857a695d0ce7d404c33dbb5e4ca5d7b04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55df53bcd8ea291b29ff67c3dc595a7857a695d0ce7d404c33dbb5e4ca5d7b04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55df53bcd8ea291b29ff67c3dc595a7857a695d0ce7d404c33dbb5e4ca5d7b04", kill_on_drop: false }`
[INFO] [stdout] 55df53bcd8ea291b29ff67c3dc595a7857a695d0ce7d404c33dbb5e4ca5d7b04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1e20b7582457bc075f3aa13e8a76f3fec7fa684a11f970acfd86c3c390d7f68
[INFO] running `Command { std: "docker" "start" "-a" "a1e20b7582457bc075f3aa13e8a76f3fec7fa684a11f970acfd86c3c390d7f68", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]     Checking kv_store v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `Key` in this scope
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.store.get(Key)
[INFO] [stdout]    |                        ^^^ help: a local variable with a similar name exists (notice the capitalization): `key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{self, File};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Ok((()))
[INFO] [stdout]    |        ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     Ok((()))
[INFO] [stdout] 59 +     Ok(() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Key` in this scope
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.store.get(Key)
[INFO] [stdout]    |                        ^^^ help: a local variable with a similar name exists (notice the capitalization): `key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{self, File};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Ok((()))
[INFO] [stdout]    |        ^  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     Ok((()))
[INFO] [stdout] 59 +     Ok(() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn get(&self, key: &str) -> Option<String> {
[INFO] [stdout]    |                                 -------------- expected `std::option::Option<std::string::String>` because of return type
[INFO] [stdout] 23 |         self.store.get(Key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<&String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<std::string::String>`
[INFO] [stdout]               found enum `std::option::Option<&std::string::String>`
[INFO] [stdout] help: use `std::option::Option::cloned` to clone the value inside the `std::option::Option`
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.store.get(Key).cloned()
[INFO] [stdout]    |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn get(&self, key: &str) -> Option<String> {
[INFO] [stdout]    |                                 -------------- expected `std::option::Option<std::string::String>` because of return type
[INFO] [stdout] 23 |         self.store.get(Key)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<&String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<std::string::String>`
[INFO] [stdout]               found enum `std::option::Option<&std::string::String>`
[INFO] [stdout] help: use `std::option::Option::cloned` to clone the value inside the `std::option::Option`
[INFO] [stdout]    |
[INFO] [stdout] 23 |         self.store.get(Key).cloned()
[INFO] [stdout]    |                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv_store` (bin "kv_store") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kv_store` (bin "kv_store" test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a1e20b7582457bc075f3aa13e8a76f3fec7fa684a11f970acfd86c3c390d7f68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1e20b7582457bc075f3aa13e8a76f3fec7fa684a11f970acfd86c3c390d7f68", kill_on_drop: false }`
[INFO] [stdout] a1e20b7582457bc075f3aa13e8a76f3fec7fa684a11f970acfd86c3c390d7f68
