[INFO] cloning repository https://github.com/SCoyle100/Rust_Human-Body-Simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SCoyle100/Rust_Human-Body-Simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCoyle100%2FRust_Human-Body-Simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCoyle100%2FRust_Human-Body-Simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0361389159a5245adafb6cb55fdf91b106403401 [INFO] checking SCoyle100/Rust_Human-Body-Simulation against c0dfa9ae292642b7683cf7162ffb6880170df098 for pr-160902 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCoyle100%2FRust_Human-Body-Simulation" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SCoyle100/Rust_Human-Body-Simulation [INFO] finished tweaking git repo https://github.com/SCoyle100/Rust_Human-Body-Simulation [INFO] tweaked toml for git repo https://github.com/SCoyle100/Rust_Human-Body-Simulation written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SCoyle100/Rust_Human-Body-Simulation on toolchain c0dfa9ae292642b7683cf7162ffb6880170df098 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SCoyle100/Rust_Human-Body-Simulation 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" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "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-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c [INFO] running `Command { std: "docker" "start" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c" "/opt/rustwide/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c" "/opt/rustwide/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking human_body_simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/human.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn apply_input(&mut self, input: ExternalInput) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exposure` [INFO] [stdout] --> src/indicators.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | ExternalInput::Sunlight(exposure) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exposure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sleep` is never constructed [INFO] [stdout] --> src/human.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MainState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Awake, [INFO] [stdout] 16 | Sleep, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainState` 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 `heart_rate`, `blood_pressure`, and `blood_sugar` are never read [INFO] [stdout] --> src/indicators.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HealthIndicators { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 8 | pub heart_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub blood_pressure: (u8, u8), // Systolic and Diastolic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub blood_sugar: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthIndicators` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `calculate_overall_health` are never used [INFO] [stdout] --> src/indicators.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HealthIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update(&mut self, input: &ExternalInput) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn calculate_overall_health(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/inputs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Sunlight(u8), // Hours of sunlight [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Sunlight(u8), // Hours of sunlight [INFO] [stdout] 8 + Sunlight(()), // Hours of sunlight [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/inputs.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Food(FoodType), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Food(FoodType), [INFO] [stdout] 9 + Food(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_food` and `new_sunlight` are never used [INFO] [stdout] --> src/inputs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ExternalInput { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 13 | // Example of a utility function to create a new Food input [INFO] [stdout] 14 | pub fn new_food(food_type: FoodType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_sunlight(hours: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/human.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn apply_input(&mut self, input: ExternalInput) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exposure` [INFO] [stdout] --> src/indicators.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | ExternalInput::Sunlight(exposure) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exposure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sleep` is never constructed [INFO] [stdout] --> src/human.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MainState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Awake, [INFO] [stdout] 16 | Sleep, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainState` 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 `heart_rate`, `blood_pressure`, and `blood_sugar` are never read [INFO] [stdout] --> src/indicators.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HealthIndicators { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 8 | pub heart_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub blood_pressure: (u8, u8), // Systolic and Diastolic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub blood_sugar: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthIndicators` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `calculate_overall_health` are never used [INFO] [stdout] --> src/indicators.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HealthIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update(&mut self, input: &ExternalInput) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn calculate_overall_health(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/inputs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Sunlight(u8), // Hours of sunlight [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Sunlight(u8), // Hours of sunlight [INFO] [stdout] 8 + Sunlight(()), // Hours of sunlight [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/inputs.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Food(FoodType), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Food(FoodType), [INFO] [stdout] 9 + Food(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_food` and `new_sunlight` are never used [INFO] [stdout] --> src/inputs.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ExternalInput { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 13 | // Example of a utility function to create a new Food input [INFO] [stdout] 14 | pub fn new_food(food_type: FoodType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_sunlight(hours: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.53s [INFO] running `Command { std: "docker" "inspect" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c", kill_on_drop: false }` [INFO] [stdout] 01eb1e798286d7143ac2eb86af14165a53a0c98690bc6fd1e02d59d5df6f8b0c