[INFO] cloning repository https://github.com/psatomas/traits
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/traits" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftraits", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftraits'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e0ef965e93ff15a4a938a581e18789d2c5bcf1ac
[INFO] checking psatomas/traits against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftraits" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/psatomas/traits
[INFO] finished tweaking git repo https://github.com/psatomas/traits
[INFO] tweaked toml for git repo https://github.com/psatomas/traits written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psatomas/traits on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/psatomas/traits 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7017b92386797559dbfee65547540d48602adc80ea96c3b603339bd9c5eecc3a
[INFO] running `Command { std: "docker" "start" "-a" "7017b92386797559dbfee65547540d48602adc80ea96c3b603339bd9c5eecc3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7017b92386797559dbfee65547540d48602adc80ea96c3b603339bd9c5eecc3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7017b92386797559dbfee65547540d48602adc80ea96c3b603339bd9c5eecc3a", kill_on_drop: false }`
[INFO] [stdout] 7017b92386797559dbfee65547540d48602adc80ea96c3b603339bd9c5eecc3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9df58e62639aa5c9b66f88ef71b05db64ddaea4f0aa0158ed57440014d9786cb
[INFO] running `Command { std: "docker" "start" "-a" "9df58e62639aa5c9b66f88ef71b05db64ddaea4f0aa0158ed57440014d9786cb", kill_on_drop: false }`
[INFO] [stderr]     Checking traits v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/bin/implemeting_the_drop_trait.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/implementing_trait_for_struct_I.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[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 `Hotel` is never constructed
[INFO] [stdout]  --> src/bin/implementing_trait_for_struct_I.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Hotel {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/implementing_trait_for_struct_I.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Hotel {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 15 |     fn new(name: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/default_implementations.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/defining_a_trait.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Accommodation {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/implementing_trait_for_struct_I.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[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 `Hotel` is never constructed
[INFO] [stdout]  --> src/bin/implementing_trait_for_struct_I.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Hotel {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/implementing_trait_for_struct_I.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Hotel {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 15 |     fn new(name: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flight` is never constructed
[INFO] [stdout]  --> src/bin/implementing_the_partialeq_trait_for_structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Flight {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/bin/implementing_the_partialeq_trait_for_structs.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Flight {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 9 |     fn new(origin: &str, destination: &str, time: &str) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_description` is never used
[INFO] [stdout]  --> src/bin/trait_bound_syntax.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[INFO] [stdout]   |       ------------- method in this trait
[INFO] [stdout] 4 |     fn get_description(&self) -> String{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 37 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn book_for_one_night<T: Accommodation>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/where_clauses.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/where_clauses.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/where_clauses.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `another_hour`
[INFO] [stdout]   --> src/bin/implementing_the_copy_trait.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let another_hour = one_hour;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_hour`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hours`, `minutes`, and `seconds` are never read
[INFO] [stdout]  --> src/bin/implementing_the_copy_trait.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Duration {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 3 |     hours: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     minutes: u32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 5 |     seconds: u32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Duration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |     entity.book(guest, 1);;
[INFO] [stdout]    |                           ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_description` is never used
[INFO] [stdout]  --> src/bin/traits_for_function_parameter_constraints.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[INFO] [stdout]   |       ------------- method in this trait
[INFO] [stdout] 4 |     fn get_description(&self) -> String{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 37 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/coding_challenge.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let mut pepsi = Soda::new(300, 2.99, String::from("Cherry"));
[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: method `stats` is never used
[INFO] [stdout]  --> src/bin/coding_challenge.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Drinkable {
[INFO] [stdout]   |       --------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 6 |     fn stats(&self) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Whole` is never constructed
[INFO] [stdout]   --> src/bin/coding_challenge.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Milk {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 13 |     Whole,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Milk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/default_implementations.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Flight` is never constructed
[INFO] [stdout]  --> src/bin/implementing_the_partialeq_trait_for_structs.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Flight {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/bin/implementing_the_partialeq_trait_for_structs.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Flight {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 9 |     fn new(origin: &str, destination: &str, time: &str) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Description` is never used
[INFO] [stdout]  --> src/bin/a_preview_of_trait_objects.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | trait Description {
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Hotel<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 16 |     name: T,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<T: Display> Hotel<T> {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 31 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 46 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_and_match` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn mix_and_match<T, U>(first: &mut T, second: &mut U, guest: &str,)
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_best_place_to_stay` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn choose_best_place_to_stay() -> impl Accommodation + Description {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `amount` is never used
[INFO] [stdout]  --> src/bin/traits_with_generics.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Investment<T> {
[INFO] [stdout]   |       ---------- method in this trait
[INFO] [stdout] 2 |     fn amount(&self) -> 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: trait `Taxable` is never used
[INFO] [stdout]  --> src/bin/traits_with_generics.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Taxable: Investment<f64> {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/bin/implemeting_the_drop_trait.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hotel3`
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let hotel3 = Hotel::new(vec!["The Sweet Escape", "Hilton Edition"]);    
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hotel3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait Accommodation {    
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reservations` is never read
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Hotel<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 16 |     name: T,
[INFO] [stdout] 17 |     reservations: HashMap<String, u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AirBnB` is never constructed
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct AirBnB {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl AirBnB {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 51 |     fn new(host: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_and_match` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn mix_and_match<T, U>(first: &mut T, second: &mut U, guest: &str,)
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_best_place_to_stay` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn choose_best_place_to_stay() -> impl Accommodation + Description {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/defining_a_trait.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Accommodation {
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/where_clauses.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/where_clauses.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/where_clauses.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `another_hour`
[INFO] [stdout]   --> src/bin/implementing_the_copy_trait.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let another_hour = one_hour;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_hour`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hours`, `minutes`, and `seconds` are never read
[INFO] [stdout]  --> src/bin/implementing_the_copy_trait.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Duration {
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 3 |     hours: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     minutes: u32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 5 |     seconds: u32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Duration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/mutiple_trait_bounds.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |     entity.book(guest, 1);;
[INFO] [stdout]    |                           ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commute_time` is never read
[INFO] [stdout]  --> src/bin/implementing_the_partialord_trait.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Job {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 4 |     salary: u32,
[INFO] [stdout] 5 |     commute_time: 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: field `commute_time` is never read
[INFO] [stdout]  --> src/bin/implementing_the_partialord_trait.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Job {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 4 |     salary: u32,
[INFO] [stdout] 5 |     commute_time: 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: method `get_description` is never used
[INFO] [stdout]  --> src/bin/traits_for_function_parameter_constraints.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[INFO] [stdout]   |       ------------- method in this trait
[INFO] [stdout] 4 |     fn get_description(&self) -> String{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/traits_for_function_parameter_constraints.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 37 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` 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: `hotel3`
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let hotel3 = Hotel::new(vec!["The Sweet Escape", "Hilton Edition"]);    
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hotel3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Accommodation` is never used
[INFO] [stdout]  --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait Accommodation {    
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reservations` is never read
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Hotel<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 16 |     name: T,
[INFO] [stdout] 17 |     reservations: HashMap<String, u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AirBnB` is never constructed
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct AirBnB {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl AirBnB {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 51 |     fn new(host: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_and_match` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn mix_and_match<T, U>(first: &mut T, second: &mut U, guest: &str,)
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_best_place_to_stay` is never used
[INFO] [stdout]   --> src/bin/traits_bounds_to_conditionally_implement_methods.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn choose_best_place_to_stay() -> impl Accommodation + Description {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `amount` is never used
[INFO] [stdout]  --> src/bin/traits_with_generics.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | trait Investment<T> {
[INFO] [stdout]   |       ---------- method in this trait
[INFO] [stdout] 2 |     fn amount(&self) -> 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: trait `Taxable` is never used
[INFO] [stdout]  --> src/bin/traits_with_generics.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait Taxable: Investment<f64> {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/coding_challenge.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let mut pepsi = Soda::new(300, 2.99, String::from("Cherry"));
[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: method `stats` is never used
[INFO] [stdout]  --> src/bin/coding_challenge.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Drinkable {
[INFO] [stdout]   |       --------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 6 |     fn stats(&self) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Whole` is never constructed
[INFO] [stdout]   --> src/bin/coding_challenge.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Milk {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 13 |     Whole,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Milk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/traits_as_function_return_values.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_description` is never used
[INFO] [stdout]  --> src/bin/trait_bound_syntax.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait Accommodation {
[INFO] [stdout]   |       ------------- method in this trait
[INFO] [stdout] 4 |     fn get_description(&self) -> String{
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Hotel {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Hotel {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 37 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/trait_bound_syntax.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn book_for_one_night<T: Accommodation>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Description` is never used
[INFO] [stdout]  --> src/bin/a_preview_of_trait_objects.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | trait Description {
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Hotel<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 16 |     name: T,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hotel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `summarize` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl<T: Display> Hotel<T> {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 31 |     fn summarize(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct AirBnB {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 46 |     host: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AirBnB` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `book_for_one_night` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn book_for_one_night<T: Accommodation + Description>(entity: &mut T, guest: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_and_match` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn mix_and_match<T, U>(first: &mut T, second: &mut U, guest: &str,)
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `choose_best_place_to_stay` is never used
[INFO] [stdout]   --> src/bin/a_preview_of_trait_objects.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn choose_best_place_to_stay() -> impl Accommodation + Description {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.47s
[INFO] running `Command { std: "docker" "inspect" "9df58e62639aa5c9b66f88ef71b05db64ddaea4f0aa0158ed57440014d9786cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9df58e62639aa5c9b66f88ef71b05db64ddaea4f0aa0158ed57440014d9786cb", kill_on_drop: false }`
[INFO] [stdout] 9df58e62639aa5c9b66f88ef71b05db64ddaea4f0aa0158ed57440014d9786cb
