[INFO] cloning repository https://github.com/guymarshall/diabetic_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guymarshall/diabetic_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguymarshall%2Fdiabetic_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguymarshall%2Fdiabetic_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad93befb75c49fb87c66b6bf883c6335766cda84 [INFO] checking guymarshall/diabetic_app against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguymarshall%2Fdiabetic_app" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guymarshall/diabetic_app on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guymarshall/diabetic_app [INFO] finished tweaking git repo https://github.com/guymarshall/diabetic_app [INFO] tweaked toml for git repo https://github.com/guymarshall/diabetic_app written to /workspace/builds/worker-58/source/Cargo.toml [INFO] crate git repo https://github.com/guymarshall/diabetic_app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 697c0c80b8226ecce4b41b8ad7a2f680a7c96ccb965f5d3b30fee3ef81d9b09b [INFO] running `Command { std: "docker" "start" "-a" "697c0c80b8226ecce4b41b8ad7a2f680a7c96ccb965f5d3b30fee3ef81d9b09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "697c0c80b8226ecce4b41b8ad7a2f680a7c96ccb965f5d3b30fee3ef81d9b09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697c0c80b8226ecce4b41b8ad7a2f680a7c96ccb965f5d3b30fee3ef81d9b09b", kill_on_drop: false }` [INFO] [stdout] 697c0c80b8226ecce4b41b8ad7a2f680a7c96ccb965f5d3b30fee3ef81d9b09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fc5904bad6a962c316c521f6d63c87f5cf75e888b701c8633efd0c490140d08 [INFO] running `Command { std: "docker" "start" "-a" "5fc5904bad6a962c316c521f6d63c87f5cf75e888b701c8633efd0c490140d08", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking diabetic_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/update_software.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut update_is_available: bool = check_for_updates(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/update_software.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut update_is_available: bool = check_for_updates(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_to_day` [INFO] [stdout] --> src/dates.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn number_to_day(number: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_to_month` [INFO] [stdout] --> src/dates.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn number_to_month(number: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_average_glucose` [INFO] [stdout] --> src/glucose_action.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calculate_average_glucose(glucose_results: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_to_day` [INFO] [stdout] --> src/dates.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn number_to_day(number: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_max_glucose` [INFO] [stdout] --> src/glucose_action.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn display_max_glucose(glucose_results: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `warning` [INFO] [stdout] --> src/warning.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn warning(glucose_result: f64, ideal_low: f64, ideal_high: f64) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number_to_month` [INFO] [stdout] --> src/dates.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn number_to_month(number: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_average_glucose` [INFO] [stdout] --> src/glucose_action.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn calculate_average_glucose(glucose_results: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `display_max_glucose` [INFO] [stdout] --> src/glucose_action.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn display_max_glucose(glucose_results: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `warning` [INFO] [stdout] --> src/warning.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn warning(glucose_result: f64, ideal_low: f64, ideal_high: f64) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.92s [INFO] running `Command { std: "docker" "inspect" "5fc5904bad6a962c316c521f6d63c87f5cf75e888b701c8633efd0c490140d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc5904bad6a962c316c521f6d63c87f5cf75e888b701c8633efd0c490140d08", kill_on_drop: false }` [INFO] [stdout] 5fc5904bad6a962c316c521f6d63c87f5cf75e888b701c8633efd0c490140d08