[INFO] cloning repository https://github.com/teatang/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teatang/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b14991f3402cece7f39ab5ba0614b0f7baa92d31
[INFO] checking teatang/rust-learning against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteatang%2Frust-learning" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/teatang/rust-learning
[INFO] finished tweaking git repo https://github.com/teatang/rust-learning
[INFO] tweaked toml for git repo https://github.com/teatang/rust-learning written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/teatang/rust-learning on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/teatang/rust-learning 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0
[INFO] running `Command { std: "docker" "start" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking rust-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/collections.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `advanced`
[INFO] [stdout]   --> src/modules.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[cfg(feature = "advanced")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `advanced` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `advanced`
[INFO] [stdout]   --> src/modules.rs:88:11
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[cfg(feature = "advanced")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `advanced` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/variables.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/data_types.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `advanced`
[INFO] [stdout]   --> src/modules.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[cfg(feature = "advanced")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `advanced` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `advanced`
[INFO] [stdout]   --> src/modules.rs:88:11
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[cfg(feature = "advanced")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `advanced` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut s5 = String::from("hello");
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/lifetimes.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn foo<'a, 'b>(x: &'a str, y: &'b str) -> &'b str {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_with_return` is never used
[INFO] [stdout]   --> src/functions.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn add_with_return(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel`, `Dime`, and `Quarter` are never constructed
[INFO] [stdout]    --> src/control_flow.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | enum Coin {
[INFO] [stdout]     |      ---- variants in this enum
[INFO] [stdout] 122 |     Penny,
[INFO] [stdout] 123 |     Nickel,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     Dime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 125 |     Quarter,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Coin` 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 `sign_in_count` is never read
[INFO] [stdout]   --> src/structs.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct User {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     sign_in_count: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `1` and `2` are never read
[INFO] [stdout]   --> src/structs.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Color(i32, i32, i32);
[INFO] [stdout]    |        -----      ^^^  ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Color` 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 `deactivate` is never used
[INFO] [stdout]   --> src/structs.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl User {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn deactivate(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/structs.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl Color {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 58 |     fn new(r: i32, g: i32, b: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `South`, `East`, and `West` are never constructed
[INFO] [stdout]   --> src/enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Direction {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 10 |     North,
[INFO] [stdout] 11 |     South,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     East,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     West,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Poor` is never constructed
[INFO] [stdout]   --> src/enums.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | enum Status {
[INFO] [stdout]    |      ------ variant in this enum
[INFO] [stdout] 65 |     Rich,
[INFO] [stdout] 66 |     Poor,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` 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 `0` is never read
[INFO] [stdout]   --> src/collections.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -         Int(i32),
[INFO] [stdout] 39 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/collections.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -         Float(f64),
[INFO] [stdout] 40 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/collections.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -         Text(String),
[INFO] [stdout] 41 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file_contents` is never used
[INFO] [stdout]   --> src/error_handling.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn read_file_contents(path: &str) -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Custom` is never constructed
[INFO] [stdout]   --> src/error_handling.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum MyError {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 55 |     Custom(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Result` is never used
[INFO] [stdout]   --> src/generics.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum Result<T, E> {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x` and `y` are never used
[INFO] [stdout]   --> src/generics.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<T, U> Point<T, U> {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] 50 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn y(&self) -> &U {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify` is never used
[INFO] [stdout]   --> src/generics.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn notify<T: crate::traits::Summary>(item: &T) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_impl` is never used
[INFO] [stdout]   --> src/generics.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn notify_impl(item: &impl crate::traits::Summary) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]   --> src/traits.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 29 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tweet` 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 `content` is never read
[INFO] [stdout]   --> src/traits.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NewsArticle` 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 `notify_bound` is never used
[INFO] [stdout]   --> src/traits.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn notify_bound<T: Summary>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_multiple` is never used
[INFO] [stdout]   --> src/traits.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn notify_multiple(item: &(impl Summary + fmt::Display)) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> src/traits.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn some_function<T: fmt::Display + Clone, U: Clone + fmt::Debug>(t: T, u: U) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_where` is never used
[INFO] [stdout]   --> src/traits.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn some_function_where<T, U>(t: T, u: U) -> String
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/lifetimes.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn first_word<'a>(s: &'a str) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `announce_and_return_part` is never used
[INFO] [stdout]   --> src/lifetimes.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<'a> ImportantExcerpt<'a> {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn announce_and_return_part<'b>(&self, announcement: &'b str) -> &'b str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GREETING` is never used
[INFO] [stdout]   --> src/lifetimes.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | static GREETING: &str = "Hello";
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_macro` is never used
[INFO] [stdout]   --> src/stdlib.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn panic_macro() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_block_demo` is never used
[INFO] [stdout]   --> src/async_demo.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn async_block_demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stream_demo` is never used
[INFO] [stdout]    --> src/async_demo.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn stream_demo() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `boxed_async` is never used
[INFO] [stdout]    --> src/async_demo.rs:127:10
[INFO] [stdout]     |
[INFO] [stdout] 127 | async fn boxed_async() -> Box<dyn std::future::Future<Output = String> + Send> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/variables.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut y = 10;
[INFO] [stdout]    |                     ^^ this value is reassigned later and never used
[INFO] [stdout] 46 |         y = 20;
[INFO] [stdout]    |         ------ `y` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut s5 = String::from("hello");
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/lifetimes.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn foo<'a, 'b>(x: &'a str, y: &'b str) -> &'b str {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel` and `Quarter` are never constructed
[INFO] [stdout]    --> src/control_flow.rs:123:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | enum Coin {
[INFO] [stdout]     |      ---- variants in this enum
[INFO] [stdout] 122 |     Penny,
[INFO] [stdout] 123 |     Nickel,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 124 |     Dime,
[INFO] [stdout] 125 |     Quarter,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Coin` 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: fields `1` and `2` are never read
[INFO] [stdout]   --> src/structs.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Color(i32, i32, i32);
[INFO] [stdout]    |        -----      ^^^  ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `East` and `West` are never constructed
[INFO] [stdout]   --> src/enums.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Direction {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     East,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     West,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Direction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/collections.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -         Int(i32),
[INFO] [stdout] 39 +         Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/collections.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -         Float(f64),
[INFO] [stdout] 40 +         Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/collections.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 41 -         Text(String),
[INFO] [stdout] 41 +         Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file_contents` is never used
[INFO] [stdout]   --> src/error_handling.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn read_file_contents(path: &str) -> Result<String, io::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Custom` is never constructed
[INFO] [stdout]   --> src/error_handling.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum MyError {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 55 |     Custom(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` 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 `notify` is never used
[INFO] [stdout]   --> src/generics.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn notify<T: crate::traits::Summary>(item: &T) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_impl` is never used
[INFO] [stdout]   --> src/generics.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn notify_impl(item: &impl crate::traits::Summary) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reply` and `retweet` are never read
[INFO] [stdout]   --> src/traits.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 29 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tweet` 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 `content` is never read
[INFO] [stdout]   --> src/traits.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NewsArticle` 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 `notify_bound` is never used
[INFO] [stdout]   --> src/traits.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn notify_bound<T: Summary>(item: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `notify_multiple` is never used
[INFO] [stdout]   --> src/traits.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn notify_multiple(item: &(impl Summary + fmt::Display)) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> src/traits.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn some_function<T: fmt::Display + Clone, U: Clone + fmt::Debug>(t: T, u: U) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function_where` is never used
[INFO] [stdout]   --> src/traits.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn some_function_where<T, U>(t: T, u: U) -> String
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `announce_and_return_part` is never used
[INFO] [stdout]   --> src/lifetimes.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<'a> ImportantExcerpt<'a> {
[INFO] [stdout]    | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn announce_and_return_part<'b>(&self, announcement: &'b str) -> &'b str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GREETING` is never used
[INFO] [stdout]   --> src/lifetimes.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | static GREETING: &str = "Hello";
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `panic_macro` is never used
[INFO] [stdout]   --> src/stdlib.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn panic_macro() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_block_demo` is never used
[INFO] [stdout]   --> src/async_demo.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn async_block_demo() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stream_demo` is never used
[INFO] [stdout]    --> src/async_demo.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn stream_demo() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `boxed_async` is never used
[INFO] [stdout]    --> src/async_demo.rs:127:10
[INFO] [stdout]     |
[INFO] [stdout] 127 | async fn boxed_async() -> Box<dyn std::future::Future<Output = String> + Send> {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.36s
[INFO] running `Command { std: "docker" "inspect" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0", kill_on_drop: false }`
[INFO] [stdout] 0baf1883a1e36d54a1309dc7753bce2c8d60427017535839ee567045afb7a4b0
