[INFO] cloning repository https://github.com/psatomas/structs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/structs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fstructs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fstructs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc2141aae0c8c1a38ed89c5a0819c2ff009c2c12
[INFO] checking psatomas/structs against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Fstructs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/psatomas/structs
[INFO] finished tweaking git repo https://github.com/psatomas/structs
[INFO] tweaked toml for git repo https://github.com/psatomas/structs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psatomas/structs on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/psatomas/structs 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6198b819860b34983fae913e75b484e6c77717ca4c2b970dd08ca6c2696d88c2
[INFO] running `Command { std: "docker" "start" "-a" "6198b819860b34983fae913e75b484e6c77717ca4c2b970dd08ca6c2696d88c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6198b819860b34983fae913e75b484e6c77717ca4c2b970dd08ca6c2696d88c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6198b819860b34983fae913e75b484e6c77717ca4c2b970dd08ca6c2696d88c2", kill_on_drop: false }`
[INFO] [stdout] 6198b819860b34983fae913e75b484e6c77717ca4c2b970dd08ca6c2696d88c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 23d50b883453900710de7d9bd044e07ee2db7746fa46b0ec47cdf2b95e48c2cd
[INFO] running `Command { std: "docker" "start" "-a" "23d50b883453900710de7d9bd044e07ee2db7746fa46b0ec47cdf2b95e48c2cd", kill_on_drop: false }`
[INFO] [stderr]     Checking structs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `my_empty_struct`
[INFO] [stdout]  --> src/bin/unit-like_structs.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let my_empty_struct = Empty;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_empty_struct`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/associated_functions.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mocha`
[INFO] [stdout]  --> src/bin/create_a_struct_instance.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mocha = Coffee {
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_mocha`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `release_year` are never read
[INFO] [stdout]  --> src/bin/self_parameter_as_mutable_struct_instance.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct TaylorSwiftSong {
[INFO] [stdout]   |        --------------- fields in this struct
[INFO] [stdout] 3 |     title: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     release_year: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TaylorSwiftSong` 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 `display_song_info` is never used
[INFO] [stdout]  --> src/bin/self_parameter_as_mutable_struct_instance.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl TaylorSwiftSong {
[INFO] [stdout]   | -------------------- method in this implementation
[INFO] [stdout] 9 |     fn display_song_info(self: Self) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price`, `name`, and `is_hot` are never read
[INFO] [stdout]  --> src/bin/create_a_struct_instance.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     struct Coffee {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 3 |         price: f64,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 4 |         name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 5 |         is_hot: bool,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/calling_methods_from_other_methods.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price` and `is_hot` are never read
[INFO] [stdout]  --> src/bin/struct_update_syntax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Coffee {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 2 |     price: f64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout] 4 |     is_hot: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `release_year` is never read
[INFO] [stdout]  --> src/bin/methods_with_mutiple_parameters.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct TaylorSwiftSong {
[INFO] [stdout]   |        --------------- field in this struct
[INFO] [stdout] 3 |     title: String,
[INFO] [stdout] 4 |     release_year: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TaylorSwiftSong` 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: methods `display_song_info` and `double_length` are never used
[INFO] [stdout]   --> src/bin/methods_with_mutiple_parameters.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout]  9 |     fn display_song_info(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/associated_functions.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `passengers` is never read
[INFO] [stdout]   --> src/bin/coding_challenge.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Flight {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |   passengers: u32
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flight` 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: `latte`
[INFO] [stdout]   --> src/bin/struct_field_initialization_shorthand_syntax.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let latte = Coffee {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_latte`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/bin/tuple_structs.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn accept_tuple(t: (u32, u32)) {}
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `go_to_work` is never used
[INFO] [stdout]   --> src/bin/tuple_structs.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn go_to_work(length: ShortDuration) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept_tuple` is never used
[INFO] [stdout]   --> src/bin/tuple_structs.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn accept_tuple(t: (u32, u32)) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_empty_struct`
[INFO] [stdout]  --> src/bin/unit-like_structs.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let my_empty_struct = Empty;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_empty_struct`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `latte`
[INFO] [stdout]   --> src/bin/struct_field_initialization_shorthand_syntax.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let latte = Coffee {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_latte`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/mutiple_impl_blocks.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price` and `is_hot` are never read
[INFO] [stdout]  --> src/bin/struct_update_syntax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Coffee {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 2 |     price: f64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout] 4 |     is_hot: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title` and `release_year` are never read
[INFO] [stdout]  --> src/bin/self_parameter_as_mutable_struct_instance.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct TaylorSwiftSong {
[INFO] [stdout]   |        --------------- fields in this struct
[INFO] [stdout] 3 |     title: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     release_year: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TaylorSwiftSong` 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 `display_song_info` is never used
[INFO] [stdout]  --> src/bin/self_parameter_as_mutable_struct_instance.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl TaylorSwiftSong {
[INFO] [stdout]   | -------------------- method in this implementation
[INFO] [stdout] 9 |     fn display_song_info(self: Self) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `release_year` is never read
[INFO] [stdout]  --> src/bin/methods_with_mutiple_parameters.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct TaylorSwiftSong {
[INFO] [stdout]   |        --------------- field in this struct
[INFO] [stdout] 3 |     title: String,
[INFO] [stdout] 4 |     release_year: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `TaylorSwiftSong` 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: methods `display_song_info` and `double_length` are never used
[INFO] [stdout]   --> src/bin/methods_with_mutiple_parameters.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout]  9 |     fn display_song_info(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/mutiple_impl_blocks.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `double_length` and `is_longer_than` are never used
[INFO] [stdout]   --> src/bin/calling_methods_from_other_methods.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TaylorSwiftSong {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn double_length(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn is_longer_than(&self, other: &Self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Coffee` is never constructed
[INFO] [stdout]  --> src/bin/define_struct.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 |     struct Coffee {
[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 `passengers` is never read
[INFO] [stdout]   --> src/bin/coding_challenge.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Flight {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |   passengers: u32
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flight` 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: `t`
[INFO] [stdout]   --> src/bin/tuple_structs.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn accept_tuple(t: (u32, u32)) {}
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `go_to_work` is never used
[INFO] [stdout]   --> src/bin/tuple_structs.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn go_to_work(length: ShortDuration) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept_tuple` is never used
[INFO] [stdout]   --> src/bin/tuple_structs.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn accept_tuple(t: (u32, u32)) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mocha`
[INFO] [stdout]  --> src/bin/create_a_struct_instance.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mocha = Coffee {
[INFO] [stdout]   |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_mocha`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price`, `name`, and `is_hot` are never read
[INFO] [stdout]  --> src/bin/deriving_debug_trait_for_struct.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Coffee {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 3 |     price: f64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     is_hot: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Coffee` 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: function `drink_coffee` is never used
[INFO] [stdout]   --> src/bin/deriving_debug_trait_for_struct.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn drink_coffee(coffee: &mut Coffee) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price`, `name`, and `is_hot` are never read
[INFO] [stdout]  --> src/bin/deriving_debug_trait_for_struct.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Coffee {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 3 |     price: f64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     is_hot: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Coffee` 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: function `drink_coffee` is never used
[INFO] [stdout]   --> src/bin/deriving_debug_trait_for_struct.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn drink_coffee(coffee: &mut Coffee) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "23d50b883453900710de7d9bd044e07ee2db7746fa46b0ec47cdf2b95e48c2cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23d50b883453900710de7d9bd044e07ee2db7746fa46b0ec47cdf2b95e48c2cd", kill_on_drop: false }`
[INFO] [stdout] 23d50b883453900710de7d9bd044e07ee2db7746fa46b0ec47cdf2b95e48c2cd
