[INFO] cloning repository https://github.com/manokara/bencedit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manokara/bencedit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanokara%2Fbencedit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanokara%2Fbencedit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d86fdab0068a011d889d476d9f97febdc17989af
[INFO] checking manokara/bencedit against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanokara%2Fbencedit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/manokara/bencedit
[INFO] finished tweaking git repo https://github.com/manokara/bencedit
[INFO] tweaked toml for git repo https://github.com/manokara/bencedit written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manokara/bencedit on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/manokara/bencedit 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/manokara/bencode-rs`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.66
[INFO] [stderr]   Downloaded dirs-sys-next v0.1.1
[INFO] [stderr]   Downloaded redox_users v0.3.5
[INFO] [stderr]   Downloaded nanoserde v0.1.20
[INFO] [stderr]   Downloaded redox_syscall v0.1.57
[INFO] [stderr]   Downloaded nanoserde-derive v0.1.12
[INFO] [stderr]   Downloaded rustyline v7.1.0
[INFO] [stderr]   Downloaded nix v0.19.1
[INFO] [stderr]   Downloaded libc v0.2.80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c
[INFO] running `Command { std: "docker" "start" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling nanoserde-derive v0.1.12
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking nanoserde v0.1.20
[INFO] [stderr]     Checking bencode v0.9.1 (https://github.com/manokara/bencode-rs?rev=ca14fb5#ca14fb55)
[INFO] [stderr]     Checking dirs-sys-next v0.1.1
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking nix v0.19.1
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking rustyline v7.1.0
[INFO] [stderr]     Checking bencedit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]   --> src/batch.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn batch<P>(files: Vec<P>) -> Result<(), Error> where P: AsRef<Path> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_files`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]   --> src/batch.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn batch<P>(files: Vec<P>) -> Result<(), Error> where P: AsRef<Path> {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_files`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Io` is never constructed
[INFO] [stdout]  --> src/batch.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Error {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 8 |     Io(IoError),
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ArgCountMin` is never constructed
[INFO] [stdout]   --> src/interactive.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum CmdError {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |     ArgCountMin(usize),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Io` is never constructed
[INFO] [stdout]  --> src/batch.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Error {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 8 |     Io(IoError),
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ArgCountMin` is never constructed
[INFO] [stdout]   --> src/interactive.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum CmdError {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |     ArgCountMin(usize),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/interactive.rs:198:49
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 let mut file = File::create(path.clone())?;
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 let mut file = File::create(path.clone())?;
[INFO] [stdout] 198 +                 let mut file = File::create(path)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/interactive.rs:198:49
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 let mut file = File::create(path.clone())?;
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 let mut file = File::create(path.clone())?;
[INFO] [stdout] 198 +                 let mut file = File::create(path)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.68s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nanoserde-derive v0.1.12
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c", kill_on_drop: false }`
[INFO] [stdout] 1924af20a9b9bf369e19d9a86c0f6487197798c1d1daec67267e4c0c06873c8c
