[INFO] cloning repository https://github.com/DukeTresnor/exercism_practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DukeTresnor/exercism_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDukeTresnor%2Fexercism_practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDukeTresnor%2Fexercism_practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2dbe9fc0d499cd201a7427713a7ad805ac3674ee
[INFO] checking DukeTresnor/exercism_practice against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDukeTresnor%2Fexercism_practice" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DukeTresnor/exercism_practice
[INFO] finished tweaking git repo https://github.com/DukeTresnor/exercism_practice
[INFO] tweaked toml for git repo https://github.com/DukeTresnor/exercism_practice written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DukeTresnor/exercism_practice on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DukeTresnor/exercism_practice 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be82990eda600fc00d566ee7c6c30667a38856d1d001637636e2be8eca034065
[INFO] running `Command { std: "docker" "start" "-a" "be82990eda600fc00d566ee7c6c30667a38856d1d001637636e2be8eca034065", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be82990eda600fc00d566ee7c6c30667a38856d1d001637636e2be8eca034065", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be82990eda600fc00d566ee7c6c30667a38856d1d001637636e2be8eca034065", kill_on_drop: false }`
[INFO] [stdout] be82990eda600fc00d566ee7c6c30667a38856d1d001637636e2be8eca034065
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] adc7d6a6a278c129a09e975326f17a6bfb304e0c64e559ae845295273076e372
[INFO] running `Command { std: "docker" "start" "-a" "adc7d6a6a278c129a09e975326f17a6bfb304e0c64e559ae845295273076e372", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking time-core v0.1.1
[INFO] [stderr]     Checking unicode-segmentation v1.10.1
[INFO] [stderr]     Checking time v0.3.23
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking exercism_practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell` and `num::*`
[INFO] [stdout]  --> src/math_functions/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{num::*, cell};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_type_of`
[INFO] [stdout]  --> src/math_functions/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::print_type_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string_functions::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use string_functions::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `datetime_functions::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use datetime_functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `general_functions::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use general_functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/math_functions/mod.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |     for (i, mut digit) in (*vectored_code).iter().rev().enumerate() {
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_type_of` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn print_type_of<T>(_: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]  --> src/string_functions/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn reverse(input: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vector_from_string_slice` is never used
[INFO] [stdout]   --> src/string_functions/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn vector_from_string_slice(string: &str) -> Vec<char> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `anagrams_for` is never used
[INFO] [stdout]   --> src/string_functions/mod.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn anagrams_for<'a>(word: &str, possible_anagrams: &[&'a str]) -> HashSet<&'a str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `after` is never used
[INFO] [stdout]  --> src/datetime_functions/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn after(start: DateTime) -> DateTime {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_armstrong_number` is never used
[INFO] [stdout]  --> src/math_functions/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn is_armstrong_number(num: u32) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_numbers` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn add_numbers(a: Option<u32>, b: Option<u32>) -> Option<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_of_sum` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn square_of_sum(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_squares` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn sum_of_squares(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `difference` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn difference(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn square(s: u32) -> u64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn total() -> u64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_chess_square` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn is_chess_square(square: &u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn is_valid(code: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mercury` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | pub struct Mercury;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Venus` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct Venus;
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Earth` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct Earth;
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Jupiter` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:270:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | pub struct Jupiter;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Saturn` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub struct Saturn;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranus` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:272:12
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct Uranus;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Neptune` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:273:12
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub struct Neptune;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clock` is never constructed
[INFO] [stdout]  --> src/general_functions/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Clock {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_minutes` are never used
[INFO] [stdout]   --> src/general_functions/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Clock {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new(hours: i32, minutes: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn add_minutes(&self, minutes: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]   --> src/math_functions/mod.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 |     if potential_armstrong_number == num.try_into().unwrap() {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercism_practice` (bin "exercism_practice") due to 1 previous error; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `cell` and `num::*`
[INFO] [stdout]  --> src/math_functions/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{num::*, cell};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_type_of`
[INFO] [stdout]  --> src/math_functions/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::print_type_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string_functions::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use string_functions::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `datetime_functions::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use datetime_functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `general_functions::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use general_functions::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/math_functions/mod.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |     for (i, mut digit) in (*vectored_code).iter().rev().enumerate() {
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_type_of` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn print_type_of<T>(_: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]  --> src/string_functions/mod.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn reverse(input: &str) -> String {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vector_from_string_slice` is never used
[INFO] [stdout]   --> src/string_functions/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn vector_from_string_slice(string: &str) -> Vec<char> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `anagrams_for` is never used
[INFO] [stdout]   --> src/string_functions/mod.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn anagrams_for<'a>(word: &str, possible_anagrams: &[&'a str]) -> HashSet<&'a str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `after` is never used
[INFO] [stdout]  --> src/datetime_functions/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn after(start: DateTime) -> DateTime {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_armstrong_number` is never used
[INFO] [stdout]  --> src/math_functions/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn is_armstrong_number(num: u32) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_numbers` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn add_numbers(a: Option<u32>, b: Option<u32>) -> Option<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_of_sum` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn square_of_sum(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_squares` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn sum_of_squares(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `difference` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn difference(n: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]   --> src/math_functions/mod.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn square(s: u32) -> u64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn total() -> u64 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_chess_square` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn is_chess_square(square: &u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid` is never used
[INFO] [stdout]    --> src/math_functions/mod.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn is_valid(code: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mercury` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | pub struct Mercury;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Venus` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct Venus;
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Earth` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct Earth;
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Jupiter` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:270:12
[INFO] [stdout]     |
[INFO] [stdout] 270 | pub struct Jupiter;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Saturn` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub struct Saturn;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranus` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:272:12
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct Uranus;
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Neptune` is never constructed
[INFO] [stdout]    --> src/math_functions/mod.rs:273:12
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub struct Neptune;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clock` is never constructed
[INFO] [stdout]  --> src/general_functions/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Clock {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_minutes` are never used
[INFO] [stdout]   --> src/general_functions/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Clock {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new(hours: i32, minutes: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn add_minutes(&self, minutes: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]   --> src/math_functions/mod.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 |     if potential_armstrong_number == num.try_into().unwrap() {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercism_practice` (bin "exercism_practice" test) due to 1 previous error; 30 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "adc7d6a6a278c129a09e975326f17a6bfb304e0c64e559ae845295273076e372", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adc7d6a6a278c129a09e975326f17a6bfb304e0c64e559ae845295273076e372", kill_on_drop: false }`
[INFO] [stdout] adc7d6a6a278c129a09e975326f17a6bfb304e0c64e559ae845295273076e372
