[INFO] cloning repository https://github.com/devashishkatoriya/rust_basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devashishkatoriya/rust_basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d511ad5e465e07fdc6bec9d942f79acecad04f3
[INFO] checking devashishkatoriya/rust_basics against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/devashishkatoriya/rust_basics
[INFO] finished tweaking git repo https://github.com/devashishkatoriya/rust_basics
[INFO] tweaked toml for git repo https://github.com/devashishkatoriya/rust_basics written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devashishkatoriya/rust_basics on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devashishkatoriya/rust_basics 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5110b567b63f97fe9abb0daaac921c260aefa3ab34215078333f9086c5e52a5e
[INFO] running `Command { std: "docker" "start" "-a" "5110b567b63f97fe9abb0daaac921c260aefa3ab34215078333f9086c5e52a5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5110b567b63f97fe9abb0daaac921c260aefa3ab34215078333f9086c5e52a5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5110b567b63f97fe9abb0daaac921c260aefa3ab34215078333f9086c5e52a5e", kill_on_drop: false }`
[INFO] [stdout] 5110b567b63f97fe9abb0daaac921c260aefa3ab34215078333f9086c5e52a5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b140603a7e4a44bbaecde2967a2188cc4d75c3079be00758e51795a13edc193b
[INFO] running `Command { std: "docker" "start" "-a" "b140603a7e4a44bbaecde2967a2188cc4d75c3079be00758e51795a13edc193b", kill_on_drop: false }`
[INFO] [stderr]     Checking import_files v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/files.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut data = read_file(path);
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/files.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut data = read_file(path);
[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] error[E0381]: used binding `temp` isn't initialized
[INFO] [stdout]   --> src/files.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut temp: String;
[INFO] [stdout]    |         -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 36 |         temp.push_str(&line?);
[INFO] [stdout]    |         ^^^^ `temp` used here but it isn't initialized
[INFO] [stdout]    |
[INFO] [stdout] help: consider assigning a value
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut temp: String = Default::default();
[INFO] [stdout]    |                          ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `temp` isn't initialized
[INFO] [stdout]   --> src/files.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut temp: String;
[INFO] [stdout]    |         -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 36 |         temp.push_str(&line?);
[INFO] [stdout]    |         ^^^^ `temp` used here but it isn't initialized
[INFO] [stdout]    |
[INFO] [stdout] help: consider assigning a value
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut temp: String = Default::default();
[INFO] [stdout]    |                          ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `line`
[INFO] [stdout]   --> src/files.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     for line in buffered.lines() {
[INFO] [stdout]    |         ---- move occurs because `line` has type `Result<String, std::io::Error>`, which does not implement the `Copy` trait
[INFO] [stdout] 35 |         println!("{}", line?);
[INFO] [stdout]    |                        ----- `line` moved due to this method call
[INFO] [stdout] 36 |         temp.push_str(&line?);
[INFO] [stdout]    |                        ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `branch` takes ownership of the receiver `self`, which moves `line`
[INFO] [stdout]   --> /rustc/5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db/library/core/src/ops/try_trait.rs:217:15
[INFO] [stdout] help: you could `clone` the value and consume it, if the `std::io::Error: Clone` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 35 |         println!("{}", line.clone()?);
[INFO] [stdout]    |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `line`
[INFO] [stdout]   --> src/files.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |     for line in buffered.lines() {
[INFO] [stdout]    |         ---- move occurs because `line` has type `Result<String, std::io::Error>`, which does not implement the `Copy` trait
[INFO] [stdout] 35 |         println!("{}", line?);
[INFO] [stdout]    |                        ----- `line` moved due to this method call
[INFO] [stdout] 36 |         temp.push_str(&line?);
[INFO] [stdout]    |                        ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `branch` takes ownership of the receiver `self`, which moves `line`
[INFO] [stdout]   --> /rustc/5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db/library/core/src/ops/try_trait.rs:217:15
[INFO] [stdout] help: you could `clone` the value and consume it, if the `std::io::Error: Clone` trait bound could be satisfied
[INFO] [stdout]    |
[INFO] [stdout] 35 |         println!("{}", line.clone()?);
[INFO] [stdout]    |                            ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `import_files` (bin "import_files") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `import_files` (bin "import_files" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b140603a7e4a44bbaecde2967a2188cc4d75c3079be00758e51795a13edc193b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b140603a7e4a44bbaecde2967a2188cc4d75c3079be00758e51795a13edc193b", kill_on_drop: false }`
[INFO] [stdout] b140603a7e4a44bbaecde2967a2188cc4d75c3079be00758e51795a13edc193b
