[INFO] cloning repository https://github.com/xianhu/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xianhu/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eaf4f04ded05f2b5de02f91969e9a1493becfc83 [INFO] testing xianhu/hello-rust against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xianhu/hello-rust on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xianhu/hello-rust [INFO] finished tweaking git repo https://github.com/xianhu/hello-rust [INFO] tweaked toml for git repo https://github.com/xianhu/hello-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/xianhu/hello-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfa74946ce7e81a32153b6c68ee93a187fdad45e08ca539efb52b4b217b0dc91 [INFO] running `Command { std: "docker" "start" "-a" "bfa74946ce7e81a32153b6c68ee93a187fdad45e08ca539efb52b4b217b0dc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfa74946ce7e81a32153b6c68ee93a187fdad45e08ca539efb52b4b217b0dc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa74946ce7e81a32153b6c68ee93a187fdad45e08ca539efb52b4b217b0dc91", kill_on_drop: false }` [INFO] [stdout] bfa74946ce7e81a32153b6c68ee93a187fdad45e08ca539efb52b4b217b0dc91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 181c94db42165586baebd1e0eaaa682e00a48dc66804c70497766678821a633f [INFO] running `Command { std: "docker" "start" "-a" "181c94db42165586baebd1e0eaaa682e00a48dc66804c70497766678821a633f", kill_on_drop: false }` [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | use std::f64::consts::PI; [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:578:5 [INFO] [stdout] | [INFO] [stdout] 577 | panic!("error occured"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 578 | println!("Hello, Rust"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `T` [INFO] [stdout] --> src/main.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | if array[i] > array[max_index] { [INFO] [stdout] | -------- ^ ---------------- T [INFO] [stdout] | | [INFO] [stdout] | T [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 635 | fn max1(array: &[T]) -> T { [INFO] [stdout] | ++++++++++++++++++++++ [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 E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rust` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "181c94db42165586baebd1e0eaaa682e00a48dc66804c70497766678821a633f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181c94db42165586baebd1e0eaaa682e00a48dc66804c70497766678821a633f", kill_on_drop: false }` [INFO] [stdout] 181c94db42165586baebd1e0eaaa682e00a48dc66804c70497766678821a633f