[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevashishkatoriya%2Frust_basics" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devashishkatoriya/rust_basics on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4160d0734f64ee98543a6df2fed0a0d1fcb4f17fed6a8edfca27e2d4343283c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4160d0734f64ee98543a6df2fed0a0d1fcb4f17fed6a8edfca27e2d4343283c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4160d0734f64ee98543a6df2fed0a0d1fcb4f17fed6a8edfca27e2d4343283c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4160d0734f64ee98543a6df2fed0a0d1fcb4f17fed6a8edfca27e2d4343283c8", kill_on_drop: false }` [INFO] [stdout] 4160d0734f64ee98543a6df2fed0a0d1fcb4f17fed6a8edfca27e2d4343283c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d82ee6d08dd3d4de2b04aef70c7696e54fb1c941dc2cd915b533e605c95499c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d82ee6d08dd3d4de2b04aef70c7696e54fb1c941dc2cd915b533e605c95499c", 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] error[E0381]: borrow of possibly-uninitialized variable: `temp` [INFO] [stdout] --> src/files.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | temp.push_str(&line?); [INFO] [stdout] | ^^^^ use of possibly-uninitialized `temp` [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: this function takes ownership of the receiver `self`, which moves `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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] [stderr] error: could not compile `import_files` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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]: borrow of possibly-uninitialized variable: `temp` [INFO] [stdout] --> src/files.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | temp.push_str(&line?); [INFO] [stdout] | ^^^^ use of possibly-uninitialized `temp` [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: this function takes ownership of the receiver `self`, which moves `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3d82ee6d08dd3d4de2b04aef70c7696e54fb1c941dc2cd915b533e605c95499c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d82ee6d08dd3d4de2b04aef70c7696e54fb1c941dc2cd915b533e605c95499c", kill_on_drop: false }` [INFO] [stdout] 3d82ee6d08dd3d4de2b04aef70c7696e54fb1c941dc2cd915b533e605c95499c