[INFO] cloning repository https://github.com/Georgyi1982Fox/Rust_Tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Georgyi1982Fox/Rust_Tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgyi1982Fox%2FRust_Tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgyi1982Fox%2FRust_Tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d531c9ae9371c8932a6cd468f0981f631f32551
[INFO] checking Georgyi1982Fox/Rust_Tutorial against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeorgyi1982Fox%2FRust_Tutorial" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Georgyi1982Fox/Rust_Tutorial
[INFO] finished tweaking git repo https://github.com/Georgyi1982Fox/Rust_Tutorial
[INFO] tweaked toml for git repo https://github.com/Georgyi1982Fox/Rust_Tutorial written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Georgyi1982Fox/Rust_Tutorial on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Georgyi1982Fox/Rust_Tutorial 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573
[INFO] running `Command { std: "docker" "start" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573", 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" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573", 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" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking my-project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lessons/stringLesson.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     return st.chars().rev().collect();
[INFO] [stdout]    |     --------------------------------- any code following this expression is unreachable
[INFO] [stdout] 48 |     println!("{}", st);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::null;
[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 variable: `hasher`
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |   let hasher: &RandomState = map.hasher();
[INFO] [stdout]    |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lessons/stringLesson.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     return st.chars().rev().collect();
[INFO] [stdout]    |     --------------------------------- any code following this expression is unreachable
[INFO] [stdout] 48 |     println!("{}", st);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/functions.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let mut temp = arr[j - 1];
[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/lessons/functions.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut i = 0;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/lessons/slice_samples.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn slice_3(slice: &[u32]) {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let d = Rc::clone(&a);
[INFO] [stdout]    |       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_file_error`
[INFO] [stdout]    --> src/lessons/option_results.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let maybe_file_error: Option<std::io::Error> = maybe_file.err();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_file_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/lessons/generics.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut count = 0;  
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/lessons/generics.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         count += 1;  
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> src/lessons/traits.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let book = Book {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book2`
[INFO] [stdout]   --> src/lessons/traits.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let book2 = Book {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_book2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/lessons/traits.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |    let user = User::new("Georgyi");
[INFO] [stdout]    |        ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/traits.rs:171:10
[INFO] [stdout]     |
[INFO] [stdout] 171 |      let mut list = vec![1, 2];
[INFO] [stdout]     |          ----^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]    --> src/lessons/traits.rs:171:10
[INFO] [stdout]     |
[INFO] [stdout] 171 |      let mut list = vec![1, 2];
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/traits.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut list = vec![1, 2];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/lessons/traits.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 |     fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 376 |         match self.cmp(&other) {
[INFO] [stdout]     |               ---------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Node` is more private than the item `functions::sum`
[INFO] [stdout]   --> src/lessons/functions.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn sum(node: &Option<Box<Node>>) -> i32 {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `functions::sum` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/functions.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Node {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `structs::Message` is more private than the item `process_message`
[INFO] [stdout]   --> src/lessons/structs.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn process_message(msg: Message) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `process_message` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `structs::Message` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/structs.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `structs::Message` is more private than the item `process_message2`
[INFO] [stdout]   --> src/lessons/structs.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn process_message2(msg: Message) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `process_message2` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `structs::Message` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/structs.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Describable` is more private than the item `traits::complex_function`
[INFO] [stdout]   --> src/lessons/traits.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / pub fn complex_function<T, U>(a: T, b: U) 
[INFO] [stdout] 62 | |     where 
[INFO] [stdout] 63 | |        T: Describable + Clone,
[INFO] [stdout] 64 | |        U: std::fmt::Debug, {
[INFO] [stdout]    | |__________________________^ function `traits::complex_function` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `Describable` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/traits.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | trait Describable {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is more private than the item `print_area`
[INFO] [stdout]    --> src/lessons/traits.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn print_area(shape: &dyn Shape2) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `print_area` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `Shape2` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/lessons/traits.rs:258:1
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is more private than the item `print_area_2`
[INFO] [stdout]    --> src/lessons/traits.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn print_area_2<T: Shape2>(item: T) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `print_area_2` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `Shape2` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/lessons/traits.rs:258:1
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function` is never used
[INFO] [stdout]  --> src/utols/core/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn function(){
[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 `test1` is never used
[INFO] [stdout]  --> src/lessons/stringLesson.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |    pub fn test1() {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test2` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |    pub fn test2() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test3` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |    pub fn test3(){
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test4` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |    pub fn test4() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test5` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 |    pub fn test5() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test6` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |    pub fn test6() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test7` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |    pub fn test7(st: &str)-> String {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_test01` is never used
[INFO] [stdout]  --> src/lessons/mapsLessons.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |    pub fn map_test01(){
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Viking` is never constructed
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Viking {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Viking {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     /// Creates a new Viking.
[INFO] [stdout] 20 |     fn new(name: &str, country: &str) -> Viking {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test02` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn test02() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractIf` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn extractIf() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hasher` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn hasher() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]  --> src/lessons/functions.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn factorial(n: u64) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tail_factorial` is never used
[INFO] [stdout]  --> src/lessons/functions.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn tail_factorial(n: u64, acc: u64) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial2` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn factorial2(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/lessons/functions.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn sum(node: &Option<Box<Node>>) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonachi` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn fibonachi(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonacci_rec` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn fibonacci_rec(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bubble_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn bubble_sort(a: u32, b: u32, c: u32, d: u32) -> Vec<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `selection_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn selection_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insertion_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn insertion_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn shell_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub fn merge_sort(arr: &mut [u32]) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn quick_sort(arr: &mut [u32], begin: usize, end: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partition` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:211:4
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn partition(arr: &mut [u32]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_1` is never used
[INFO] [stdout]  --> src/lessons/slice_samples.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn slice_1(slice: &[i32]) {  
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_2` is never used
[INFO] [stdout]  --> src/lessons/slice_samples.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn slice_2(slice: &[i32]) {  
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_3` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn slice_3(slice: &[u32]) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_ref_sample` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn slice_ref_sample() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/slice_samples.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct User<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_ref_sample2` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn slice_ref_sample2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_1` is never used
[INFO] [stdout]  --> src/lessons/smart_pointers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sample_1(){
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_2` is never used
[INFO] [stdout]  --> src/lessons/smart_pointers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sample_2(){
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_3` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn sample_3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct MyBox<T>(T);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T> MyBox<T> {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rc_1` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn rc_1() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rc_2` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn rc_2() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `arc_1` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn arc_1() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct Counter {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `increment` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:110:11
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl Counter {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 110 |    pub fn increment(&self) {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cell_1` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn cell_1 () {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStruct` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | struct MyStruct {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl MyStruct {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 131 |     fn update(&self, newData: &str) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_1` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn ref_1() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | struct Cacher {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl Cacher {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 154 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn calculate(&self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `casher_impl` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub fn casher_impl()  {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_1` is never used
[INFO] [stdout]  --> src/lessons/option_results.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn option_1() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_2` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn option_2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_3` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn option_3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_4` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn option_4() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_5` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn option_5() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_6` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn option_6() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_first_vowel` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn find_first_vowel(s: &str) -> Option<char> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_first_vowel_resolver` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn find_first_vowel_resolver() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_number` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn parse_number(s: &str) -> Result<i32, ParseIntError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_number_resolver` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn parse_number_resolver() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_division` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn checked_division(divided: i32, divisor: i32) -> Option<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_division` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn try_division(dividend: i32, divisor: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_dog_name` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn get_dog_name() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_7` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn option_7() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_1` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn result_1() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]    --> src/lessons/option_results.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | struct Dog {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Breed` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:128:6
[INFO] [stdout]     |
[INFO] [stdout] 128 | enum Breed {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_name_ckecked` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn get_name_ckecked() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MathError` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub enum MathError {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MathResult` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:152:10
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub type MathResult = Result<i32, MathError>;
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `div` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |  pub fn div(x: i32, y: i32) -> MathResult {
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |   pub fn sqrt(x: i32) -> MathResult {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ln` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn ln(x: i32) -> MathResult {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `op` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn op(x: i32, y: i32) -> i32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/lessons/structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Point {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct1` is never used
[INFO] [stdout]  --> src/lessons/structs.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn struct1() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/structs.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct_2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn struct_2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Color {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn process_message(msg: Message) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn checked_message() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_message2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn process_message2(msg: Message) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_message2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn checked_message2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: union `MyUnion` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | union MyUnion {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `union_1` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn union_1() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: union `IntOrFloat` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | union IntOrFloat {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `union_2` is never used
[INFO] [stdout]    --> src/lessons/structs.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn union_2() {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> src/lessons/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn largest<T: PartialOrd>(a: T, b: T) -> T {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_1` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generic_1() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/lessons/generics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Point<T: PartialOrd> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `x`, `y`, `longest`, and `new` are never used
[INFO] [stdout]   --> src/lessons/generics.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl <T: PartialOrd> Point<T> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] 27 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn y(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn longest(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `point_create` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn point_create() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_debug` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn print_debug<T: std::fmt::Debug>(val: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_and_compare` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn print_and_compare <T: std::fmt::Debug + PartialOrd>(a: T, b: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_and_compare2` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn print_and_compare2<T>(a: T, b: T) 
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_function` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn complex_function<T, U>(t: T, u: U)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]   --> src/lessons/generics.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Counter {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_longest` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn checked_longest() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn combine<T: std::fmt::Display, U: std::fmt::Display>(a: T, b: U) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_checked` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn combine_checked() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `average` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn average<I, T>(iter: I) -> f64
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_average` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn checked_average() -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]    --> src/lessons/generics.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | struct Stack<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `is_empty` are never used
[INFO] [stdout]    --> src/lessons/generics.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl <T> Stack<T> {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 158 |
[INFO] [stdout] 159 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     fn push(&mut self, value: T) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |      fn pop(&mut self) -> Option<T> {  
[INFO] [stdout]     |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn is_empty(&self) -> bool {  
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_stack` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub fn checked_stack() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Describable` is never used
[INFO] [stdout]  --> src/lessons/traits.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Describable {
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]  --> src/lessons/traits.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Book {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Movie` is never constructed
[INFO] [stdout]   --> src/lessons/traits.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Movie {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trait_1` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn trait_1() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_description` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn print_description<T: Describable>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_and_compare` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn show_and_compare<T: std::fmt::Debug + PartialOrd>(a: T, b: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasher`
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |   let hasher: &RandomState = map.hasher();
[INFO] [stdout]    |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_function` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn complex_function<T, U>(a: T, b: U) 
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Creator` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:72:7
[INFO] [stdout]    |
[INFO] [stdout] 72 | trait Creator {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/traits.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_test_1` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn assoc_test_1() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Info` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:93:7
[INFO] [stdout]    |
[INFO] [stdout] 93 | trait Info {
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Article` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct Article {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_test_2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn assoc_test_2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iterator` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:123:7
[INFO] [stdout]     |
[INFO] [stdout] 123 | trait Iterator {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Container` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 | trait Container {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntContainer` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct IntContainer {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StringContainer` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | struct StringContainer {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_types_test` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn assoc_types_test<T, U>(mut item: T) 
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_types_test_1` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn assoc_types_test_1() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:198:7
[INFO] [stdout]     |
[INFO] [stdout] 198 | trait Shape {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | struct Square {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 219 | struct Point {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:224:4
[INFO] [stdout]     |
[INFO] [stdout] 224 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 | struct Circle {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_test` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub fn simple_test() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:258:7
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle2` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:262:8
[INFO] [stdout]     |
[INFO] [stdout] 262 | struct Circle2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square2` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:272:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | struct Square2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_area` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:282:8
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn print_area(shape: &dyn Shape2) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_area_2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn print_area_2<T: Shape2>(item: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_implementer` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:290:8
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub fn shape_implementer() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_implementer2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub fn shape_implementer2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyTrait` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:315:7
[INFO] [stdout]     |
[INFO] [stdout] 315 | trait MyTrait {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyTrait2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:319:7
[INFO] [stdout]     |
[INFO] [stdout] 319 | trait MyTrait2 {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `blanket_trait_sample` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | pub fn blanket_trait_sample() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `eq` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:352:6
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl Point2 {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 351 |   #[inline]  
[INFO] [stdout] 352 |   fn eq(self) -> i128 {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 |    lessons::traits::sorting_of_dots();
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 112 |    let _ = lessons::traits::sorting_of_dots();
[INFO] [stdout]     |    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `stringLesson` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub mod stringLesson;
[INFO] [stdout]   |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `string_lesson`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `mapsLessons` should have a snake case name
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub mod mapsLessons;
[INFO] [stdout]   |             ^^^^^^^^^^^ help: convert the identifier to snake case: `maps_lessons`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractIf` should have a snake case name
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn extractIf() {
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case: `extract_if`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newData` should have a snake case name
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn update(&self, newData: &str) {
[INFO] [stdout]     |                      ^^^^^^^ help: convert the identifier to snake case: `new_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/functions.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let mut temp = arr[j - 1];
[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/lessons/functions.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut i = 0;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/lessons/slice_samples.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn slice_3(slice: &[u32]) {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let d = Rc::clone(&a);
[INFO] [stdout]    |       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_file_error`
[INFO] [stdout]    --> src/lessons/option_results.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let maybe_file_error: Option<std::io::Error> = maybe_file.err();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_file_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]    --> src/lessons/generics.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut count = 0;  
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]    --> src/lessons/generics.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         count += 1;  
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book`
[INFO] [stdout]   --> src/lessons/traits.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let book = Book {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_book`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `book2`
[INFO] [stdout]   --> src/lessons/traits.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let book2 = Book {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_book2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/lessons/traits.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |    let user = User::new("Georgyi");
[INFO] [stdout]    |        ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/traits.rs:171:10
[INFO] [stdout]     |
[INFO] [stdout] 171 |      let mut list = vec![1, 2];
[INFO] [stdout]     |          ----^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]    --> src/lessons/traits.rs:171:10
[INFO] [stdout]     |
[INFO] [stdout] 171 |      let mut list = vec![1, 2];
[INFO] [stdout]     |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lessons/traits.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |     let mut list = vec![1, 2];
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/lessons/traits.rs:375:5
[INFO] [stdout]     |
[INFO] [stdout] 375 |     fn cmp(&self, other: &Self) -> Ordering {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 376 |         match self.cmp(&other) {
[INFO] [stdout]     |               ---------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Node` is more private than the item `functions::sum`
[INFO] [stdout]   --> src/lessons/functions.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn sum(node: &Option<Box<Node>>) -> i32 {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `functions::sum` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/functions.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Node {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `structs::Message` is more private than the item `process_message`
[INFO] [stdout]   --> src/lessons/structs.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn process_message(msg: Message) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `process_message` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `structs::Message` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/structs.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `structs::Message` is more private than the item `process_message2`
[INFO] [stdout]   --> src/lessons/structs.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn process_message2(msg: Message) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `process_message2` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `structs::Message` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/structs.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Describable` is more private than the item `traits::complex_function`
[INFO] [stdout]   --> src/lessons/traits.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / pub fn complex_function<T, U>(a: T, b: U) 
[INFO] [stdout] 62 | |     where 
[INFO] [stdout] 63 | |        T: Describable + Clone,
[INFO] [stdout] 64 | |        U: std::fmt::Debug, {
[INFO] [stdout]    | |__________________________^ function `traits::complex_function` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `Describable` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/lessons/traits.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | trait Describable {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is more private than the item `print_area`
[INFO] [stdout]    --> src/lessons/traits.rs:282:1
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn print_area(shape: &dyn Shape2) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `print_area` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `Shape2` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/lessons/traits.rs:258:1
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is more private than the item `print_area_2`
[INFO] [stdout]    --> src/lessons/traits.rs:286:1
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn print_area_2<T: Shape2>(item: T) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `print_area_2` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but trait `Shape2` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/lessons/traits.rs:258:1
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `function` is never used
[INFO] [stdout]  --> src/utols/core/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn function(){
[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 `test1` is never used
[INFO] [stdout]  --> src/lessons/stringLesson.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |    pub fn test1() {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test2` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |    pub fn test2() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test3` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |    pub fn test3(){
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test4` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |    pub fn test4() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test5` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 |    pub fn test5() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test6` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |    pub fn test6() {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test7` is never used
[INFO] [stdout]   --> src/lessons/stringLesson.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |    pub fn test7(st: &str)-> String {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_test01` is never used
[INFO] [stdout]  --> src/lessons/mapsLessons.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |    pub fn map_test01(){
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Viking` is never constructed
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Viking {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Viking {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     /// Creates a new Viking.
[INFO] [stdout] 20 |     fn new(name: &str, country: &str) -> Viking {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test02` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn test02() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractIf` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn extractIf() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hasher` is never used
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn hasher() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]  --> src/lessons/functions.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn factorial(n: u64) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tail_factorial` is never used
[INFO] [stdout]  --> src/lessons/functions.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn tail_factorial(n: u64, acc: u64) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial2` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn factorial2(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/lessons/functions.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn sum(node: &Option<Box<Node>>) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonachi` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn fibonachi(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonacci_rec` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn fibonacci_rec(n: u64) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bubble_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn bubble_sort(a: u32, b: u32, c: u32, d: u32) -> Vec<u32> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `selection_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn selection_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insertion_sort` is never used
[INFO] [stdout]   --> src/lessons/functions.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn insertion_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn shell_sort(arr: &mut Vec<u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub fn merge_sort(arr: &mut [u32]) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quick_sort` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub fn quick_sort(arr: &mut [u32], begin: usize, end: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `partition` is never used
[INFO] [stdout]    --> src/lessons/functions.rs:211:4
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn partition(arr: &mut [u32]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_1` is never used
[INFO] [stdout]  --> src/lessons/slice_samples.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn slice_1(slice: &[i32]) {  
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_2` is never used
[INFO] [stdout]  --> src/lessons/slice_samples.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn slice_2(slice: &[i32]) {  
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_3` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn slice_3(slice: &[u32]) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_ref_sample` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn slice_ref_sample() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/slice_samples.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct User<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slice_ref_sample2` is never used
[INFO] [stdout]   --> src/lessons/slice_samples.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn slice_ref_sample2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_1` is never used
[INFO] [stdout]  --> src/lessons/smart_pointers.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn sample_1(){
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_2` is never used
[INFO] [stdout]  --> src/lessons/smart_pointers.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sample_2(){
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_3` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn sample_3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct MyBox<T>(T);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl<T> MyBox<T> {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 29 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rc_1` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn rc_1() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rc_2` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn rc_2() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `arc_1` is never used
[INFO] [stdout]   --> src/lessons/smart_pointers.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn arc_1() {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct Counter {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `increment` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:110:11
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl Counter {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] 110 |    pub fn increment(&self) {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cell_1` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn cell_1 () {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyStruct` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | struct MyStruct {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl MyStruct {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 131 |     fn update(&self, newData: &str) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ref_1` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn ref_1() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | struct Cacher {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl Cacher {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 154 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     fn calculate(&self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `casher_impl` is never used
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub fn casher_impl()  {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_1` is never used
[INFO] [stdout]  --> src/lessons/option_results.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn option_1() {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_2` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn option_2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_3` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn option_3() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_4` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn option_4() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_5` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn option_5() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_6` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn option_6() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_first_vowel` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn find_first_vowel(s: &str) -> Option<char> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_first_vowel_resolver` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn find_first_vowel_resolver() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_number` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn parse_number(s: &str) -> Result<i32, ParseIntError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_number_resolver` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn parse_number_resolver() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_division` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn checked_division(divided: i32, divisor: i32) -> Option<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_division` is never used
[INFO] [stdout]   --> src/lessons/option_results.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn try_division(dividend: i32, divisor: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_dog_name` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn get_dog_name() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_7` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn option_7() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `result_1` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn result_1() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]    --> src/lessons/option_results.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | struct Dog {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Breed` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:128:6
[INFO] [stdout]     |
[INFO] [stdout] 128 | enum Breed {
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_name_ckecked` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn get_name_ckecked() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MathError` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub enum MathError {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MathResult` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:152:10
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub type MathResult = Result<i32, MathError>;
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `div` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |  pub fn div(x: i32, y: i32) -> MathResult {
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sqrt` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 |   pub fn sqrt(x: i32) -> MathResult {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ln` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     pub fn ln(x: i32) -> MathResult {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `op` is never used
[INFO] [stdout]    --> src/lessons/option_results.rs:182:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn op(x: i32, y: i32) -> i32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/lessons/structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Point {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct1` is never used
[INFO] [stdout]  --> src/lessons/structs.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn struct1() {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/structs.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct_2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn struct_2() {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Color` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Color {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn process_message(msg: Message) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_message` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn checked_message() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_message2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn process_message2(msg: Message) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_message2` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn checked_message2() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: union `MyUnion` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 | union MyUnion {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `union_1` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn union_1() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: union `IntOrFloat` is never used
[INFO] [stdout]   --> src/lessons/structs.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 | union IntOrFloat {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `union_2` is never used
[INFO] [stdout]    --> src/lessons/structs.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn union_2() {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> src/lessons/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn largest<T: PartialOrd>(a: T, b: T) -> T {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_1` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generic_1() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/lessons/generics.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Point<T: PartialOrd> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `x`, `y`, `longest`, and `new` are never used
[INFO] [stdout]   --> src/lessons/generics.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl <T: PartialOrd> Point<T> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] 27 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn y(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn longest(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `point_create` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn point_create() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_debug` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn print_debug<T: std::fmt::Debug>(val: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_and_compare` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn print_and_compare <T: std::fmt::Debug + PartialOrd>(a: T, b: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_and_compare2` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn print_and_compare2<T>(a: T, b: T) 
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_function` is never used
[INFO] [stdout]   --> src/lessons/generics.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn complex_function<T, U>(t: T, u: U)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]   --> src/lessons/generics.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Counter {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_longest` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn checked_longest() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn combine<T: std::fmt::Display, U: std::fmt::Display>(a: T, b: U) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_checked` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn combine_checked() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `average` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn average<I, T>(iter: I) -> f64
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_average` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn checked_average() -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]    --> src/lessons/generics.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | struct Stack<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `is_empty` are never used
[INFO] [stdout]    --> src/lessons/generics.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl <T> Stack<T> {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 158 |
[INFO] [stdout] 159 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     fn push(&mut self, value: T) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |      fn pop(&mut self) -> Option<T> {  
[INFO] [stdout]     |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn is_empty(&self) -> bool {  
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_stack` is never used
[INFO] [stdout]    --> src/lessons/generics.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub fn checked_stack() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Describable` is never used
[INFO] [stdout]  --> src/lessons/traits.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Describable {
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Book` is never constructed
[INFO] [stdout]  --> src/lessons/traits.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Book {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Movie` is never constructed
[INFO] [stdout]   --> src/lessons/traits.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Movie {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trait_1` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn trait_1() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_description` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn print_description<T: Describable>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `show_and_compare` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn show_and_compare<T: std::fmt::Debug + PartialOrd>(a: T, b: T) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `complex_function` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn complex_function<T, U>(a: T, b: U) 
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Creator` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:72:7
[INFO] [stdout]    |
[INFO] [stdout] 72 | trait Creator {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/lessons/traits.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_test_1` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn assoc_test_1() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Info` is never used
[INFO] [stdout]   --> src/lessons/traits.rs:93:7
[INFO] [stdout]    |
[INFO] [stdout] 93 | trait Info {
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Article` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct Article {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_test_2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn assoc_test_2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iterator` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:123:7
[INFO] [stdout]     |
[INFO] [stdout] 123 | trait Iterator {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Container` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 | trait Container {
[INFO] [stdout]     |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntContainer` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct IntContainer {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StringContainer` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | struct StringContainer {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_types_test` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn assoc_types_test<T, U>(mut item: T) 
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assoc_types_test_1` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn assoc_types_test_1() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:198:7
[INFO] [stdout]     |
[INFO] [stdout] 198 | trait Shape {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | struct Square {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 219 | struct Point {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:224:4
[INFO] [stdout]     |
[INFO] [stdout] 224 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 | struct Circle {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_test` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub fn simple_test() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Shape2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:258:7
[INFO] [stdout]     |
[INFO] [stdout] 258 | trait Shape2 {
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle2` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:262:8
[INFO] [stdout]     |
[INFO] [stdout] 262 | struct Circle2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square2` is never constructed
[INFO] [stdout]    --> src/lessons/traits.rs:272:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | struct Square2 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_area` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:282:8
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub fn print_area(shape: &dyn Shape2) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_area_2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn print_area_2<T: Shape2>(item: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_implementer` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:290:8
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub fn shape_implementer() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_implementer2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:300:8
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub fn shape_implementer2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyTrait` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:315:7
[INFO] [stdout]     |
[INFO] [stdout] 315 | trait MyTrait {
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyTrait2` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:319:7
[INFO] [stdout]     |
[INFO] [stdout] 319 | trait MyTrait2 {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `blanket_trait_sample` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | pub fn blanket_trait_sample() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `eq` is never used
[INFO] [stdout]    --> src/lessons/traits.rs:352:6
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl Point2 {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 351 |   #[inline]  
[INFO] [stdout] 352 |   fn eq(self) -> i128 {
[INFO] [stdout]     |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 |    lessons::traits::sorting_of_dots();
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 112 |    let _ = lessons::traits::sorting_of_dots();
[INFO] [stdout]     |    +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `stringLesson` should have a snake case name
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub mod stringLesson;
[INFO] [stdout]   |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `string_lesson`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `mapsLessons` should have a snake case name
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub mod mapsLessons;
[INFO] [stdout]   |             ^^^^^^^^^^^ help: convert the identifier to snake case: `maps_lessons`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extractIf` should have a snake case name
[INFO] [stdout]   --> src/lessons/mapsLessons.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn extractIf() {
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to snake case: `extract_if`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newData` should have a snake case name
[INFO] [stdout]    --> src/lessons/smart_pointers.rs:131:22
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn update(&self, newData: &str) {
[INFO] [stdout]     |                      ^^^^^^^ help: convert the identifier to snake case: `new_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573", kill_on_drop: false }`
[INFO] [stdout] 9b44da666093cee13c816df9da29fce7cb8d1e8524b68f89753306595b39e573
