[INFO] cloning repository https://github.com/hafizmuhammadshoaib/rust-practce
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hafizmuhammadshoaib/rust-practce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b10c7bae5b8314bb14ea207b01beed0d2fbaa68a
[INFO] checking hafizmuhammadshoaib/rust-practce against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhafizmuhammadshoaib%2Frust-practce" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce
[INFO] finished tweaking git repo https://github.com/hafizmuhammadshoaib/rust-practce
[INFO] tweaked toml for git repo https://github.com/hafizmuhammadshoaib/rust-practce written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hafizmuhammadshoaib/rust-practce on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hafizmuhammadshoaib/rust-practce 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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e6640bed3305282de9f7ed47dbd09a9e10cd04ce76e164b18d21b8c02e0f0d0
[INFO] running `Command { std: "docker" "start" "-a" "3e6640bed3305282de9f7ed47dbd09a9e10cd04ce76e164b18d21b8c02e0f0d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e6640bed3305282de9f7ed47dbd09a9e10cd04ce76e164b18d21b8c02e0f0d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e6640bed3305282de9f7ed47dbd09a9e10cd04ce76e164b18d21b8c02e0f0d0", kill_on_drop: false }`
[INFO] [stdout] 3e6640bed3305282de9f7ed47dbd09a9e10cd04ce76e164b18d21b8c02e0f0d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c614dfc0734c7de3958252d3ac93c7cc5827d7e5361d276e3ac343393adecde
[INFO] running `Command { std: "docker" "start" "-a" "6c614dfc0734c7de3958252d3ac93c7cc5827d7e5361d276e3ac343393adecde", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `alloc::System`
[INFO] [stdout]  --> src/todo.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{alloc::System, io};
[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: `ptr::null`
[INFO] [stdout]  --> src/error_handling.rs:2:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fmt::Debug, fs::File, io::Read, num::ParseIntError, ptr::null};
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::System`
[INFO] [stdout]  --> src/todo.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{alloc::System, io};
[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: `ptr::null`
[INFO] [stdout]  --> src/error_handling.rs:2:63
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fmt::Debug, fs::File, io::Read, num::ParseIntError, ptr::null};
[INFO] [stdout]   |                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/todo.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main(mut todos: Vec<String>) {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/todo.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rerun_main(mut todos: Vec<String>) {
[INFO] [stdout]    |               ----^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/todo.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn show_tasks(mut todos: Vec<String>) {
[INFO] [stdout]    |               ----^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/todo.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main(mut todos: Vec<String>) {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/todo.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rerun_main(mut todos: Vec<String>) {
[INFO] [stdout]    |               ----^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/todo.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn show_tasks(mut todos: Vec<String>) {
[INFO] [stdout]    |               ----^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/main.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct User {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Weekday` is never used
[INFO] [stdout]   --> src/main.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Weekday {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `format` is never used
[INFO] [stdout]   --> src/main.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 31 |     fn format(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pattern_matching` is never used
[INFO] [stdout]   --> src/main.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn pattern_matching(number: i32) -> Weekday {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_greeting_message` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_greeting_message(greeting: &mut String, person_name: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_types_as_param` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn data_types_as_param(a: i32, b: f64, c: bool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fizz_buzz_or_fizzbuzz` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn get_fizz_buzz_or_fizzbuzz(a: i64) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_till_100_using_loop` is never used
[INFO] [stdout]   --> src/main.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn sum_till_100_using_loop() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_till_100_using_for_loop` is never used
[INFO] [stdout]   --> src/main.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn sum_till_100_using_for_loop() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_tuple_as_input_and_print` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn takes_tuple_as_input_and_print(tup: &(i32, bool, &str)) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/calculator.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_number` is never used
[INFO] [stdout]   --> src/calculator.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn read_number(prompt: &str) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/calculator.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn read_string() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/todo.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main(mut todos: Vec<String>) {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/todo.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn read_string(prompt: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_option_number` is never used
[INFO] [stdout]   --> src/todo.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_option_number() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_options` is never used
[INFO] [stdout]   --> src/todo.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn show_options() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rerun_main` is never used
[INFO] [stdout]   --> src/todo.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rerun_main(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `input_task` is never used
[INFO] [stdout]   --> src/todo.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn input_task(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_tasks` is never used
[INFO] [stdout]   --> src/todo.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn show_tasks(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_task` is never used
[INFO] [stdout]   --> src/todo.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn remove_task(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/oop.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `greet` is never used
[INFO] [stdout]   --> src/oop.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 17 |     fn greet(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserBuilder` is never constructed
[INFO] [stdout]   --> src/oop.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct UserBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `username`, `email`, `age`, and `build` are never used
[INFO] [stdout]   --> src/oop.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl UserBuilder {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 29 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn username(mut self, username: String) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn email(mut self, email: String) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn age(mut self, age: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn build(self) -> User {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]   --> src/oop.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | trait Summary {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `States` is never used
[INFO] [stdout]   --> src/oop.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum States {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/oop.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Post {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_state` and `print` are never used
[INFO] [stdout]   --> src/oop.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Post {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 75 |     fn update_state(&mut self, state: States) -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn print(&self) -> String {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/oop.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct NewsArticle {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]    --> src/oop.rs:102:7
[INFO] [stdout]     |
[INFO] [stdout] 102 | trait Animal {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]    --> src/oop.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | struct Dog {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cat` is never constructed
[INFO] [stdout]    --> src/oop.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct Cat {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]    --> src/oop.rs:122:7
[INFO] [stdout]     |
[INFO] [stdout] 122 | trait Shape {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]    --> src/oop.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Circle {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> src/oop.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | struct Rectangle {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/oop.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/hashmap.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `word_frequency_count` is never used
[INFO] [stdout]  --> src/hashmap.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn word_frequency_count() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AppError` is never used
[INFO] [stdout]  --> src/error_handling.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum AppError {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `safe_divide` is never used
[INFO] [stdout]   --> src/error_handling.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn safe_divide(a: f64, b: f64) -> Option<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_word` is never used
[INFO] [stdout]   --> src/error_handling.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn find_word(words: &Vec<String>, target: &str) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]    --> src/error_handling.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn read_file(path: &str) -> Result<String, std::io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_and_parse` is never used
[INFO] [stdout]    --> src/error_handling.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn read_and_parse() -> Result<i32, AppError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/main.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct User {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Weekday` is never used
[INFO] [stdout]   --> src/main.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Weekday {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `format` is never used
[INFO] [stdout]   --> src/main.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 31 |     fn format(&self) -> String {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pattern_matching` is never used
[INFO] [stdout]   --> src/main.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn pattern_matching(number: i32) -> Weekday {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_greeting_message` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_greeting_message(greeting: &mut String, person_name: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `data_types_as_param` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn data_types_as_param(a: i32, b: f64, c: bool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fizz_buzz_or_fizzbuzz` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn get_fizz_buzz_or_fizzbuzz(a: i64) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_till_100_using_loop` is never used
[INFO] [stdout]   --> src/main.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn sum_till_100_using_loop() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_till_100_using_for_loop` is never used
[INFO] [stdout]   --> src/main.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn sum_till_100_using_for_loop() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_tuple_as_input_and_print` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn takes_tuple_as_input_and_print(tup: &(i32, bool, &str)) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/calculator.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_number` is never used
[INFO] [stdout]   --> src/calculator.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn read_number(prompt: &str) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/calculator.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn read_string() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/todo.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn main(mut todos: Vec<String>) {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_string` is never used
[INFO] [stdout]   --> src/todo.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn read_string(prompt: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_option_number` is never used
[INFO] [stdout]   --> src/todo.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_option_number() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_options` is never used
[INFO] [stdout]   --> src/todo.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn show_options() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rerun_main` is never used
[INFO] [stdout]   --> src/todo.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rerun_main(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `input_task` is never used
[INFO] [stdout]   --> src/todo.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn input_task(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_tasks` is never used
[INFO] [stdout]   --> src/todo.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn show_tasks(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_task` is never used
[INFO] [stdout]   --> src/todo.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn remove_task(mut todos: Vec<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/oop.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `greet` is never used
[INFO] [stdout]   --> src/oop.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 17 |     fn greet(&self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserBuilder` is never constructed
[INFO] [stdout]   --> src/oop.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct UserBuilder {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `username`, `email`, `age`, and `build` are never used
[INFO] [stdout]   --> src/oop.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl UserBuilder {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 29 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn username(mut self, username: String) -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn email(mut self, email: String) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn age(mut self, age: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn build(self) -> User {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Summary` is never used
[INFO] [stdout]   --> src/oop.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | trait Summary {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `States` is never used
[INFO] [stdout]   --> src/oop.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum States {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Post` is never constructed
[INFO] [stdout]   --> src/oop.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Post {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_state` and `print` are never used
[INFO] [stdout]   --> src/oop.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Post {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 75 |     fn update_state(&mut self, state: States) -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn print(&self) -> String {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewsArticle` is never constructed
[INFO] [stdout]   --> src/oop.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct NewsArticle {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]    --> src/oop.rs:102:7
[INFO] [stdout]     |
[INFO] [stdout] 102 | trait Animal {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]    --> src/oop.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | struct Dog {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cat` is never constructed
[INFO] [stdout]    --> src/oop.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct Cat {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]    --> src/oop.rs:122:7
[INFO] [stdout]     |
[INFO] [stdout] 122 | trait Shape {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]    --> src/oop.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Circle {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]    --> src/oop.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | struct Rectangle {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/oop.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/hashmap.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `word_frequency_count` is never used
[INFO] [stdout]  --> src/hashmap.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn word_frequency_count() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AppError` is never used
[INFO] [stdout]  --> src/error_handling.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum AppError {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `safe_divide` is never used
[INFO] [stdout]   --> src/error_handling.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn safe_divide(a: f64, b: f64) -> Option<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_word` is never used
[INFO] [stdout]   --> src/error_handling.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn find_word(words: &Vec<String>, target: &str) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file` is never used
[INFO] [stdout]    --> src/error_handling.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn read_file(path: &str) -> Result<String, std::io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_and_parse` is never used
[INFO] [stdout]    --> src/error_handling.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn read_and_parse() -> Result<i32, AppError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.11s
[INFO] running `Command { std: "docker" "inspect" "6c614dfc0734c7de3958252d3ac93c7cc5827d7e5361d276e3ac343393adecde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c614dfc0734c7de3958252d3ac93c7cc5827d7e5361d276e3ac343393adecde", kill_on_drop: false }`
[INFO] [stdout] 6c614dfc0734c7de3958252d3ac93c7cc5827d7e5361d276e3ac343393adecde
