[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#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devashishkatoriya/rust_basics on toolchain 4e55a504843955c97eb06907c71f6f3e99208021
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f3ed156b0d83985d4a6899e300dc85806d9a0607249a4c232fd8db664dd671f
[INFO] running `Command { std: "docker" "start" "-a" "2f3ed156b0d83985d4a6899e300dc85806d9a0607249a4c232fd8db664dd671f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f3ed156b0d83985d4a6899e300dc85806d9a0607249a4c232fd8db664dd671f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f3ed156b0d83985d4a6899e300dc85806d9a0607249a4c232fd8db664dd671f", kill_on_drop: false }`
[INFO] [stdout] 2f3ed156b0d83985d4a6899e300dc85806d9a0607249a4c232fd8db664dd671f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac87a995abd92ed5fce055e1dbf8788a5ae9f7d2468dfeb7afb4f990dd6e2e27
[INFO] running `Command { std: "docker" "start" "-a" "ac87a995abd92ed5fce055e1dbf8788a5ae9f7d2468dfeb7afb4f990dd6e2e27", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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[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/4e55a504843955c97eb06907c71f6f3e99208021/library/core/src/ops/try_trait.rs:218: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[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/4e55a504843955c97eb06907c71f6f3e99208021/library/core/src/ops/try_trait.rs:218: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" test) 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") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ac87a995abd92ed5fce055e1dbf8788a5ae9f7d2468dfeb7afb4f990dd6e2e27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac87a995abd92ed5fce055e1dbf8788a5ae9f7d2468dfeb7afb4f990dd6e2e27", kill_on_drop: false }`
[INFO] [stdout] ac87a995abd92ed5fce055e1dbf8788a5ae9f7d2468dfeb7afb4f990dd6e2e27
