[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/8d511ad5e465e07fdc6bec9d942f79acecad04f3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devashishkatoriya/rust_basics on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1edc4b3149200003d6e6430467896e742139d99b4e634cf699dc0b0dee59490c [INFO] running `Command { std: "docker" "start" "-a" "1edc4b3149200003d6e6430467896e742139d99b4e634cf699dc0b0dee59490c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1edc4b3149200003d6e6430467896e742139d99b4e634cf699dc0b0dee59490c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1edc4b3149200003d6e6430467896e742139d99b4e634cf699dc0b0dee59490c", kill_on_drop: false }` [INFO] [stdout] 1edc4b3149200003d6e6430467896e742139d99b4e634cf699dc0b0dee59490c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a745b1d90a8008c5929032da2dded2964e04cd3d55ecd99dccde3b85c85e162 [INFO] running `Command { std: "docker" "start" "-a" "2a745b1d90a8008c5929032da2dded2964e04cd3d55ecd99dccde3b85c85e162", kill_on_drop: false }` [INFO] [stderr] Checking import_files v0.1.0 (/opt/rustwide/workdir) [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`, 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/ff1737bb00913444173658b4e0b274fd79aabf66/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`, 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/ff1737bb00913444173658b4e0b274fd79aabf66/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 [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 [INFO] running `Command { std: "docker" "inspect" "2a745b1d90a8008c5929032da2dded2964e04cd3d55ecd99dccde3b85c85e162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a745b1d90a8008c5929032da2dded2964e04cd3d55ecd99dccde3b85c85e162", kill_on_drop: false }` [INFO] [stdout] 2a745b1d90a8008c5929032da2dded2964e04cd3d55ecd99dccde3b85c85e162