[INFO] cloning repository https://github.com/Supermath101/trig-calc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Supermath101/trig-calc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupermath101%2Ftrig-calc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupermath101%2Ftrig-calc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0795d88a81b840b6c0fab02babecd88b9f4ee17 [INFO] checking Supermath101/trig-calc against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSupermath101%2Ftrig-calc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Supermath101/trig-calc [INFO] finished tweaking git repo https://github.com/Supermath101/trig-calc [INFO] tweaked toml for git repo https://github.com/Supermath101/trig-calc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Supermath101/trig-calc on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Supermath101/trig-calc 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f710f75683cde845ae3f88c048e695bc5c21697e57a3b03254cedc34481d4f [INFO] running `Command { std: "docker" "start" "-a" "43f710f75683cde845ae3f88c048e695bc5c21697e57a3b03254cedc34481d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f710f75683cde845ae3f88c048e695bc5c21697e57a3b03254cedc34481d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f710f75683cde845ae3f88c048e695bc5c21697e57a3b03254cedc34481d4f", kill_on_drop: false }` [INFO] [stdout] 43f710f75683cde845ae3f88c048e695bc5c21697e57a3b03254cedc34481d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82f39a96649823478fde84c884e16d9ef11f410f811ef35808b06e2f39a51400 [INFO] running `Command { std: "docker" "start" "-a" "82f39a96649823478fde84c884e16d9ef11f410f811ef35808b06e2f39a51400", kill_on_drop: false }` [INFO] [stderr] Checking trig-calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `missing_leg` [INFO] [stdout] --> src/triangle.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let missing_leg = f64::sqrt(hypotenuse.powi(2) - f64::min(side_a, side_b).powi(2)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_leg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing_leg` [INFO] [stdout] --> src/triangle.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let missing_leg = f64::sqrt(hypotenuse.powi(2) - f64::min(side_a, side_b).powi(2)); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_leg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leg1`, `leg2`, and `hypotenuse` are never read [INFO] [stdout] --> src/triangle.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | pub leg1: f64, // always smallest side [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub leg2: f64, // medium sized side [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hypotenuse: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `leg1`, `leg2`, and `hypotenuse` are never read [INFO] [stdout] --> src/triangle.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 4 | pub leg1: f64, // always smallest side [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub leg2: f64, // medium sized side [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub hypotenuse: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "82f39a96649823478fde84c884e16d9ef11f410f811ef35808b06e2f39a51400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f39a96649823478fde84c884e16d9ef11f410f811ef35808b06e2f39a51400", kill_on_drop: false }` [INFO] [stdout] 82f39a96649823478fde84c884e16d9ef11f410f811ef35808b06e2f39a51400