[INFO] fetching crate rust-cheatsheet 0.1.0...
[INFO] testing rust-cheatsheet-0.1.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate rust-cheatsheet 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate rust-cheatsheet 0.1.0
[INFO] finished tweaking crates.io crate rust-cheatsheet 0.1.0
[INFO] tweaked toml for crates.io crate rust-cheatsheet 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-cheatsheet 0.1.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rust-cheatsheet 0.1.0 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4dd973ea6d81a184a6e5296c5a6e6169eb17168eeb53786a6e1238bc460e57b5
[INFO] running `Command { std: "docker" "start" "-a" "4dd973ea6d81a184a6e5296c5a6e6169eb17168eeb53786a6e1238bc460e57b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4dd973ea6d81a184a6e5296c5a6e6169eb17168eeb53786a6e1238bc460e57b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dd973ea6d81a184a6e5296c5a6e6169eb17168eeb53786a6e1238bc460e57b5", kill_on_drop: false }`
[INFO] [stdout] 4dd973ea6d81a184a6e5296c5a6e6169eb17168eeb53786a6e1238bc460e57b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7142c42cd6f7725ff754bf4fdb0e9aa243ea1b94afc739ecf609ecffabb5b4e3
[INFO] running `Command { std: "docker" "start" "-a" "7142c42cd6f7725ff754bf4fdb0e9aa243ea1b94afc739ecf609ecffabb5b4e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-cheatsheet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/bin/errors.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let file = match f {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/errors.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let f = File::open("hello.txt").unwrap_or_else(|error| {
[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/bin/errors.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let f = File::open("hello.txt").unwrap();
[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/bin/errors.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let f =File::open("hello.txt").expect("error message couldn't blah blah...");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/errors.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |         Ok(s) => println!("returned string with data"),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/iterators.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let x: Vec<_> = v1.iter().map(|x|  x + 1).collect();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/bin/iterators.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Shoe {
[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 `shoes_in_size` is never used
[INFO] [stdout]   --> src/bin/iterators.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/slices.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::from("hello world");
[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: `slice`
[INFO] [stdout]  --> src/slices.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let slice = &s[0..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let slice = &s[..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let slice = &s[3..s.len()];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/slices.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let slice = &s[3..];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let word = first_word_better(&s[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let word = first_word_better(&string_literal[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let word = first_word_better(string_literal);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/errors.rs:65:2
[INFO] [stdout]    |
[INFO] [stdout] 65 |     read_username_from_file_oneline("hello.txt");
[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] 65 |     let _ = read_username_from_file_oneline("hello.txt");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/ownership.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let y = x;    // copies x to y
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let s2 = s1;    // s1 is considered invalid now
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/ownership.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let s1 = gives_ownership();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/ownership.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s3 = takes_and_gives_back(s2);    // takes s2 then gives it back
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ownership.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn take_ownership (s: String) {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/ownership.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn makes_copy(n :i32) {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -         Int(i32),
[INFO] [stdout] 52 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 53 -         Float(f64),
[INFO] [stdout] 53 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Text(String),
[INFO] [stdout] 54 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Valid(f64)
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 67 -         Valid(f64)
[INFO] [stdout] 67 +         Valid(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_two` is never used
[INFO] [stdout]  --> src/bin/testing.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn add_two(a: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/bin/testing.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/references.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = String::from("hello");
[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: `len`
[INFO] [stdout]  --> src/references.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let len = calculate_length(&s1);
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let r1 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let r1 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]   --> src/references.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let r2 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_string`
[INFO] [stdout]   --> src/references.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn change(some_string: &String) {
[INFO] [stdout]    |           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect1`
[INFO] [stdout]   --> src/structs/structs2.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let rect1 = Rectangle {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/structs/structs2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 4 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/structs/structs2.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct RectangleDebug {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 10 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     height: u32
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RectangleDebug` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let contents = format!("{}\t{}\n", key, value);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/functions.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let y = 6; // is a statement.
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:56
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:63
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]    --> src/bin/generics/main.rs:170:6
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let integer =Point {x: 32, y: 23};
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intfloat`
[INFO] [stdout]    --> src/bin/generics/main.rs:173:6
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let intfloat = Point2 {x: 3.2, y: 32};
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intfloat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_tweet`
[INFO] [stdout]    --> src/bin/generics/main.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let new_tweet = return_summarizable();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tweet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/bin/generics/main.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Point<T> {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 6 |     x: T,
[INFO] [stdout] 7 |     y: T,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/bin/generics/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point2<T, U> {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 11 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 12 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Option` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum Option<T> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Result` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Result<T, E> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 32 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mixup` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T, U> Point2<T, U> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 38 |     fn mixup<V, W>(self, other: Point2<V, W>) -> Point2<T, W> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_mult_impl` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn notify_mult_impl<T: Summary + Minimize>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_where_` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_clone` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn largest_clone<T: PartialOrd + Clone>(list: &[T]) -> T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_using_return_ref` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn largest_using_return_ref<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> src/bin/generics/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | struct Pair<T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<T> Pair<T> {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 136 |     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/bin/generics/main.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl <T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] 142 |     fn cmp_display(&self) { // fn is only implement when generic type of T conform to PartialOrd and Display trait
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 38 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `summarizeDef` should have a snake case name
[INFO] [stdout]   --> src/bin/generics/traits.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn summarizeDef(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `summarize_def`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/structs/structs1.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/structs/structs1.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let black = Color(0, 0, 0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oirigin`
[INFO] [stdout]   --> src/structs/structs1.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let oirigin = Point(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oirigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     struct Color(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |     struct Point(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:52:2
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 52 |     username: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     email: String,
[INFO] [stdout] 54 |     sign_in_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 55 |     active: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[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: `spaces`
[INFO] [stdout]   --> src/variables.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let spaces = spaces.len();         // type: usize
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces_mut`
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces_mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[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/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]   --> src/enums/enums1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     V4(u8, u8, u8, u8),
[INFO] [stdout]    |     -- ^^  ^^  ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 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] 12 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 12 +     V4((), (), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     V6(String)
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     V6(String)
[INFO] [stdout] 13 +     V6(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     Write(String),
[INFO] [stdout] 19 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/enums/enums2.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let v = value_in_cents(c);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enums/enums2.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enums/enums2.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     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] 28 -     let none = plus_one(None);
[INFO] [stdout] 28 +     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] 28 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/enums/enums2.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     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/enums/enums2.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 |         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: variants `Penny` and `Nickel` are never constructed
[INFO] [stdout]  --> src/enums/enums2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 4 |     Penny,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Nickel,
[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: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -         Int(i32),
[INFO] [stdout] 52 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 53 -         Float(f64),
[INFO] [stdout] 53 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Text(String),
[INFO] [stdout] 54 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Valid(f64)
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 67 -         Valid(f64)
[INFO] [stdout] 67 +         Valid(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guess`
[INFO] [stdout]  --> src/data-types.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let guess: u32 = "43".parse().expect("this is not a number");    // works:
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let x: i8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let x: u8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let x: i16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let x: u16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let x: u32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x: i64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let x: u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let x: i128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let x: u128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x: isize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let x: usize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let x = 2.0;    // defaults to f64
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/data-types.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y: f32 = 3.0;     // f32
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/data-types.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let t = true;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/data-types.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let f: bool = false;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/data-types.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let c = 'z';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let z = 'ℤ';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heart_eyed_cat`
[INFO] [stdout]   --> src/data-types.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let heart_eyed_cat = '😻';    // char
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `five_hundred`
[INFO] [stdout]   --> src/data-types.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let five_hundred = tup.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six_point_four`
[INFO] [stdout]   --> src/data-types.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let six_point_four =tup.1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/data-types.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let one = tup.2;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let a: [i32; 5] = [1,2,3,4,5];    // an array of 5 i32's
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fisrt`
[INFO] [stdout]   --> src/data-types.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let fisrt =a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fisrt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s
[INFO] running `Command { std: "docker" "inspect" "7142c42cd6f7725ff754bf4fdb0e9aa243ea1b94afc739ecf609ecffabb5b4e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7142c42cd6f7725ff754bf4fdb0e9aa243ea1b94afc739ecf609ecffabb5b4e3", kill_on_drop: false }`
[INFO] [stdout] 7142c42cd6f7725ff754bf4fdb0e9aa243ea1b94afc739ecf609ecffabb5b4e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e28ce2c1c6c19eac33def5565431a9577193ad464db864ee852f29e68487d97
[INFO] running `Command { std: "docker" "start" "-a" "5e28ce2c1c6c19eac33def5565431a9577193ad464db864ee852f29e68487d97", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-cheatsheet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let contents = format!("{}\t{}\n", key, value);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/ownership.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let y = x;    // copies x to y
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let s2 = s1;    // s1 is considered invalid now
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/ownership.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let s1 = gives_ownership();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/ownership.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s3 = takes_and_gives_back(s2);    // takes s2 then gives it back
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ownership.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/ownership.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn take_ownership (s: String) {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/ownership.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn makes_copy(n :i32) {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/bin/errors.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let file = match f {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/errors.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let f = File::open("hello.txt").unwrap_or_else(|error| {
[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/bin/errors.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let f = File::open("hello.txt").unwrap();
[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/bin/errors.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let f =File::open("hello.txt").expect("error message couldn't blah blah...");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/errors.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |         Ok(s) => println!("returned string with data"),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/errors.rs:65:2
[INFO] [stdout]    |
[INFO] [stdout] 65 |     read_username_from_file_oneline("hello.txt");
[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] 65 |     let _ = read_username_from_file_oneline("hello.txt");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/functions.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let y = 6; // is a statement.
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guess`
[INFO] [stdout]  --> src/data-types.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let guess: u32 = "43".parse().expect("this is not a number");    // works:
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let x: i8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let x: u8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let x: i16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let x: u16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let x: u32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x: i64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let x: u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let x: i128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let x: u128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x: isize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let x: usize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let x = 2.0;    // defaults to f64
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/data-types.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y: f32 = 3.0;     // f32
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/data-types.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let t = true;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/data-types.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let f: bool = false;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/data-types.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let c = 'z';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let z = 'ℤ';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heart_eyed_cat`
[INFO] [stdout]   --> src/data-types.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let heart_eyed_cat = '😻';    // char
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `five_hundred`
[INFO] [stdout]   --> src/data-types.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let five_hundred = tup.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six_point_four`
[INFO] [stdout]   --> src/data-types.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let six_point_four =tup.1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/data-types.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let one = tup.2;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let a: [i32; 5] = [1,2,3,4,5];    // an array of 5 i32's
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fisrt`
[INFO] [stdout]   --> src/data-types.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let fisrt =a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fisrt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -         Int(i32),
[INFO] [stdout] 52 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 53 -         Float(f64),
[INFO] [stdout] 53 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Text(String),
[INFO] [stdout] 54 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Valid(f64)
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 67 -         Valid(f64)
[INFO] [stdout] 67 +         Valid(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/references.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = String::from("hello");
[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: `len`
[INFO] [stdout]  --> src/references.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let len = calculate_length(&s1);
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let r1 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let r1 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]   --> src/references.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let r2 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_string`
[INFO] [stdout]   --> src/references.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn change(some_string: &String) {
[INFO] [stdout]    |           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect1`
[INFO] [stdout]   --> src/structs/structs2.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let rect1 = Rectangle {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/structs/structs2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 4 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/structs/structs2.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct RectangleDebug {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 10 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     height: u32
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RectangleDebug` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:56
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:63
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]    --> src/bin/generics/main.rs:170:6
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let integer =Point {x: 32, y: 23};
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intfloat`
[INFO] [stdout]    --> src/bin/generics/main.rs:173:6
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let intfloat = Point2 {x: 3.2, y: 32};
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intfloat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_tweet`
[INFO] [stdout]    --> src/bin/generics/main.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let new_tweet = return_summarizable();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tweet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/bin/generics/main.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Point<T> {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 6 |     x: T,
[INFO] [stdout] 7 |     y: T,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/bin/generics/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point2<T, U> {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 11 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 12 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Option` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum Option<T> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Result` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Result<T, E> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 32 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mixup` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T, U> Point2<T, U> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 38 |     fn mixup<V, W>(self, other: Point2<V, W>) -> Point2<T, W> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_mult_impl` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn notify_mult_impl<T: Summary + Minimize>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_where_` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_clone` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn largest_clone<T: PartialOrd + Clone>(list: &[T]) -> T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_using_return_ref` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn largest_using_return_ref<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> src/bin/generics/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | struct Pair<T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<T> Pair<T> {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 136 |     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/bin/generics/main.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl <T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] 142 |     fn cmp_display(&self) { // fn is only implement when generic type of T conform to PartialOrd and Display trait
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 38 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `summarizeDef` should have a snake case name
[INFO] [stdout]   --> src/bin/generics/traits.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn summarizeDef(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `summarize_def`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_two` is never used
[INFO] [stdout]  --> src/bin/testing.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn add_two(a: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/bin/testing.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct Rectangle {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[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/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[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: `spaces`
[INFO] [stdout]   --> src/variables.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let spaces = spaces.len();         // type: usize
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces_mut`
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces_mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/slices.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::from("hello world");
[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: `slice`
[INFO] [stdout]  --> src/slices.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let slice = &s[0..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let slice = &s[..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let slice = &s[3..s.len()];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/slices.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let slice = &s[3..];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let word = first_word_better(&s[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let word = first_word_better(&string_literal[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let word = first_word_better(string_literal);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/enums/enums2.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let v = value_in_cents(c);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enums/enums2.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[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/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]   --> src/enums/enums1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     V4(u8, u8, u8, u8),
[INFO] [stdout]    |     -- ^^  ^^  ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 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] 12 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 12 +     V4((), (), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     V6(String)
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     V6(String)
[INFO] [stdout] 13 +     V6(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     Write(String),
[INFO] [stdout] 19 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/references.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = String::from("hello");
[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: `len`
[INFO] [stdout]  --> src/references.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let len = calculate_length(&s1);
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let r1 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/references.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let r1 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]   --> src/references.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let r2 = &s; // no problem
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_string`
[INFO] [stdout]   --> src/references.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn change(some_string: &String) {
[INFO] [stdout]    |           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[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/enums/enums2.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     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] 28 -     let none = plus_one(None);
[INFO] [stdout] 28 +     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] 28 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/enums/enums2.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     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/enums/enums2.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 |         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: variants `Penny` and `Nickel` are never constructed
[INFO] [stdout]  --> src/enums/enums2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 4 |     Penny,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Nickel,
[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: `file`
[INFO] [stdout]   --> src/bin/errors.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let file = match f {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/errors.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let f = File::open("hello.txt").unwrap_or_else(|error| {
[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/bin/errors.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let f = File::open("hello.txt").unwrap();
[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/bin/errors.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let f =File::open("hello.txt").expect("error message couldn't blah blah...");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/errors.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |         Ok(s) => println!("returned string with data"),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/errors.rs:65:2
[INFO] [stdout]    |
[INFO] [stdout] 65 |     read_username_from_file_oneline("hello.txt");
[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] 65 |     let _ = read_username_from_file_oneline("hello.txt");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rect1`
[INFO] [stdout]   --> src/structs/structs2.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let rect1 = Rectangle {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let contents = format!("{}\t{}\n", key, value);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/structs/structs2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 4 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     height: u32,
[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: `v`
[INFO] [stdout]   --> src/enums/enums2.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let v = value_in_cents(c);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six`
[INFO] [stdout]   --> src/enums/enums2.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let six = plus_one(five);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `none`
[INFO] [stdout]   --> src/enums/enums2.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     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] 28 -     let none = plus_one(None);
[INFO] [stdout] 28 +     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] 28 |     let _none = plus_one(None);
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/enums/enums2.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     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/enums/enums2.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 |         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: variants `Penny` and `Nickel` are never constructed
[INFO] [stdout]  --> src/enums/enums2.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 4 |     Penny,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     Nickel,
[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: `user3`
[INFO] [stdout]   --> src/structs/structs1.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/structs/structs1.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let black = Color(0, 0, 0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oirigin`
[INFO] [stdout]   --> src/structs/structs1.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let oirigin = Point(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oirigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     struct Color(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |     struct Point(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:52:2
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 52 |     username: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     email: String,
[INFO] [stdout] 54 |     sign_in_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 55 |     active: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -         Int(i32),
[INFO] [stdout] 52 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 53 -         Float(f64),
[INFO] [stdout] 53 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Text(String),
[INFO] [stdout] 54 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Valid(f64)
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 67 -         Valid(f64)
[INFO] [stdout] 67 +         Valid(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/structs/structs2.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct RectangleDebug {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 10 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     height: u32
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RectangleDebug` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::new();      // type: String
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let s = data.to_string();      // type: String
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/bin/collections/strings.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let s = String::from("initial contents");
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let hello = String::from("Dobrý den");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let hello = String::from("Hello");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let hello = String::from("नमस्ते");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let hello = String::from("こんにちは");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let hello = String::from("안녕하세요");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let hello = String::from("你好");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let hello = String::from("Olá");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let hello = String::from("Hola");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/bin/collections/strings.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/bin/collections/strings.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let s1 = String::from("hello");
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hello`
[INFO] [stdout]   --> src/bin/collections/strings.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/collections/strings.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 52 -         Int(i32),
[INFO] [stdout] 52 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 53 -         Float(f64),
[INFO] [stdout] 53 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 -         Text(String),
[INFO] [stdout] 54 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Valid(f64)
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 67 -         Valid(f64)
[INFO] [stdout] 67 +         Valid(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/iterators.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let x: Vec<_> = v1.iter().map(|x|  x + 1).collect();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/bin/iterators.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Shoe {
[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 `shoes_in_size` is never used
[INFO] [stdout]   --> src/bin/iterators.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]   --> src/enums/enums1.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     V4(u8, u8, u8, u8),
[INFO] [stdout]    |     -- ^^  ^^  ^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 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] 12 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 12 +     V4((), (), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     V6(String)
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     V6(String)
[INFO] [stdout] 13 +     V6(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enums/enums1.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Write(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     Write(String),
[INFO] [stdout] 19 +     Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/slices.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut s = String::from("hello world");
[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: `slice`
[INFO] [stdout]  --> src/slices.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let slice = &s[0..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let slice = &s[..2];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]  --> src/slices.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let slice = &s[3..s.len()];
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]   --> src/slices.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let slice = &s[3..];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let word = first_word_better(&s[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let word = first_word_better(&string_literal[..]);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/slices.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let word = first_word_better(string_literal);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:56
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:79:63
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:31
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/bin/generics/main.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `integer`
[INFO] [stdout]    --> src/bin/generics/main.rs:170:6
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let integer =Point {x: 32, y: 23};
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intfloat`
[INFO] [stdout]    --> src/bin/generics/main.rs:173:6
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let intfloat = Point2 {x: 3.2, y: 32};
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intfloat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_tweet`
[INFO] [stdout]    --> src/bin/generics/main.rs:212:6
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let new_tweet = return_summarizable();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tweet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]  --> src/bin/generics/main.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Point<T> {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 6 |     x: T,
[INFO] [stdout] 7 |     y: T,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/bin/generics/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point2<T, U> {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 11 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 12 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Option` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum Option<T> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Result` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Result<T, E> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 32 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mixup` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T, U> Point2<T, U> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 38 |     fn mixup<V, W>(self, other: Point2<V, W>) -> Point2<T, W> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_mult_impl` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn notify_mult_impl<T: Summary + Minimize>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_where_` is never used
[INFO] [stdout]   --> src/bin/generics/main.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_clone` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn largest_clone<T: PartialOrd + Clone>(list: &[T]) -> T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest_using_return_ref` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn largest_using_return_ref<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[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: `spaces`
[INFO] [stdout]   --> src/variables.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let spaces = spaces.len();         // type: usize
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces_mut`
[INFO] [stdout]   --> src/variables.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut spaces_mut = "    ";            // type: &str
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces_mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> src/bin/generics/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | struct Pair<T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/bin/generics/main.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl<T> Pair<T> {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 136 |     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/bin/generics/main.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl <T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] 142 |     fn cmp_display(&self) { // fn is only implement when generic type of T conform to PartialOrd and Display trait
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `content` is never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]   --> src/bin/generics/traits.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 38 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait method `summarizeDef` should have a snake case name
[INFO] [stdout]   --> src/bin/generics/traits.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn summarizeDef(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `summarize_def`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guess`
[INFO] [stdout]  --> src/data-types.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let guess: u32 = "43".parse().expect("this is not a number");    // works:
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let x: i8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let x: u8;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let x: i16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let x: u16;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let x: u32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let x: i64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let x: u64;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let x: i128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let x: u128;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x: isize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let x: usize;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let x = 2.0;    // defaults to f64
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/data-types.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let y: f32 = 3.0;     // f32
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/data-types.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let t = true;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/data-types.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let f: bool = false;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/data-types.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let c = 'z';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let z = 'ℤ';    // char
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `heart_eyed_cat`
[INFO] [stdout]   --> src/data-types.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let heart_eyed_cat = '😻';    // char
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/data-types.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/data-types.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `five_hundred`
[INFO] [stdout]   --> src/data-types.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let five_hundred = tup.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `six_point_four`
[INFO] [stdout]   --> src/data-types.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let six_point_four =tup.1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `one`
[INFO] [stdout]   --> src/data-types.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let one = tup.2;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:53:6
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/data-types.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let a: [i32; 5] = [1,2,3,4,5];    // an array of 5 i32's
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fisrt`
[INFO] [stdout]   --> src/data-types.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let fisrt =a[0];
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fisrt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k2`
[INFO] [stdout]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let k2 = String::from("world");
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/iterators.rs:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let x: Vec<_> = v1.iter().map(|x|  x + 1).collect();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/functions.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let y = 6; // is a statement.
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/structs/structs1.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `black`
[INFO] [stdout]   --> src/structs/structs1.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let black = Color(0, 0, 0);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/ownership.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let y = x;    // copies x to y
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let s2 = s1;    // s1 is considered invalid now
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/ownership.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let s1 = gives_ownership();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]   --> src/ownership.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s3 = takes_and_gives_back(s2);    // takes s2 then gives it back
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/ownership.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ownership.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oirigin`
[INFO] [stdout]   --> src/structs/structs1.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let oirigin = Point(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oirigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read
[INFO] [stdout]   --> src/structs/structs1.rs:52:2
[INFO] [stdout]    |
[INFO] [stdout] 51 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 52 |     username: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 53 |     email: String,
[INFO] [stdout] 54 |     sign_in_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 55 |     active: bool,
[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: `s`
[INFO] [stdout]   --> src/ownership.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn take_ownership (s: String) {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/ownership.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn makes_copy(n :i32) {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `does_not_exit`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in &v {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let row = vec![
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `median` is never read
[INFO] [stdout]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut median: f64 = -1.0;
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "5e28ce2c1c6c19eac33def5565431a9577193ad464db864ee852f29e68487d97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e28ce2c1c6c19eac33def5565431a9577193ad464db864ee852f29e68487d97", kill_on_drop: false }`
[INFO] [stdout] 5e28ce2c1c6c19eac33def5565431a9577193ad464db864ee852f29e68487d97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 89924d7492ea293e2cad1a5d22cf2ce1a55b990f4ecaec89779976f2a9c92ec0
[INFO] running `Command { std: "docker" "start" "-a" "89924d7492ea293e2cad1a5d22cf2ce1a55b990f4ecaec89779976f2a9c92ec0", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `c1`
[INFO] [stderr]   --> src/lib.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stderr]    |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c2`
[INFO] [stderr]   --> src/lib.rs:87:31
[INFO] [stderr]    |
[INFO] [stderr] 87 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stderr]    |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cheatsheet` (lib) generated 2 warnings (run `cargo fix --lib -p rust-cheatsheet` to apply 2 suggestions)
[INFO] [stderr] warning: function `add_two` is never used
[INFO] [stderr]  --> src/bin/testing.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn add_two(a: i32) -> i32 {
[INFO] [stderr]   |    ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]   --> src/bin/testing.rs:99:8
[INFO] [stderr]    |
[INFO] [stderr] 99 | struct Rectangle {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/slices.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let mut s = String::from("hello world");
[INFO] [stderr]   |         ----^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slice`
[INFO] [stderr]  --> src/slices.rs:7:6
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let slice = &s[0..2];
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slice`
[INFO] [stderr]  --> src/slices.rs:8:6
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let slice = &s[..2];
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slice`
[INFO] [stderr]  --> src/slices.rs:9:6
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let slice = &s[3..s.len()];
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slice`
[INFO] [stderr]   --> src/slices.rs:10:6
[INFO] [stderr]    |
[INFO] [stderr] 10 |     let slice = &s[3..];
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `word`
[INFO] [stderr]   --> src/slices.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let word = first_word_better(&s[..]);
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `word`
[INFO] [stderr]   --> src/slices.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 |         let word = first_word_better(&string_literal[..]);
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `word`
[INFO] [stderr]   --> src/slices.rs:25:7
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let word = first_word_better(string_literal);
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cheatsheet` (bin "testing") generated 2 warnings
[INFO] [stderr] warning: `rust-cheatsheet` (bin "slices") generated 8 warnings (run `cargo fix --bin "slices" -p rust-cheatsheet` to apply 8 suggestions)
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/enums/enums2.rs:19:6
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let v = value_in_cents(c);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `six`
[INFO] [stderr]   --> src/enums/enums2.rs:27:6
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let six = plus_one(five);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_six`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `none`
[INFO] [stderr]   --> src/enums/enums2.rs:28:6
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let none = plus_one(None);
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stderr]    |
[INFO] [stderr] 28 -     let none = plus_one(None);
[INFO] [stderr] 28 +     let std::prelude::v1::None = plus_one(None);
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let _none = plus_one(None);
[INFO] [stderr]    |         +
[INFO] [stderr] 
[INFO] [stderr] warning: variable `count` is assigned to, but never used
[INFO] [stderr]   --> src/enums/enums2.rs:54:6
[INFO] [stderr]    |
[INFO] [stderr] 54 |     let mut count = 0;
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_count` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `count` is never read
[INFO] [stderr]   --> src/enums/enums2.rs:59:3
[INFO] [stderr]    |
[INFO] [stderr] 59 |         count += 1;
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Penny` and `Nickel` are never constructed
[INFO] [stderr]  --> src/enums/enums2.rs:4:2
[INFO] [stderr]   |
[INFO] [stderr] 3 | enum Coin {
[INFO] [stderr]   |      ---- variants in this enum
[INFO] [stderr] 4 |     Penny,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 5 |     Nickel,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rect1`
[INFO] [stderr]   --> src/structs/structs2.rs:15:6
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let rect1 = Rectangle {
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]  --> src/structs/structs2.rs:4:2
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Rectangle {
[INFO] [stderr]   |        --------- fields in this struct
[INFO] [stderr] 4 |     width: u32,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 5 |     height: u32,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]   --> src/structs/structs2.rs:10:2
[INFO] [stderr]    |
[INFO] [stderr]  9 | struct RectangleDebug {
[INFO] [stderr]    |        -------------- fields in this struct
[INFO] [stderr] 10 |     width: u32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 11 |     height: u32
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RectangleDebug` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/bin/generics/main.rs:79:56
[INFO] [stderr]    |
[INFO] [stderr] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stderr]    |                                                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u`
[INFO] [stderr]   --> src/bin/generics/main.rs:79:63
[INFO] [stderr]    |
[INFO] [stderr] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stderr]    |                                                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/bin/generics/main.rs:81:31
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stderr]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u`
[INFO] [stderr]   --> src/bin/generics/main.rs:81:38
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stderr]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `integer`
[INFO] [stderr]    --> src/bin/generics/main.rs:170:6
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let integer =Point {x: 32, y: 23};
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `intfloat`
[INFO] [stderr]    --> src/bin/generics/main.rs:173:6
[INFO] [stderr]     |
[INFO] [stderr] 173 |     let intfloat = Point2 {x: 3.2, y: 32};
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intfloat`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `new_tweet`
[INFO] [stderr]    --> src/bin/generics/main.rs:212:6
[INFO] [stderr]     |
[INFO] [stderr] 212 |     let new_tweet = return_summarizable();
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_tweet`
[INFO] [stderr] 
[INFO] [stderr] warning: field `y` is never read
[INFO] [stderr]  --> src/bin/generics/main.rs:7:2
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Point<T> {
[INFO] [stderr]   |        ----- field in this struct
[INFO] [stderr] 6 |     x: T,
[INFO] [stderr] 7 |     y: T,
[INFO] [stderr]   |     ^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `x` and `y` are never read
[INFO] [stderr]   --> src/bin/generics/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct Point2<T, U> {
[INFO] [stderr]    |        ------ fields in this struct
[INFO] [stderr] 11 |     x: T,
[INFO] [stderr]    |     ^
[INFO] [stderr] 12 |     y: U,
[INFO] [stderr]    |     ^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Option` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:15:6
[INFO] [stderr]    |
[INFO] [stderr] 15 | enum Option<T> {
[INFO] [stderr]    |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Result` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:20:6
[INFO] [stderr]    |
[INFO] [stderr] 20 | enum Result<T, E> {
[INFO] [stderr]    |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `distance_from_origin` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl Point<f32> {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] 32 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `mixup` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 37 | impl<T, U> Point2<T, U> {
[INFO] [stderr]    | ----------------------- method in this implementation
[INFO] [stderr] 38 |     fn mixup<V, W>(self, other: Point2<V, W>) -> Point2<T, W> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `notify_mult_impl` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:70:4
[INFO] [stderr]    |
[INFO] [stderr] 70 | fn notify_mult_impl<T: Summary + Minimize>(item: &T) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `some_function` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:79:4
[INFO] [stderr]    |
[INFO] [stderr] 79 | fn some_function<T: Display + Debug, U: Clone + Debug>(t: &T, u: &U) -> i32 {5}
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `some_function_where_` is never used
[INFO] [stderr]   --> src/bin/generics/main.rs:81:4
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn some_function_where_<T, U>(t: &T, u: &U) -> i32 
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `largest_clone` is never used
[INFO] [stderr]    --> src/bin/generics/main.rs:107:4
[INFO] [stderr]     |
[INFO] [stderr] 107 | fn largest_clone<T: PartialOrd + Clone>(list: &[T]) -> T {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `largest_using_return_ref` is never used
[INFO] [stderr]    --> src/bin/generics/main.rs:118:4
[INFO] [stderr]     |
[INFO] [stderr] 118 | fn largest_using_return_ref<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Pair` is never constructed
[INFO] [stderr]    --> src/bin/generics/main.rs:130:8
[INFO] [stderr]     |
[INFO] [stderr] 130 | struct Pair<T> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/bin/generics/main.rs:136:5
[INFO] [stderr]     |
[INFO] [stderr] 135 | impl<T> Pair<T> {
[INFO] [stderr]     | --------------- associated function in this implementation
[INFO] [stderr] 136 |     fn new(x: T, y: T) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cmp_display` is never used
[INFO] [stderr]    --> src/bin/generics/main.rs:142:5
[INFO] [stderr]     |
[INFO] [stderr] 141 | impl <T: Display + PartialOrd> Pair<T> {
[INFO] [stderr]     | -------------------------------------- method in this implementation
[INFO] [stderr] 142 |     fn cmp_display(&self) { // fn is only implement when generic type of T conform to PartialOrd and Display trait
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `content` is never read
[INFO] [stderr]   --> src/bin/generics/traits.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct NewsArticle {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub content: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `reply` and `retweet` are never read
[INFO] [stderr]   --> src/bin/generics/traits.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub struct Tweet {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub reply: bool,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 38 |     pub retweet: bool,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait method `summarizeDef` should have a snake case name
[INFO] [stderr]   --> src/bin/generics/traits.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn summarizeDef(&self) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `summarize_def`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/bin/collections/strings.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let mut s = String::new();      // type: String
[INFO] [stderr]   |         ----^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]  --> src/bin/collections/strings.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let mut s = String::new();      // type: String
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]  --> src/bin/collections/strings.rs:7:6
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let s = data.to_string();      // type: String
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]  --> src/bin/collections/strings.rs:8:6
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let s = String::from("initial contents");
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:11:6
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let hello = String::from("السلام عليكم");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let hello = String::from("Dobrý den");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let hello = String::from("Hello");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let hello = String::from("שָׁלוֹם");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let hello = String::from("नमस्ते");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let hello = String::from("こんにちは");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let hello = String::from("안녕하세요");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let hello = String::from("你好");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let hello = String::from("Olá");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let hello = String::from("Здравствуйте");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let hello = String::from("Hola");
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s3`
[INFO] [stderr]   --> src/bin/collections/strings.rs:39:6
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let s3 = s1 + &s2;    // NOTE: s1 has been moved here and can no longer be used
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/bin/collections/strings.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let s = format!("{}-{}-{}", s1, s2, s3);
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s1`
[INFO] [stderr]   --> src/bin/collections/strings.rs:50:6
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let s1 = String::from("hello");
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:53:6
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let hello = String::from("Hola");    // len is 4 each character in UTF-8 is 1 byte
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hello`
[INFO] [stderr]   --> src/bin/collections/strings.rs:54:6
[INFO] [stderr]    |
[INFO] [stderr] 54 |     let hello = String::from("З3дравствуйте");    // len is 24 not 12
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hello`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/bin/collections/strings.rs:57:6
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let s = &hello[0..4];    // type: &str (actual bytes)
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]  --> src/bin/collections/vectors.rs:6:6
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let v: Vec<i32> = Vec::new();
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `does_not_exit`
[INFO] [stderr]   --> src/bin/collections/vectors.rs:34:6
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let does_not_exit = v.get(100);    // type: Option<&i32> // this won't
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_does_not_exit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/bin/collections/vectors.rs:44:6
[INFO] [stderr]    |
[INFO] [stderr] 44 |     for i in &v {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `row`
[INFO] [stderr]   --> src/bin/collections/vectors.rs:57:6
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let row = vec![
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `median` is never read
[INFO] [stderr]    --> src/bin/collections/vectors.rs:103:24
[INFO] [stderr]     |
[INFO] [stderr] 103 |     let mut median: f64 = -1.0;
[INFO] [stderr]     |                           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]  --> src/bin/collections/strings.rs:5:6
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let mut s = String::new();      // type: String
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k2`
[INFO] [stderr]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let k2 = String::from("world");
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/bin/collections/vectors.rs:52:7
[INFO] [stderr]    |
[INFO] [stderr] 52 |         Int(i32),
[INFO] [stderr]    |         --- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 52 -         Int(i32),
[INFO] [stderr] 52 +         Int(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/bin/collections/vectors.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         Float(f64),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 53 -         Float(f64),
[INFO] [stderr] 53 +         Float(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/bin/collections/vectors.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 |         Text(String),
[INFO] [stderr]    |         ---- ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 54 -         Text(String),
[INFO] [stderr] 54 +         Text(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/bin/collections/vectors.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |         Valid(f64)
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 67 -         Valid(f64)
[INFO] [stderr] 67 +         Valid(())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `guess`
[INFO] [stderr]  --> src/data-types.rs:9:6
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let guess: u32 = "43".parse().expect("this is not a number");    // works:
[INFO] [stderr]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:12:6
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let x: i8;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:13:6
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let x: u8;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:14:6
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let x: i16;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:15:6
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let x: u16;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:16:6
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let x: i32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:17:6
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let x: u32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:18:6
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let x: i64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:19:6
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let x: u64;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:20:6
[INFO] [stderr]    |
[INFO] [stderr] 20 |     let x: i128;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:21:6
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let x: u128;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:22:6
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let x: isize;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:23:6
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let x: usize;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:26:6
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let x = 2.0;    // defaults to f64
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/data-types.rs:27:6
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let y: f32 = 3.0;     // f32
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/data-types.rs:30:6
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let t = true;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/data-types.rs:31:6
[INFO] [stderr]    |
[INFO] [stderr] 31 |     let f: bool = false;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> src/data-types.rs:34:6
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let c = 'z';    // char
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]   --> src/data-types.rs:37:6
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let z = 'ℤ';    // char
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `heart_eyed_cat`
[INFO] [stderr]   --> src/data-types.rs:38:6
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let heart_eyed_cat = '😻';    // char
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_heart_eyed_cat`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/data-types.rs:45:7
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let (x, y, z) = tup;
[INFO] [stderr]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]   --> src/data-types.rs:45:13
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let (x, y, z) = tup;
[INFO] [stderr]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `five_hundred`
[INFO] [stderr]   --> src/data-types.rs:48:6
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let five_hundred = tup.0;
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_five_hundred`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `six_point_four`
[INFO] [stderr]   --> src/data-types.rs:49:9
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let six_point_four =tup.1;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_six_point_four`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `one`
[INFO] [stderr]   --> src/data-types.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let one = tup.2;
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_one`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/data-types.rs:53:6
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let a = [1, 2, 3, 4, 5];
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/data-types.rs:55:6
[INFO] [stderr]    |
[INFO] [stderr] 55 |     let a: [i32; 5] = [1,2,3,4,5];    // an array of 5 i32's
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `fisrt`
[INFO] [stderr]   --> src/data-types.rs:57:6
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let fisrt =a[0];
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fisrt`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contents`
[INFO] [stderr]   --> src/main.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let contents = format!("{}\t{}\n", key, value);
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file`
[INFO] [stderr]   --> src/bin/errors.rs:12:6
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let file = match f {
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/bin/errors.rs:24:6
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let f = File::open("hello.txt").unwrap_or_else(|error| {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/bin/errors.rs:36:6
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let f = File::open("hello.txt").unwrap();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/bin/errors.rs:43:6
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let f =File::open("hello.txt").expect("error message couldn't blah blah...");
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/bin/errors.rs:50:6
[INFO] [stderr]    |
[INFO] [stderr] 50 |         Ok(s) => println!("returned string with data"),
[INFO] [stderr]    |            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/bin/errors.rs:65:2
[INFO] [stderr]    |
[INFO] [stderr] 65 |     read_username_from_file_oneline("hello.txt");
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 65 |     let _ = read_username_from_file_oneline("hello.txt");
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/bin/iterators.rs:93:6
[INFO] [stderr]    |
[INFO] [stderr] 93 |     let x: Vec<_> = v1.iter().map(|x|  x + 1).collect();
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shoe` is never constructed
[INFO] [stderr]  --> src/bin/iterators.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct Shoe {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `shoes_in_size` is never used
[INFO] [stderr]   --> src/bin/iterators.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cheatsheet` (bin "enums2") generated 6 warnings (run `cargo fix --bin "enums2" -p rust-cheatsheet` to apply 3 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "structs2") generated 3 warnings (run `cargo fix --bin "structs2" -p rust-cheatsheet` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "generics" test) generated 24 warnings (run `cargo fix --bin "generics" -p rust-cheatsheet --tests` to apply 7 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "strings") generated 21 warnings (run `cargo fix --bin "strings" -p rust-cheatsheet` to apply 21 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "collections") generated 31 warnings (20 duplicates) (run `cargo fix --bin "collections" -p rust-cheatsheet` to apply 6 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "collections" test) generated 31 warnings (31 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "vectors" test) generated 5 warnings (5 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "data-types") generated 28 warnings (run `cargo fix --bin "data-types" -p rust-cheatsheet` to apply 28 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "generics") generated 24 warnings (24 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "main") generated 1 warning (run `cargo fix --bin "main" -p rust-cheatsheet` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "errors" test) generated 6 warnings (run `cargo fix --bin "errors" -p rust-cheatsheet --tests` to apply 5 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "iterators") generated 3 warnings (run `cargo fix --bin "iterators" -p rust-cheatsheet` to apply 1 suggestion)
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/variables.rs:30:6
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let mut spaces_mut = "    ";            // type: &str
[INFO] [stderr]    |         ----^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `spaces`
[INFO] [stderr]   --> src/variables.rs:28:6
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let spaces = spaces.len();         // type: usize
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `spaces_mut`
[INFO] [stderr]   --> src/variables.rs:30:6
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let mut spaces_mut = "    ";            // type: &str
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces_mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/ownership.rs:14:6
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let y = x;    // copies x to y
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s2`
[INFO] [stderr]   --> src/ownership.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let s2 = s1;    // s1 is considered invalid now
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s1`
[INFO] [stderr]   --> src/ownership.rs:64:6
[INFO] [stderr]    |
[INFO] [stderr] 64 |     let s1 = gives_ownership();
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s3`
[INFO] [stderr]   --> src/ownership.rs:66:6
[INFO] [stderr]    |
[INFO] [stderr] 66 |     let s3 = takes_and_gives_back(s2);    // takes s2 then gives it back
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s2`
[INFO] [stderr]   --> src/ownership.rs:70:7
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stderr]    |          ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `len`
[INFO] [stderr]   --> src/ownership.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let (s2, len) = calculate_length(s1);    // rember s1 is moved into function 
[INFO] [stderr]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/ownership.rs:74:20
[INFO] [stderr]    |
[INFO] [stderr] 74 | fn take_ownership (s: String) {
[INFO] [stderr]    |                    ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/ownership.rs:78:15
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn makes_copy(n :i32) {
[INFO] [stderr]    |               ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stderr]   --> src/enums/enums1.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     V4(u8, u8, u8, u8),
[INFO] [stderr]    |     -- ^^  ^^  ^^  ^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 12 -     V4(u8, u8, u8, u8),
[INFO] [stderr] 12 +     V4((), (), (), ()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enums/enums1.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     V6(String)
[INFO] [stderr]    |     -- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IpAddrKind2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 13 -     V6(String)
[INFO] [stderr] 13 +     V6(())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enums/enums1.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 |     Write(String),
[INFO] [stderr]    |     ----- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 19 -     Write(String),
[INFO] [stderr] 19 +     Write(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k2`
[INFO] [stderr]   --> src/bin/collections/hashmaps.rs:70:7
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let k2 = String::from("world");
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_k2`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/functions.rs:13:6
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let y = 6; // is a statement.
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cheatsheet` (bin "vectors") generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "variables" test) generated 3 warnings (run `cargo fix --bin "variables" -p rust-cheatsheet --tests` to apply 3 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "data-types" test) generated 28 warnings (28 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "ownership" test) generated 8 warnings (run `cargo fix --bin "ownership" -p rust-cheatsheet --tests` to apply 8 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "main" test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "enums1" test) generated 3 warnings
[INFO] [stderr] warning: `rust-cheatsheet` (bin "iterators" test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "errors") generated 6 warnings (6 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "hashmaps" test) generated 1 warning (run `cargo fix --bin "hashmaps" -p rust-cheatsheet --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "functions") generated 1 warning (run `cargo fix --bin "functions" -p rust-cheatsheet` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "functions" test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "slices" test) generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: unused variable: `user3`
[INFO] [stderr]   --> src/structs/structs1.rs:18:6
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let user3 = User {
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `black`
[INFO] [stderr]   --> src/structs/structs1.rs:26:6
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let black = Color(0, 0, 0);
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_black`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `oirigin`
[INFO] [stderr]   --> src/structs/structs1.rs:27:6
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let oirigin = Point(0, 0, 0);
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oirigin`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `username`, `sign_in_count`, and `active` are never read
[INFO] [stderr]   --> src/structs/structs1.rs:52:2
[INFO] [stderr]    |
[INFO] [stderr] 51 | struct User {
[INFO] [stderr]    |        ---- fields in this struct
[INFO] [stderr] 52 |     username: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 53 |     email: String,
[INFO] [stderr] 54 |     sign_in_count: u64,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 55 |     active: bool,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/references.rs:28:6
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let mut s = String::from("hello");
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `len`
[INFO] [stderr]  --> src/references.rs:6:6
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let len = calculate_length(&s1);
[INFO] [stderr]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]   --> src/references.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let r1 = &mut s;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]   --> src/references.rs:29:6
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let r1 = &s; // no problem
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r2`
[INFO] [stderr]   --> src/references.rs:30:6
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let r2 = &s; // no problem
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `some_string`
[INFO] [stderr]   --> src/references.rs:61:11
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn change(some_string: &String) {
[INFO] [stderr]    |           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_string`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0`, `1`, and `2` are never read
[INFO] [stderr]   --> src/structs/structs1.rs:24:15
[INFO] [stderr]    |
[INFO] [stderr] 24 |     struct Color(i32, i32, i32);
[INFO] [stderr]    |            ----- ^^^  ^^^  ^^^
[INFO] [stderr]    |            |
[INFO] [stderr]    |            fields in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing these fields
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0`, `1`, and `2` are never read
[INFO] [stderr]   --> src/structs/structs1.rs:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 |     struct Point(i32, i32, i32);
[INFO] [stderr]    |            ----- ^^^  ^^^  ^^^
[INFO] [stderr]    |            |
[INFO] [stderr]    |            fields in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing these fields
[INFO] [stderr] 
[INFO] [stderr] warning: fields `username`, `sign_in_count`, and `active` are never read
[INFO] [stderr]   --> src/structs/structs1.rs:52:2
[INFO] [stderr]    |
[INFO] [stderr] 51 | struct User {
[INFO] [stderr]    |        ---- fields in this struct
[INFO] [stderr] 52 |     username: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 53 |     email: String,
[INFO] [stderr] 54 |     sign_in_count: u64,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 55 |     active: bool,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-cheatsheet` (bin "structs1" test) generated 4 warnings (run `cargo fix --bin "structs1" -p rust-cheatsheet --tests` to apply 3 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "ownership") generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "references") generated 6 warnings (run `cargo fix --bin "references" -p rust-cheatsheet` to apply 6 suggestions)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "strings" test) generated 21 warnings (21 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "structs2" test) generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "structs1") generated 6 warnings (3 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "variables") generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "references" test) generated 6 warnings (6 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "enums1") generated 3 warnings (3 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "hashmaps") generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `rust-cheatsheet` (bin "enums2" test) generated 6 warnings (6 duplicates)
[INFO] [stderr] warning: `rust-cheatsheet` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_cheatsheet-e31204d04f7b0938)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/closures.rs (/opt/rustwide/target/debug/deps/closures-b7fb3c784a9b36ff)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/collections/main.rs (/opt/rustwide/target/debug/deps/collections-ad895dcbf2f2724d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/control-flow.rs (/opt/rustwide/target/debug/deps/control_flow-b4d51c1ad40e2d24)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/data-types.rs (/opt/rustwide/target/debug/deps/data_types-b112708b055686b8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/enums/enums1.rs (/opt/rustwide/target/debug/deps/enums1-e70ae7ce8b6480cb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/enums/enums2.rs (/opt/rustwide/target/debug/deps/enums2-41bfa10be1a0de7f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/errors.rs (/opt/rustwide/target/debug/deps/errors-b27d73d271463bd5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/functions.rs (/opt/rustwide/target/debug/deps/functions-8f0c54f7e26b44cd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/generics/main.rs (/opt/rustwide/target/debug/deps/generics-4de39da86b43664a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/collections/hashmaps.rs (/opt/rustwide/target/debug/deps/hashmaps-dcb40e6f83737898)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/iterators.rs (/opt/rustwide/target/debug/deps/iterators-b8d64c6e09f18bec)
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::calling_next_directly ... ok
[INFO] [stdout] test tests::filers_by_size ... ok
[INFO] [stdout] test tests::iterator_sum ... ok
[INFO] [stdout] test tests::using_other_iterator_trait_methods ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/lifetimes.rs (/opt/rustwide/target/debug/deps/lifetimes-5c7846e63047fa2e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/main-67e9cdd1e6e24514)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/ownership.rs (/opt/rustwide/target/debug/deps/ownership-fde6e4e2106d9b70)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/references.rs (/opt/rustwide/target/debug/deps/references-f1f23a855cdf8561)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/slices.rs (/opt/rustwide/target/debug/deps/slices-fd3eb0ed85e2e69e)
[INFO] [stderr]      Running unittests src/bin/collections/strings.rs (/opt/rustwide/target/debug/deps/strings-6ce57343ffd2df67)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/structs/structs1.rs (/opt/rustwide/target/debug/deps/structs1-6befdfa93045cef3)
[INFO] [stderr]      Running unittests src/structs/structs2.rs (/opt/rustwide/target/debug/deps/structs2-bda0ac5d91770340)
[INFO] [stderr]      Running unittests src/structs/structs3.rs (/opt/rustwide/target/debug/deps/structs3-fc559ba75339a83b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/testing.rs (/opt/rustwide/target/debug/deps/testing-a7a51c5b55df4669)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test tests::expensive_test ... ignored
[INFO] [stdout] test tests::exploration ... ok
[INFO] [stdout] test tests::foooooooooooooo ... ok
[INFO] [stdout] test tests::greeting_contains_name ... ok
[INFO] [stdout] test tests::it_adds_two ... ok
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test tests::larger_can_hold_smaller ... ok
[INFO] [stdout] test tests::great_than_100 - should panic ... ok
[INFO] [stdout] test tests::greater_than_100 - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/variables.rs (/opt/rustwide/target/debug/deps/variables-8627d4fb90e3a8f0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/collections/vectors.rs (/opt/rustwide/target/debug/deps/vectors-092e0a3fddbd915b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-183f2523934c142d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_cheatsheet
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - theory::add_one (line 13) ... ok
[INFO] [stdout] test src/lib.rs - theory::add_two (line 24) ... ok
[INFO] [stdout] test src/lib.rs - base::start (line 60) ... ok
[INFO] [stdout] test src/lib.rs - theory::internal::check_addition (line 43) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "89924d7492ea293e2cad1a5d22cf2ce1a55b990f4ecaec89779976f2a9c92ec0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89924d7492ea293e2cad1a5d22cf2ce1a55b990f4ecaec89779976f2a9c92ec0", kill_on_drop: false }`
[INFO] [stdout] 89924d7492ea293e2cad1a5d22cf2ce1a55b990f4ecaec89779976f2a9c92ec0
