[INFO] cloning repository https://github.com/scobham/loops [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scobham/loops" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Floops", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Floops'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bdae251817efc6d7876e906fadbaf5b17df1497 [INFO] checking scobham/loops against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscobham%2Floops" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scobham/loops on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scobham/loops [INFO] finished tweaking git repo https://github.com/scobham/loops [INFO] tweaked toml for git repo https://github.com/scobham/loops written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/scobham/loops already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72379340f4c69424b35913af49cc97ef73f4e161950c96f764d9dcfcf73ba83c [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" "72379340f4c69424b35913af49cc97ef73f4e161950c96f764d9dcfcf73ba83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72379340f4c69424b35913af49cc97ef73f4e161950c96f764d9dcfcf73ba83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72379340f4c69424b35913af49cc97ef73f4e161950c96f764d9dcfcf73ba83c", kill_on_drop: false }` [INFO] [stdout] 72379340f4c69424b35913af49cc97ef73f4e161950c96f764d9dcfcf73ba83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a6e45c7e7526ad73f007ea7730cb6b2fef84e09c5105352dd71f74c7261aed [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" "26a6e45c7e7526ad73f007ea7730cb6b2fef84e09c5105352dd71f74c7261aed", kill_on_drop: false }` [INFO] [stderr] Checking loops v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env::temp_dir` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::temp_dir, io::stdin}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | stdin() [INFO] [stdout] 55 | | .read_line(&mut temperature) [INFO] [stdout] 56 | | .expect("Failed to get Temperature"); [INFO] [stdout] ... | [INFO] [stdout] 63 | | println!("Please enter a proper value."); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 65 | [INFO] [stdout] 66 | let temperature = temperature.trim().parse().expect("Oops"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let temperature = temperature.trim().parse().expect("Oops"); [INFO] [stdout] | ^^^^^^^^^^^ consider giving `temperature` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loops` [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: unused import: `env::temp_dir` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::temp_dir, io::stdin}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | stdin() [INFO] [stdout] 55 | | .read_line(&mut temperature) [INFO] [stdout] 56 | | .expect("Failed to get Temperature"); [INFO] [stdout] ... | [INFO] [stdout] 63 | | println!("Please enter a proper value."); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 65 | [INFO] [stdout] 66 | let temperature = temperature.trim().parse().expect("Oops"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let temperature = temperature.trim().parse().expect("Oops"); [INFO] [stdout] | ^^^^^^^^^^^ consider giving `temperature` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26a6e45c7e7526ad73f007ea7730cb6b2fef84e09c5105352dd71f74c7261aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a6e45c7e7526ad73f007ea7730cb6b2fef84e09c5105352dd71f74c7261aed", kill_on_drop: false }` [INFO] [stdout] 26a6e45c7e7526ad73f007ea7730cb6b2fef84e09c5105352dd71f74c7261aed