[INFO] cloning repository https://github.com/saikrir/rust-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saikrir/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikrir%2Frust-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikrir%2Frust-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e0c091bcafa0621342dad97f58d0b945001de371
[INFO] checking saikrir/rust-practice against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaikrir%2Frust-practice" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saikrir/rust-practice
[INFO] finished tweaking git repo https://github.com/saikrir/rust-practice
[INFO] tweaked toml for git repo https://github.com/saikrir/rust-practice written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saikrir/rust-practice on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saikrir/rust-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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.95
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.95
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.95
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.95
[INFO] [stderr]   Downloaded proc-macro2 v1.0.89
[INFO] [stderr]   Downloaded js-sys v0.3.72
[INFO] [stderr]   Downloaded rustix v1.0.3
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c
[INFO] running `Command { std: "docker" "start" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c", 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" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c", 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" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]     Checking linux-raw-sys v0.9.3
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking rust-practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `string::ParseError`
[INFO] [stdout]  --> src/isbn.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{str::FromStr, string::ParseError};
[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: `Path`
[INFO] [stdout]  --> src/filemetadata.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     path::{self, Path},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string::ParseError`
[INFO] [stdout]  --> src/rgb.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, str::FromStr, string::ParseError};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/deadline.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Date, Local, TimeZone};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/deadline.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     when: Date<Local>,
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/deadline.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |         self.when < Local::today()
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]   --> src/deadline.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |         when: Local.ymd(2020, 12, 25),
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `previousChar` is never read
[INFO] [stdout]   --> src/rll.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     previousChar = Some(ch);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 19 |             previousChar = Some(ch);
[INFO] [stdout]    |             ----------------------- `previousChar` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `median` is never used
[INFO] [stdout]  --> src/median.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn median(list: &mut Vec<f64>) -> Option<f64> {
[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 `unique` is never used
[INFO] [stdout]  --> src/unique.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn unique<T>(list: &Vec<T>)-> Vec<T> where T:Ord, T:Copy, T:Hash{
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]  --> src/text.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn info<T: Display>(text: T) -> () {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_usernames` is never used
[INFO] [stdout]  --> src/sort.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn sort_usernames<'a>(users: &'a Vec<&'a str>) -> Vec<&'a str> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Message` is never used
[INFO] [stdout]  --> src/morse.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | type Message = Vec<Letter>;
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Letter` is never used
[INFO] [stdout]  --> src/morse.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | type Letter = Vec<Pulse>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Pulse` is never used
[INFO] [stdout]  --> src/morse.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum Pulse {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MorseCode` is never used
[INFO] [stdout]  --> src/morse.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | trait MorseCode {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Card` is never used
[INFO] [stdout]  --> src/cards.rs:2:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Card {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hand` is never constructed
[INFO] [stdout]   --> src/cards.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Hand {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `value`, and `is_loosing_hand` are never used
[INFO] [stdout]   --> src/cards.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Hand {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 22 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn add(&mut self, card: Card) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn value(&self) -> usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn is_loosing_hand(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/cards.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImportantEvent` is never constructed
[INFO] [stdout]  --> src/deadline.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct ImportantEvent {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Deadline` is never used
[INFO] [stdout]  --> src/deadline.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | trait Deadline {
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/deadline.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Scale` is never used
[INFO] [stdout]  --> src/temperature.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Scale {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Temperature` is never constructed
[INFO] [stdout]  --> src/temperature.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Temperature {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `to_celcius`, and `to_fahrenheit` are never used
[INFO] [stdout]   --> src/temperature.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Temperature {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(degrees: f32, scale: Scale) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn to_celcius(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn to_fahrenheit(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_with_missing` is never used
[INFO] [stdout]  --> src/miss_values.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sum_with_missing(input: &Vec<Option<i32>>) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `weeks_between` is never used
[INFO] [stdout]  --> src/dates.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn weeks_between(a: &str, b: &str) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Isbn` is never constructed
[INFO] [stdout]  --> src/isbn.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Isbn {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_check_digit` is never used
[INFO] [stdout]   --> src/isbn.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn calculate_check_digit(digits: &[u8]) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/isbn.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FileMetadata` is never used
[INFO] [stdout]  --> src/filemetadata.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait FileMetadata {
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode` is never used
[INFO] [stdout]  --> src/rll.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub fn encode(text: &str) -> String {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]   --> src/rll.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn decode(text: &str) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rgb` is never constructed
[INFO] [stdout]  --> src/rgb.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Rgb {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RgbChannels` is never used
[INFO] [stdout]   --> src/rgb.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | trait RgbChannels {
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flexible_date_parse` is never used
[INFO] [stdout]  --> src/incosistent_dates.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn flexible_date_parse(text: &str) -> Option<NaiveDate> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/incosistent_dates.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `aSet` should have a snake case name
[INFO] [stdout]  --> src/unique.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut aSet: HashSet<T> = HashSet::new();
[INFO] [stdout]   |             ^^^^ help: convert the identifier to snake case: `a_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `previousChar` should have a snake case name
[INFO] [stdout]  --> src/rll.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut previousChar: Option<char> = None;
[INFO] [stdout]   |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `previous_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `charCnt` should have a snake case name
[INFO] [stdout]  --> src/rll.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut charCnt = 0;
[INFO] [stdout]   |                 ^^^^^^^ help: convert the identifier to snake case: `char_cnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stdout] warning: unused import: `string::ParseError`
[INFO] [stdout]  --> src/isbn.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{str::FromStr, string::ParseError};
[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: `Path`
[INFO] [stdout]  --> src/filemetadata.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     path::{self, Path},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string::ParseError`
[INFO] [stdout]  --> src/rgb.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, str::FromStr, string::ParseError};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/deadline.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Date, Local, TimeZone};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/deadline.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     when: Date<Local>,
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/deadline.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |         self.when < Local::today()
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]   --> src/deadline.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |         when: Local.ymd(2020, 12, 25),
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/deadline.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 |         when: Local::today() - Duration::hours(25),
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/deadline.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |         when: Local::today() + Duration::hours(25),
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
[INFO] [stdout]   --> src/incosistent_dates.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Some(NaiveDate::from_ymd(2010, 12, 11))
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
[INFO] [stdout]   --> src/incosistent_dates.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |         Some(NaiveDate::from_ymd(1999, 3, 2))
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
[INFO] [stdout]   --> src/incosistent_dates.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Some(NaiveDate::from_ymd(2021, 3, 1))
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
[INFO] [stdout]   --> src/incosistent_dates.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |         Some(NaiveDate::from_ymd(2021, 4, 5))
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `previousChar` is never read
[INFO] [stdout]   --> src/rll.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     previousChar = Some(ch);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 19 |             previousChar = Some(ch);
[INFO] [stdout]    |             ----------------------- `previousChar` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/cards.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Card {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout]  3 |     Ace,
[INFO] [stdout]  4 |     Two,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  5 |     Three,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  6 |     Four,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  7 |     Five,
[INFO] [stdout]  8 |     Six,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  9 |     Seven,
[INFO] [stdout] 10 |     Eight,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     Nine,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     Jack,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Card` 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: function `main` is never used
[INFO] [stdout]   --> src/cards.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `what` is never read
[INFO] [stdout]  --> src/deadline.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct ImportantEvent {
[INFO] [stdout]   |        -------------- field in this struct
[INFO] [stdout] 5 |     what: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/deadline.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Fahrenheit` is never constructed
[INFO] [stdout]  --> src/temperature.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Scale {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 2 |     Celsius,
[INFO] [stdout] 3 |     Fahrenheit,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_celcius` is never used
[INFO] [stdout]   --> src/temperature.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Temperature {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn to_celcius(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `digits` is never read
[INFO] [stdout]  --> src/isbn.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Isbn {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 4 |     raw: String,
[INFO] [stdout] 5 |     digits: Vec<u8>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/isbn.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exists` and `is_readable` are never used
[INFO] [stdout]   --> src/filemetadata.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | trait FileMetadata {
[INFO] [stdout]    |       ------------ methods in this trait
[INFO] [stdout]  7 |     fn exists(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn is_readable(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/incosistent_dates.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `aSet` should have a snake case name
[INFO] [stdout]  --> src/unique.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut aSet: HashSet<T> = HashSet::new();
[INFO] [stdout]   |             ^^^^ help: convert the identifier to snake case: `a_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `previousChar` should have a snake case name
[INFO] [stdout]  --> src/rll.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |         let mut previousChar: Option<char> = None;
[INFO] [stdout]   |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `previous_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `charCnt` should have a snake case name
[INFO] [stdout]  --> src/rll.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut charCnt = 0;
[INFO] [stdout]   |                 ^^^^^^^ help: convert the identifier to snake case: `char_cnt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.92s
[INFO] running `Command { std: "docker" "inspect" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c", kill_on_drop: false }`
[INFO] [stdout] 8bb6e28a21a6e98edad9287faae9b01123ec12bffecc86050012874e9c986c9c
