[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 try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftraits" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psatomas/traits on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking psatomas/traits against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftraits" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psatomas/traits on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fe6a61c58b79bb070580a791302e40b8886e21baf43210c50a1c56571b3ef6a
[INFO] running `Command { std: "docker" "start" "-a" "5fe6a61c58b79bb070580a791302e40b8886e21baf43210c50a1c56571b3ef6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fe6a61c58b79bb070580a791302e40b8886e21baf43210c50a1c56571b3ef6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fe6a61c58b79bb070580a791302e40b8886e21baf43210c50a1c56571b3ef6a", kill_on_drop: false }`
[INFO] [stdout] 5fe6a61c58b79bb070580a791302e40b8886e21baf43210c50a1c56571b3ef6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3882530c22038a8fa5f5bb873f78eb37e32ed0792b54dcd763bc550d93fa7449
[INFO] running `Command { std: "docker" "start" "-a" "3882530c22038a8fa5f5bb873f78eb37e32ed0792b54dcd763bc550d93fa7449", kill_on_drop: false }`
[INFO] [stderr]     Checking traits v0.1.0 (/opt/rustwide/workdir)
[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: 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/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: 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 `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: 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: 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: 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: 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: 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: 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/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: 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 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: 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: 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 `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: 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: 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/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: 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/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: 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: 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: 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: 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: 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: 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: 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/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 `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 `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: 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: 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: 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/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 `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "3882530c22038a8fa5f5bb873f78eb37e32ed0792b54dcd763bc550d93fa7449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3882530c22038a8fa5f5bb873f78eb37e32ed0792b54dcd763bc550d93fa7449", kill_on_drop: false }`
[INFO] [stdout] 3882530c22038a8fa5f5bb873f78eb37e32ed0792b54dcd763bc550d93fa7449
