[INFO] cloning repository https://github.com/rajasingh545/rust-programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajasingh545/rust-programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasingh545%2Frust-programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasingh545%2Frust-programming'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 926d49675dac5a7e4697ae039980d3850ebfdbd8 [INFO] checking rajasingh545/rust-programming against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasingh545%2Frust-programming" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rajasingh545/rust-programming on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rajasingh545/rust-programming [INFO] finished tweaking git repo https://github.com/rajasingh545/rust-programming [INFO] tweaked toml for git repo https://github.com/rajasingh545/rust-programming written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rajasingh545/rust-programming 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417244c5ccea6fa6972546389e9008f57ec98adea4425d4fa2b81cf9a0042a0c [INFO] running `Command { std: "docker" "start" "-a" "417244c5ccea6fa6972546389e9008f57ec98adea4425d4fa2b81cf9a0042a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417244c5ccea6fa6972546389e9008f57ec98adea4425d4fa2b81cf9a0042a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417244c5ccea6fa6972546389e9008f57ec98adea4425d4fa2b81cf9a0042a0c", kill_on_drop: false }` [INFO] [stdout] 417244c5ccea6fa6972546389e9008f57ec98adea4425d4fa2b81cf9a0042a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6cd6b36d01e8f7ca2d6502ba0c677607a0ca00fed870859615ca1082fe15e66 [INFO] running `Command { std: "docker" "start" "-a" "a6cd6b36d01e8f7ca2d6502ba0c677607a0ca00fed870859615ca1082fe15e66", kill_on_drop: false }` [INFO] [stderr] Checking fitness v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `cardio` and `weightlifting` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GymWorkout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | cardio: CardioExercise, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | weightlifting: WeightliftingExercise, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stdout] --> src/cardio/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | day: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | tool: CardioTool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | minutes: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `reps` are never read [INFO] [stdout] --> src/weightlifting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | reps: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cardio` and `weightlifting` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GymWorkout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | cardio: CardioExercise, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | weightlifting: WeightliftingExercise, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stdout] --> src/cardio/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | day: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | tool: CardioTool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | minutes: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `reps` are never read [INFO] [stdout] --> src/weightlifting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | reps: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "a6cd6b36d01e8f7ca2d6502ba0c677607a0ca00fed870859615ca1082fe15e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6cd6b36d01e8f7ca2d6502ba0c677607a0ca00fed870859615ca1082fe15e66", kill_on_drop: false }` [INFO] [stdout] a6cd6b36d01e8f7ca2d6502ba0c677607a0ca00fed870859615ca1082fe15e66