[INFO] cloning repository https://github.com/szymonnogiec/rust_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/szymonnogiec/rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszymonnogiec%2Frust_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszymonnogiec%2Frust_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b339bce32edc6e9a50635c485daada852e6a866d
[INFO] checking szymonnogiec/rust_test against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszymonnogiec%2Frust_test" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/szymonnogiec/rust_test
[INFO] finished tweaking git repo https://github.com/szymonnogiec/rust_test
[INFO] tweaked toml for git repo https://github.com/szymonnogiec/rust_test written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/szymonnogiec/rust_test on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/szymonnogiec/rust_test 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db9ac955255854ab67ccaad90ff5661cedbd3ec95f25de6cbedd6a4dc2999535
[INFO] running `Command { std: "docker" "start" "-a" "db9ac955255854ab67ccaad90ff5661cedbd3ec95f25de6cbedd6a4dc2999535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db9ac955255854ab67ccaad90ff5661cedbd3ec95f25de6cbedd6a4dc2999535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db9ac955255854ab67ccaad90ff5661cedbd3ec95f25de6cbedd6a4dc2999535", kill_on_drop: false }`
[INFO] [stdout] db9ac955255854ab67ccaad90ff5661cedbd3ec95f25de6cbedd6a4dc2999535
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 995bedfd2f43e0421cdf01529cfaf290666d5b8bca4e97dfd8a13746cef67db3
[INFO] running `Command { std: "docker" "start" "-a" "995bedfd2f43e0421cdf01529cfaf290666d5b8bca4e97dfd8a13746cef67db3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking rust_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |         fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |         fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Iter`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::path::Iter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::process::exit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:214:15
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let avg = (sum as f64 / v_len as f64);
[INFO] [stdout]     |               ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 214 -     let avg = (sum as f64 / v_len as f64);
[INFO] [stdout] 214 +     let avg = sum as f64 / v_len as f64 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `write`
[INFO] [stdout]    --> src/main.rs:552:16
[INFO] [stdout]     |
[INFO] [stdout] 552 | use std::fmt::{write, Display, Formatter};
[INFO] [stdout]     |                ^^^^^  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]    --> src/main.rs:554:17
[INFO] [stdout]     |
[INFO] [stdout] 554 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]     |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:828:10
[INFO] [stdout]     |
[INFO] [stdout] 828 |         1...5 => println!("in 1-5 range"),
[INFO] [stdout]     |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:833:12
[INFO] [stdout]     |
[INFO] [stdout] 833 |         'a'...'j' => println!("early ASCII letter"),
[INFO] [stdout]     |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:834:12
[INFO] [stdout]     |
[INFO] [stdout] 834 |         'k'...'z' => println!("late ASCII letter"),
[INFO] [stdout]     |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:952:32
[INFO] [stdout]     |
[INFO] [stdout] 952 |             id: id_variable @ 3...7,
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:956:28
[INFO] [stdout]     |
[INFO] [stdout] 956 |         Msg::Hello { id: 10...12 } => {
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1049:17
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     trait Red {};
[INFO] [stdout]      |                 ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1175:35
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     impl OutlinePrint for Point {};
[INFO] [stdout]      |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]     --> src/main.rs:1254:21
[INFO] [stdout]      |
[INFO] [stdout] 1254 |     use std::cell::{Ref, RefCell};
[INFO] [stdout]      |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Iter`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::path::Iter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::process::exit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:214:15
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let avg = (sum as f64 / v_len as f64);
[INFO] [stdout]     |               ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 214 -     let avg = (sum as f64 / v_len as f64);
[INFO] [stdout] 214 +     let avg = sum as f64 / v_len as f64 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `write`
[INFO] [stdout]    --> src/main.rs:552:16
[INFO] [stdout]     |
[INFO] [stdout] 552 | use std::fmt::{write, Display, Formatter};
[INFO] [stdout]     |                ^^^^^  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex`
[INFO] [stdout]    --> src/main.rs:554:17
[INFO] [stdout]     |
[INFO] [stdout] 554 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]     |                 ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:828:10
[INFO] [stdout]     |
[INFO] [stdout] 828 |         1...5 => println!("in 1-5 range"),
[INFO] [stdout]     |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:833:12
[INFO] [stdout]     |
[INFO] [stdout] 833 |         'a'...'j' => println!("early ASCII letter"),
[INFO] [stdout]     |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:834:12
[INFO] [stdout]     |
[INFO] [stdout] 834 |         'k'...'z' => println!("late ASCII letter"),
[INFO] [stdout]     |            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:952:32
[INFO] [stdout]     |
[INFO] [stdout] 952 |             id: id_variable @ 3...7,
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/main.rs:956:28
[INFO] [stdout]     |
[INFO] [stdout] 956 |         Msg::Hello { id: 10...12 } => {
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1049:17
[INFO] [stdout]      |
[INFO] [stdout] 1049 |     trait Red {};
[INFO] [stdout]      |                 ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1175:35
[INFO] [stdout]      |
[INFO] [stdout] 1175 |     impl OutlinePrint for Point {};
[INFO] [stdout]      |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]    --> src/main.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let six = plus_one(five);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let none = plus_one(None);
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 125 -     let none = plus_one(None);
[INFO] [stdout] 125 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let _none = plus_one(None);
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut e = &mut v[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: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let x = &v[1];
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]    --> src/main.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let v2 = vec!["b", "v"];
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]    --> src/main.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let first = &vector[0];
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let mut init_scores = vec![10, 50];
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut scores2: HashMap<_, _> = teams.iter().zip(init_scores.iter()).collect();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scores2`
[INFO] [stdout]    --> src/main.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut scores2: HashMap<_, _> = teams.iter().zip(init_scores.iter()).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let f = match f {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let home: IPStd = "127.0.0.1".parse().unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let f = File::open("hello.txt")?.read_to_string(&mut s)?;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let integer = Point { x: 5, y: 10 };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let float = Point { x: 1.0, y: 2.0 };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]    --> src/main.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let six = plus_one(five);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |     let s: &'static str = "I have a static lifetime";
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:413:9
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let i = ImportantExcept {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]    --> src/main.rs:467:49
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let mut expensive_result = Cacher::new(|num| {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let none = plus_one(None);
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 125 -     let none = plus_one(None);
[INFO] [stdout] 125 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let _none = plus_one(None);
[INFO] [stdout]     |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:494:9
[INFO] [stdout]     |
[INFO] [stdout] 494 |     let mut v1 = vec![1, 2, 3];
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:498:9
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let sum: u32 = v1.iter().sum();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blablator`
[INFO] [stdout]    --> src/main.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |     let blablator: Vec<u32> = v1.iter().map(|x| x + 1).collect();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blablator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let sum: u32 = v1.iter().sum();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut e = &mut v[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: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let x = &v[1];
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]    --> src/main.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let v2 = vec!["b", "v"];
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]    --> src/main.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let first = &vector[0];
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let mut init_scores = vec![10, 50];
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut scores2: HashMap<_, _> = teams.iter().zip(init_scores.iter()).collect();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scores2`
[INFO] [stdout]    --> src/main.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut scores2: HashMap<_, _> = teams.iter().zip(init_scores.iter()).collect();
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     let f = match f {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]    --> src/main.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let home: IPStd = "127.0.0.1".parse().unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/main.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let f = File::open("hello.txt")?.read_to_string(&mut s)?;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:786:10
[INFO] [stdout]     |
[INFO] [stdout] 786 |     let (a, b, _) = (1, 2, 3);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:786:13
[INFO] [stdout]     |
[INFO] [stdout] 786 |     let (a, b, _) = (1, 2, 3);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:787:10
[INFO] [stdout]     |
[INFO] [stdout] 787 |     let (a, b, ..) = (1, 2, 3, 4, 5, 6, 7, 8, 9);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:787:13
[INFO] [stdout]     |
[INFO] [stdout] 787 |     let (a, b, ..) = (1, 2, 3, 4, 5, 6, 7, 8, 9);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let integer = Point { x: 5, y: 10 };
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `float`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let float = Point { x: 1.0, y: 2.0 };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |     let s: &'static str = "I have a static lifetime";
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:413:9
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let i = ImportantExcept {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feet`
[INFO] [stdout]    --> src/main.rs:887:11
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |           ^^^^ help: if this is intentional, prefix it with an underscore: `_feet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inches`
[INFO] [stdout]    --> src/main.rs:887:17
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:887:34
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                  ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:887:37
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                     ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `setting_value` is never read
[INFO] [stdout]    --> src/main.rs:897:13
[INFO] [stdout]     |
[INFO] [stdout] 897 |             setting_value = new_setting_value;
[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: `num`
[INFO] [stdout]    --> src/main.rs:467:49
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let mut expensive_result = Cacher::new(|num| {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/main.rs:981:9
[INFO] [stdout]     |
[INFO] [stdout] 981 |     let r = address as *const i32;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:494:9
[INFO] [stdout]     |
[INFO] [stdout] 494 |     let mut v1 = vec![1, 2, 3];
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:498:9
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let sum: u32 = v1.iter().sum();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blablator`
[INFO] [stdout]    --> src/main.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |     let blablator: Vec<u32> = v1.iter().map(|x| x + 1).collect();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blablator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]     --> src/main.rs:1057:9
[INFO] [stdout]      |
[INFO] [stdout] 1057 |     let obj = Box::new(Ball { diameter: &num }) as Box<dyn Red>;
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> src/main.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let sum: u32 = v1.iter().sum();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]     --> src/main.rs:1205:9
[INFO] [stdout]      |
[INFO] [stdout] 1205 |     let f: Thunk = Box::new(|| println!("Hi"));
[INFO] [stdout]      |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]     --> src/main.rs:1206:24
[INFO] [stdout]      |
[INFO] [stdout] 1206 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1226:19
[INFO] [stdout]      |
[INFO] [stdout] 1226 |     fn generic<T>(t: T) {}
[INFO] [stdout]      |                   ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1228:27
[INFO] [stdout]      |
[INFO] [stdout] 1228 |     fn generic2<T: Sized>(t: T) {}
[INFO] [stdout]      |                           ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1234:28
[INFO] [stdout]      |
[INFO] [stdout] 1234 |     fn generic3<T: ?Sized>(t: &T) {}
[INFO] [stdout]      |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_strings`
[INFO] [stdout]     --> src/main.rs:1248:9
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     let list_of_strings: Vec<String> = list_of_numbers.iter().map(|i| i.to_string()).collect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_strings2`
[INFO] [stdout]     --> src/main.rs:1249:9
[INFO] [stdout]      |
[INFO] [stdout] 1249 |     let list_of_strings2: Vec<String> = list_of_numbers.iter().map(ToString::to_string).collect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_strings2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v1`
[INFO] [stdout]     --> src/main.rs:1260:13
[INFO] [stdout]      |
[INFO] [stdout] 1260 |         let v1 = c.value(1);
[INFO] [stdout]      |             ^^ help: if this is intentional, prefix it with an underscore: `_v1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:786:10
[INFO] [stdout]     |
[INFO] [stdout] 786 |     let (a, b, _) = (1, 2, 3);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:786:13
[INFO] [stdout]     |
[INFO] [stdout] 786 |     let (a, b, _) = (1, 2, 3);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:787:10
[INFO] [stdout]     |
[INFO] [stdout] 787 |     let (a, b, ..) = (1, 2, 3, 4, 5, 6, 7, 8, 9);
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]     --> src/main.rs:1319:13
[INFO] [stdout]      |
[INFO] [stdout] 1319 |         let d = CustomSmartPointer {
[INFO] [stdout]      |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/main.rs:787:13
[INFO] [stdout]     |
[INFO] [stdout] 787 |     let (a, b, ..) = (1, 2, 3, 4, 5, 6, 7, 8, 9);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]     --> src/main.rs:1338:17
[INFO] [stdout]      |
[INFO] [stdout] 1338 |             let b = Cons(Rc::new(RefCell::new(3)), Rc::clone(&a));
[INFO] [stdout]      |                 ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]     --> src/main.rs:1340:17
[INFO] [stdout]      |
[INFO] [stdout] 1340 |             let c = Cons(Rc::new(RefCell::new(3)), Rc::clone(&a));
[INFO] [stdout]      |                 ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `feet`
[INFO] [stdout]    --> src/main.rs:887:11
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |           ^^^^ help: if this is intentional, prefix it with an underscore: `_feet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inches`
[INFO] [stdout]    --> src/main.rs:887:17
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:887:34
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                  ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:887:37
[INFO] [stdout]     |
[INFO] [stdout] 887 |     let ((feet, inches), Point { x, y }) = ((3, 10), Point { x: 3, y: -10 });
[INFO] [stdout]     |                                     ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `setting_value` is never read
[INFO] [stdout]    --> src/main.rs:897:13
[INFO] [stdout]     |
[INFO] [stdout] 897 |             setting_value = new_setting_value;
[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] error: struct `AveragedCollection` is never constructed
[INFO] [stdout]    --> src/main.rs:689:12
[INFO] [stdout]     |
[INFO] [stdout] 689 | pub struct AveragedCollection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/main.rs:981:9
[INFO] [stdout]     |
[INFO] [stdout] 981 |     let r = address as *const i32;
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `height`, `double_height`, `can_hold`, `name`, and `square` are never used
[INFO] [stdout]   --> src/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 32 |     fn area(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn height(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn double_height(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn name() -> String {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn square(size: u32) -> Rectangle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rectangle_test` is never used
[INFO] [stdout]   --> src/main.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rectangle_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind` is never used
[INFO] [stdout]   --> src/main.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | enum IpAddrKind {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IpAddr` is never constructed
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct IpAddr {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IP` is never used
[INFO] [stdout]   --> src/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 | enum IP {
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ip_test` is never used
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn ip_test() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]     --> src/main.rs:1057:9
[INFO] [stdout]      |
[INFO] [stdout] 1057 |     let obj = Box::new(Ball { diameter: &num }) as Box<dyn Red>;
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `opt_test` is never used
[INFO] [stdout]    --> src/main.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn opt_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_test` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn vec_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_test` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn str_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chars_test` is never used
[INFO] [stdout]    --> src/main.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn chars_test() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hashmap_test` is never used
[INFO] [stdout]    --> src/main.rs:184:4
[INFO] [stdout]     |
[INFO] [stdout] 184 | fn hashmap_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex1` is never used
[INFO] [stdout]    --> src/main.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn ex1() {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn panic() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]    --> src/main.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn open_file() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_with_question` is never used
[INFO] [stdout]    --> src/main.rs:271:4
[INFO] [stdout]     |
[INFO] [stdout] 271 | fn read_username_from_file_with_question() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]    --> src/main.rs:279:4
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn largest<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct_template` is never used
[INFO] [stdout]    --> src/main.rs:290:4
[INFO] [stdout]     |
[INFO] [stdout] 290 | fn struct_template() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `x` is never used
[INFO] [stdout]    --> src/main.rs:296:12
[INFO] [stdout]     |
[INFO] [stdout] 295 |     impl<T> Point<T> {
[INFO] [stdout]     |     ---------------- method in this implementation
[INFO] [stdout] 296 |         fn x(&self) -> &T {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]    --> src/main.rs:301:12
[INFO] [stdout]     |
[INFO] [stdout] 300 |     impl Point<f32> {
[INFO] [stdout]     |     --------------- method in this implementation
[INFO] [stdout] 301 |         fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_example` is never used
[INFO] [stdout]    --> src/main.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn traits_example() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conditional_traits` is never used
[INFO] [stdout]    --> src/main.rs:354:4
[INFO] [stdout]     |
[INFO] [stdout] 354 | fn conditional_traits() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 362 |     impl<T> Pair<T> {
[INFO] [stdout]     |     --------------- associated function in this implementation
[INFO] [stdout] 363 |         fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/main.rs:369:12
[INFO] [stdout]     |
[INFO] [stdout] 368 |     impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     |     ------------------------------------- method in this implementation
[INFO] [stdout] 369 |         fn cmp_display(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/main.rs:379:4
[INFO] [stdout]     |
[INFO] [stdout] 379 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ttl_test` is never used
[INFO] [stdout]    --> src/main.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn ttl_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ttl_test2` is never used
[INFO] [stdout]    --> src/main.rs:397:4
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn ttl_test2() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `level` and `bla` are never used
[INFO] [stdout]    --> src/main.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 402 |     impl<'a> ImportantExcept<'a> {
[INFO] [stdout]     |     ---------------------------- methods in this implementation
[INFO] [stdout] 403 |         fn level(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 406 |         fn bla(&self, bla: &str) -> &str {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_traits_ttl` is never used
[INFO] [stdout]    --> src/main.rs:418:4
[INFO] [stdout]     |
[INFO] [stdout] 418 | fn generic_traits_ttl() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `closure_one` is never used
[INFO] [stdout]    --> src/main.rs:465:4
[INFO] [stdout]     |
[INFO] [stdout] 465 | fn closure_one() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterators` is never used
[INFO] [stdout]    --> src/main.rs:493:4
[INFO] [stdout]     |
[INFO] [stdout] 493 | fn iterators() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]    --> src/main.rs:539:10
[INFO] [stdout]     |
[INFO] [stdout] 539 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]     |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     fields in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]     |
[INFO] [stdout] 539 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 539 +     Cons((), ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]     --> src/main.rs:1205:9
[INFO] [stdout]      |
[INFO] [stdout] 1205 |     let f: Thunk = Box::new(|| println!("Hi"));
[INFO] [stdout]      |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]     --> src/main.rs:1206:24
[INFO] [stdout]      |
[INFO] [stdout] 1206 |     fn takes_long_type(f: Thunk) {}
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1226:19
[INFO] [stdout]      |
[INFO] [stdout] 1226 |     fn generic<T>(t: T) {}
[INFO] [stdout]      |                   ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1228:27
[INFO] [stdout]      |
[INFO] [stdout] 1228 |     fn generic2<T: Sized>(t: T) {}
[INFO] [stdout]      |                           ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]     --> src/main.rs:1234:28
[INFO] [stdout]      |
[INFO] [stdout] 1234 |     fn generic3<T: ?Sized>(t: &T) {}
[INFO] [stdout]      |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]    --> src/main.rs:611:5
[INFO] [stdout]     |
[INFO] [stdout] 610 | struct Node {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 611 |     value: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 612 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 613 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `threads_test` is never used
[INFO] [stdout]    --> src/main.rs:616:4
[INFO] [stdout]     |
[INFO] [stdout] 616 | fn threads_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channels_test` is never used
[INFO] [stdout]    --> src/main.rs:634:4
[INFO] [stdout]     |
[INFO] [stdout] 634 | fn channels_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutex_test` is never used
[INFO] [stdout]    --> src/main.rs:668:4
[INFO] [stdout]     |
[INFO] [stdout] 668 | fn mutex_test() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `screen_test` is never used
[INFO] [stdout]    --> src/main.rs:718:4
[INFO] [stdout]     |
[INFO] [stdout] 718 | fn screen_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `if_let_test` is never used
[INFO] [stdout]    --> src/main.rs:750:4
[INFO] [stdout]     |
[INFO] [stdout] 750 | fn if_let_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `while_let_test` is never used
[INFO] [stdout]    --> src/main.rs:770:4
[INFO] [stdout]     |
[INFO] [stdout] 770 | fn while_let_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `for_destructure_test` is never used
[INFO] [stdout]    --> src/main.rs:781:4
[INFO] [stdout]     |
[INFO] [stdout] 781 | fn for_destructure_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fun_params_match` is never used
[INFO] [stdout]    --> src/main.rs:790:4
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn fun_params_match() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_examples` is never used
[INFO] [stdout]    --> src/main.rs:798:4
[INFO] [stdout]     |
[INFO] [stdout] 798 | fn match_examples() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HELLO_WORLD` is never used
[INFO] [stdout]    --> src/main.rs:965:8
[INFO] [stdout]     |
[INFO] [stdout] 965 | static HELLO_WORLD: &str = "Hello world";
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]    --> src/main.rs:966:12
[INFO] [stdout]     |
[INFO] [stdout] 966 | static mut COUNTER: u32 = 0;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unsafe_examples` is never used
[INFO] [stdout]    --> src/main.rs:968:4
[INFO] [stdout]     |
[INFO] [stdout] 968 | fn unsafe_examples() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `advanced_lifetimes` is never used
[INFO] [stdout]     --> src/main.rs:1032:4
[INFO] [stdout]      |
[INFO] [stdout] 1032 | fn advanced_lifetimes() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse` is never used
[INFO] [stdout]     --> src/main.rs:1038:12
[INFO] [stdout]      |
[INFO] [stdout] 1037 |     impl<'c, 's> Parser<'c, 's> {
[INFO] [stdout]      |     --------------------------- method in this implementation
[INFO] [stdout] 1038 |         fn parse(&self) -> Result<(), &'s str> {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_lifetimes` is never used
[INFO] [stdout]     --> src/main.rs:1048:4
[INFO] [stdout]      |
[INFO] [stdout] 1048 | fn traits_lifetimes() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `overloading_operators` is never used
[INFO] [stdout]     --> src/main.rs:1060:4
[INFO] [stdout]      |
[INFO] [stdout] 1060 | fn overloading_operators() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fully_qualified_syntax_for_disambiguation` is never used
[INFO] [stdout]     --> src/main.rs:1100:4
[INFO] [stdout]      |
[INFO] [stdout] 1100 | fn fully_qualified_syntax_for_disambiguation() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fly` is never used
[INFO] [stdout]     --> src/main.rs:1124:12
[INFO] [stdout]      |
[INFO] [stdout] 1123 |     impl Human {
[INFO] [stdout]      |     ---------- method in this implementation
[INFO] [stdout] 1124 |         fn fly(&self) {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_strings`
[INFO] [stdout]     --> src/main.rs:1248:9
[INFO] [stdout]      |
[INFO] [stdout] 1248 |     let list_of_strings: Vec<String> = list_of_numbers.iter().map(|i| i.to_string()).collect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `baby_name` is never used
[INFO] [stdout]     --> src/main.rs:1140:12
[INFO] [stdout]      |
[INFO] [stdout] 1139 |     impl Dog {
[INFO] [stdout]      |     -------- associated function in this implementation
[INFO] [stdout] 1140 |         fn baby_name() -> String {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list_of_strings2`
[INFO] [stdout]     --> src/main.rs:1249:9
[INFO] [stdout]      |
[INFO] [stdout] 1249 |     let list_of_strings2: Vec<String> = list_of_numbers.iter().map(ToString::to_string).collect();
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_of_strings2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `using_supertrait_to_require_other_trait_func` is never used
[INFO] [stdout]     --> src/main.rs:1153:4
[INFO] [stdout]      |
[INFO] [stdout] 1153 | fn using_supertrait_to_require_other_trait_func() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `using_newtype_to_implement_external_traits` is never used
[INFO] [stdout]     --> src/main.rs:1183:4
[INFO] [stdout]      |
[INFO] [stdout] 1183 | fn using_newtype_to_implement_external_traits() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `AveragedCollection` is never constructed
[INFO] [stdout]    --> src/main.rs:689:12
[INFO] [stdout]     |
[INFO] [stdout] 689 | pub struct AveragedCollection {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `types_and_aliases_example` is never used
[INFO] [stdout]     --> src/main.rs:1196:4
[INFO] [stdout]      |
[INFO] [stdout] 1196 | fn types_and_aliases_example() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dynamically_sized_types` is never used
[INFO] [stdout]     --> src/main.rs:1221:4
[INFO] [stdout]      |
[INFO] [stdout] 1221 | fn dynamically_sized_types() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `height`, `double_height`, `can_hold`, `name`, and `square` are never used
[INFO] [stdout]   --> src/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 32 |     fn area(&self) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn height(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn double_height(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn name() -> String {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn square(size: u32) -> Rectangle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rectangle_test` is never used
[INFO] [stdout]   --> src/main.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn rectangle_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind` is never used
[INFO] [stdout]   --> src/main.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | enum IpAddrKind {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IpAddr` is never constructed
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct IpAddr {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IP` is never used
[INFO] [stdout]   --> src/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 | enum IP {
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ip_test` is never used
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn ip_test() {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `opt_test` is never used
[INFO] [stdout]    --> src/main.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn opt_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_test` is never used
[INFO] [stdout]    --> src/main.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn vec_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_test` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn str_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chars_test` is never used
[INFO] [stdout]    --> src/main.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn chars_test() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hashmap_test` is never used
[INFO] [stdout]    --> src/main.rs:184:4
[INFO] [stdout]     |
[INFO] [stdout] 184 | fn hashmap_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ex1` is never used
[INFO] [stdout]    --> src/main.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn ex1() {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic` is never used
[INFO] [stdout]    --> src/main.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn panic() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]    --> src/main.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn open_file() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file` is never used
[INFO] [stdout]    --> src/main.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn read_username_from_file() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_username_from_file_with_question` is never used
[INFO] [stdout]    --> src/main.rs:271:4
[INFO] [stdout]     |
[INFO] [stdout] 271 | fn read_username_from_file_with_question() -> Result<String, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]    --> src/main.rs:279:4
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn largest<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `struct_template` is never used
[INFO] [stdout]    --> src/main.rs:290:4
[INFO] [stdout]     |
[INFO] [stdout] 290 | fn struct_template() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `x` is never used
[INFO] [stdout]    --> src/main.rs:296:12
[INFO] [stdout]     |
[INFO] [stdout] 295 |     impl<T> Point<T> {
[INFO] [stdout]     |     ---------------- method in this implementation
[INFO] [stdout] 296 |         fn x(&self) -> &T {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]    --> src/main.rs:301:12
[INFO] [stdout]     |
[INFO] [stdout] 300 |     impl Point<f32> {
[INFO] [stdout]     |     --------------- method in this implementation
[INFO] [stdout] 301 |         fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_example` is never used
[INFO] [stdout]    --> src/main.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn traits_example() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conditional_traits` is never used
[INFO] [stdout]    --> src/main.rs:354:4
[INFO] [stdout]     |
[INFO] [stdout] 354 | fn conditional_traits() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:585:27
[INFO] [stdout]     |
[INFO] [stdout] 585 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]     |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 585 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:363:12
[INFO] [stdout]     |
[INFO] [stdout] 362 |     impl<T> Pair<T> {
[INFO] [stdout]     |     --------------- associated function in this implementation
[INFO] [stdout] 363 |         fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/main.rs:369:12
[INFO] [stdout]     |
[INFO] [stdout] 368 |     impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     |     ------------------------------------- method in this implementation
[INFO] [stdout] 369 |         fn cmp_display(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest` is never used
[INFO] [stdout]    --> src/main.rs:379:4
[INFO] [stdout]     |
[INFO] [stdout] 379 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ttl_test` is never used
[INFO] [stdout]    --> src/main.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn ttl_test() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ttl_test2` is never used
[INFO] [stdout]    --> src/main.rs:397:4
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn ttl_test2() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `level` and `bla` are never used
[INFO] [stdout]    --> src/main.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 402 |     impl<'a> ImportantExcept<'a> {
[INFO] [stdout]     |     ---------------------------- methods in this implementation
[INFO] [stdout] 403 |         fn level(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 406 |         fn bla(&self, bla: &str) -> &str {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_traits_ttl` is never used
[INFO] [stdout]    --> src/main.rs:418:4
[INFO] [stdout]     |
[INFO] [stdout] 418 | fn generic_traits_ttl() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]    --> src/main.rs:434:8
[INFO] [stdout]     |
[INFO] [stdout] 434 | struct Cacher<T>
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]    --> src/main.rs:446:8
[INFO] [stdout]     |
[INFO] [stdout] 442 | / impl<T> Cacher<T>
[INFO] [stdout] 443 | | where
[INFO] [stdout] 444 | |     T: Fn(u32) -> u32,
[INFO] [stdout]     | |______________________- associated items in this implementation
[INFO] [stdout] 445 |   {
[INFO] [stdout] 446 |       fn new(calculation: T) -> Cacher<T> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 453 |       fn value(&mut self, arg: u32) -> u32 {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `closure_one` is never used
[INFO] [stdout]    --> src/main.rs:465:4
[INFO] [stdout]     |
[INFO] [stdout] 465 | fn closure_one() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterators` is never used
[INFO] [stdout]    --> src/main.rs:493:4
[INFO] [stdout]     |
[INFO] [stdout] 493 | fn iterators() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]    --> src/main.rs:507:8
[INFO] [stdout]     |
[INFO] [stdout] 507 | struct Shoe {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_my_size` is never used
[INFO] [stdout]    --> src/main.rs:512:4
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn shoes_in_my_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]    --> src/main.rs:516:8
[INFO] [stdout]     |
[INFO] [stdout] 516 | struct Counter {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:520:8
[INFO] [stdout]     |
[INFO] [stdout] 519 | impl Counter {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 520 |     fn new() -> Counter {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]    --> src/main.rs:538:6
[INFO] [stdout]     |
[INFO] [stdout] 538 | enum List {
[INFO] [stdout]     |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]    --> src/main.rs:543:8
[INFO] [stdout]     |
[INFO] [stdout] 543 | struct MyBox<T>(T);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:546:8
[INFO] [stdout]     |
[INFO] [stdout] 545 | impl<T> MyBox<T> {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 546 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomSmartPointer` is never constructed
[INFO] [stdout]    --> src/main.rs:564:8
[INFO] [stdout]     |
[INFO] [stdout] 564 | struct CustomSmartPointer {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]    --> src/main.rs:610:8
[INFO] [stdout]     |
[INFO] [stdout] 610 | struct Node {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `threads_test` is never used
[INFO] [stdout]    --> src/main.rs:616:4
[INFO] [stdout]     |
[INFO] [stdout] 616 | fn threads_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `channels_test` is never used
[INFO] [stdout]    --> src/main.rs:634:4
[INFO] [stdout]     |
[INFO] [stdout] 634 | fn channels_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutex_test` is never used
[INFO] [stdout]    --> src/main.rs:668:4
[INFO] [stdout]     |
[INFO] [stdout] 668 | fn mutex_test() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `screen_test` is never used
[INFO] [stdout]    --> src/main.rs:718:4
[INFO] [stdout]     |
[INFO] [stdout] 718 | fn screen_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `if_let_test` is never used
[INFO] [stdout]    --> src/main.rs:750:4
[INFO] [stdout]     |
[INFO] [stdout] 750 | fn if_let_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `while_let_test` is never used
[INFO] [stdout]    --> src/main.rs:770:4
[INFO] [stdout]     |
[INFO] [stdout] 770 | fn while_let_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `for_destructure_test` is never used
[INFO] [stdout]    --> src/main.rs:781:4
[INFO] [stdout]     |
[INFO] [stdout] 781 | fn for_destructure_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fun_params_match` is never used
[INFO] [stdout]    --> src/main.rs:790:4
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn fun_params_match() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `match_examples` is never used
[INFO] [stdout]    --> src/main.rs:798:4
[INFO] [stdout]     |
[INFO] [stdout] 798 | fn match_examples() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HELLO_WORLD` is never used
[INFO] [stdout]    --> src/main.rs:965:8
[INFO] [stdout]     |
[INFO] [stdout] 965 | static HELLO_WORLD: &str = "Hello world";
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `COUNTER` is never used
[INFO] [stdout]    --> src/main.rs:966:12
[INFO] [stdout]     |
[INFO] [stdout] 966 | static mut COUNTER: u32 = 0;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unsafe_examples` is never used
[INFO] [stdout]    --> src/main.rs:968:4
[INFO] [stdout]     |
[INFO] [stdout] 968 | fn unsafe_examples() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `advanced_lifetimes` is never used
[INFO] [stdout]     --> src/main.rs:1032:4
[INFO] [stdout]      |
[INFO] [stdout] 1032 | fn advanced_lifetimes() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse` is never used
[INFO] [stdout]     --> src/main.rs:1038:12
[INFO] [stdout]      |
[INFO] [stdout] 1037 |     impl<'c, 's> Parser<'c, 's> {
[INFO] [stdout]      |     --------------------------- method in this implementation
[INFO] [stdout] 1038 |         fn parse(&self) -> Result<(), &'s str> {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traits_lifetimes` is never used
[INFO] [stdout]     --> src/main.rs:1048:4
[INFO] [stdout]      |
[INFO] [stdout] 1048 | fn traits_lifetimes() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `overloading_operators` is never used
[INFO] [stdout]     --> src/main.rs:1060:4
[INFO] [stdout]      |
[INFO] [stdout] 1060 | fn overloading_operators() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fully_qualified_syntax_for_disambiguation` is never used
[INFO] [stdout]     --> src/main.rs:1100:4
[INFO] [stdout]      |
[INFO] [stdout] 1100 | fn fully_qualified_syntax_for_disambiguation() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fly` is never used
[INFO] [stdout]     --> src/main.rs:1124:12
[INFO] [stdout]      |
[INFO] [stdout] 1123 |     impl Human {
[INFO] [stdout]      |     ---------- method in this implementation
[INFO] [stdout] 1124 |         fn fly(&self) {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `baby_name` is never used
[INFO] [stdout]     --> src/main.rs:1140:12
[INFO] [stdout]      |
[INFO] [stdout] 1139 |     impl Dog {
[INFO] [stdout]      |     -------- associated function in this implementation
[INFO] [stdout] 1140 |         fn baby_name() -> String {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `using_supertrait_to_require_other_trait_func` is never used
[INFO] [stdout]     --> src/main.rs:1153:4
[INFO] [stdout]      |
[INFO] [stdout] 1153 | fn using_supertrait_to_require_other_trait_func() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `using_newtype_to_implement_external_traits` is never used
[INFO] [stdout]     --> src/main.rs:1183:4
[INFO] [stdout]      |
[INFO] [stdout] 1183 | fn using_newtype_to_implement_external_traits() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `types_and_aliases_example` is never used
[INFO] [stdout]     --> src/main.rs:1196:4
[INFO] [stdout]      |
[INFO] [stdout] 1196 | fn types_and_aliases_example() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dynamically_sized_types` is never used
[INFO] [stdout]     --> src/main.rs:1221:4
[INFO] [stdout]      |
[INFO] [stdout] 1221 | fn dynamically_sized_types() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs` is never used
[INFO] [stdout]     --> src/main.rs:1029:8
[INFO] [stdout]      |
[INFO] [stdout] 1029 |     fn abs(input: i32) -> i32;
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:585:27
[INFO] [stdout]     |
[INFO] [stdout] 585 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]     |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 585 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]     |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1020:33
[INFO] [stdout]      |
[INFO] [stdout] 1020 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]      |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/main.rs:1043:31
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     fn parse_context(context: Context) -> Result<(), &str> {
[INFO] [stdout]      |                               ^^^^^^^                ^^^^ the same lifetime is elided here
[INFO] [stdout]      |                               |
[INFO] [stdout]      |                               the lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     fn parse_context(context: Context<'_>) -> Result<(), &str> {
[INFO] [stdout]      |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1020:33
[INFO] [stdout]      |
[INFO] [stdout] 1020 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]      |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/main.rs:1043:31
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     fn parse_context(context: Context) -> Result<(), &str> {
[INFO] [stdout]      |                               ^^^^^^^                ^^^^ the same lifetime is elided here
[INFO] [stdout]      |                               |
[INFO] [stdout]      |                               the lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1043 |     fn parse_context(context: Context<'_>) -> Result<(), &str> {
[INFO] [stdout]      |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_test` (bin "rust_test" test) due to 1 previous error; 120 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_test` (bin "rust_test") due to 1 previous error; 125 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "995bedfd2f43e0421cdf01529cfaf290666d5b8bca4e97dfd8a13746cef67db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "995bedfd2f43e0421cdf01529cfaf290666d5b8bca4e97dfd8a13746cef67db3", kill_on_drop: false }`
[INFO] [stdout] 995bedfd2f43e0421cdf01529cfaf290666d5b8bca4e97dfd8a13746cef67db3
