[INFO] fetching crate study-example 0.2.1...
[INFO] building study-example-0.2.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate study-example 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate study-example 0.2.1
[INFO] finished tweaking crates.io crate study-example 0.2.1
[INFO] tweaked toml for crates.io crate study-example 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate study-example 0.2.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate study-example 0.2.1 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6eb17630eedf021489f18eb361f461e8fd652b96a92587e6a473bb4aba4c3b9d
[INFO] running `Command { std: "docker" "start" "-a" "6eb17630eedf021489f18eb361f461e8fd652b96a92587e6a473bb4aba4c3b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6eb17630eedf021489f18eb361f461e8fd652b96a92587e6a473bb4aba4c3b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eb17630eedf021489f18eb361f461e8fd652b96a92587e6a473bb4aba4c3b9d", kill_on_drop: false }`
[INFO] [stdout] 6eb17630eedf021489f18eb361f461e8fd652b96a92587e6a473bb4aba4c3b9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7035eb02499099bcfc3494aa0d9ccae78099b0dcba996ac9e2f4f6b0ba42fa80
[INFO] running `Command { std: "docker" "start" "-a" "7035eb02499099bcfc3494aa0d9ccae78099b0dcba996ac9e2f4f6b0ba42fa80", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.11
[INFO] [stderr]    Compiling prettyplease v0.2.14
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling blst v0.3.11
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling hello_macro_derive v0.1.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling c-kzg v0.1.0
[INFO] [stderr]    Compiling study-example v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/basic_concept/basic_concept.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         for num in (0..a1.len()) {
[INFO] [stdout]     |                    ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         for num in (0..a1.len()) {
[INFO] [stdout] 154 +         for num in 0..a1.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash_map`
[INFO] [stdout]  --> src/common_collection/hash_map_study.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{hash_map, HashMap};
[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: `MutexGuard`
[INFO] [stdout]  --> src/concurrency/dead_lock.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::*`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/smart_pointer/refcell_pointer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let num1: &i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num2`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let num2: &'a i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num3`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let num3: &'a mut i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let s: &'static str = "test 'static";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str_ref`
[INFO] [stdout]    --> src/ownership/ownership.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn takes_long_type(f: Box<dyn Fn() + Send + 'static>) {}
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max64_int`
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let max64_int = 2 ^ 64 - 1;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max64_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let some_number = Some(5);
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let some_char = Some('S');
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let number: i32 = 32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Coin::ETH(str) => 100_0000_0000_0000_0000,
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Coin::USDT(str) => 100_0000,
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_literal`
[INFO] [stdout]    --> src/ownership/ownership.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let string_literal = "hello string literal";
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut x: u16 = 10000;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ownership/ownership.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let mut source_str = String::from("slice 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: `s`
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s = example_closures(String::from("closures."));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `vec1` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut vec1: Vec<i32> = Vec::new();
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]   --> src/common_collection/vector_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let values: [i32; 3] = [12, 23, 43];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/smart_pointer/deref_trait.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let y = &x;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer1`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let pointer1 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer2`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let pointer2 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> src/smart_pointer/rc_t_count_pointer.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let b = List::Cons(15, Box::new(a));
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/smart_pointer/rc_t_count_pointer.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let d = RcList::Cons(21, Rc::clone(&a));
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Some(state) => {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut s1 = String::from("hello");
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut s4 = s3;
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut str = String::from("move_function_study hello");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut int1 = 188;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let color = Color(32, 34, 43);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let point = Point(23, -23);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 45 -         Value(u32),
[INFO] [stdout] 45 +         Value(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Stop` is never constructed
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout] 46 |         Stop,
[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: function `takes_long_type_short` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_fn` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn never_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized_2` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 | unsafe trait Foo {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `decimal` is never read
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct CoinProerty {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 11 |     decimal: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinProerty` 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/common_collection/vector_study.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     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] 55 -     Int(i32),
[INFO] [stdout] 55 +     Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 |     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] 56 -     Float(f64),
[INFO] [stdout] 56 +     Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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] 57 -     Text(String),
[INFO] [stdout] 57 +     Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> src/enum_pattern_match/enum_pattern_match.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     enum IpAddrType {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |         V4,
[INFO] [stdout] 5 |         V6,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddrType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip_addr_type` and `address` are never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     struct IpAddr {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 10 |         ip_addr_type: IpAddrType,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |         address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` 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/enum_pattern_match/enum_pattern_match.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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] 16 -         V4(String),
[INFO] [stdout] 16 +         V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum IpAddrEnum {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout] 17 |         V6(String),
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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 `Message` is never used
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |     enum Message {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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] 49 -         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 49 +         Write(()),                 // 包括一个单个的字符串
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     enum Msg {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 47 |         Quit,                          // 没有数据关联
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 48 |         Move { x: i32, y: i32 },       // 像struct做的，有命名的字段
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 50 |         ChangeColor(i32, i64, String), // 包括几个类型的数据
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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 `call_panic_self` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn call_panic_self() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]   --> src/object_oriented/trait_object_for_diff_type.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct SelectBox {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     options: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SelectBox` 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 `modify_str` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cause_lib_panic` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn cause_lib_panic() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Score` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Score<'a> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_score` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Score<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 39 |     // [规则3]：因为参数之一是 &self ，所以返回类型获取 &self 的生命周期
[INFO] [stdout] 40 |     fn get_score(&self) -> &i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_world` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn first_world(str: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Pair<T> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<T> Pair<T> {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] 13 |     fn cmp_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Tweet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_closures_study` is never used
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn example_closures_study() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]    --> src/iterator_closure/closure_study.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Rectangle {
[INFO] [stdout]     |        --------- field in this struct
[INFO] [stdout] 115 |     width: u32,
[INFO] [stdout] 116 |     height: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rectangle` 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 `Shoe` is never constructed
[INFO] [stdout]   --> src/iterator_closure/iterator_process_study.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Shoe {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoe_in_size` is never used
[INFO] [stdout]   --> src/iterator_closure/iterator_process_study.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn shoe_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/advance_feature/unsafe_rust.rs:102:33
[INFO] [stdout]     |
[INFO] [stdout] 102 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]     |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/smart_pointer/box_pointer.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointer/refcell_pointer.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 69 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 69 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/smart_pointer/reference_cycle.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` 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] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/smart_pointer/reference_cycle.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 51 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 52 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 53 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `age`, and `active` are never read
[INFO] [stdout]  --> src/struct_related/define_init_struct.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     user_id: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 4 |     user_name: String,
[INFO] [stdout] 5 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point(i32, i32);
[INFO] [stdout]    |        ----- ^^^  ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 92 |     Rgb(i32, i32, i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit` and `Write` are never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 96 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 97 |     Move { x: i32, y: i32 },
[INFO] [stdout] 98 |     Write(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ETH` and `USDT` are never constructed
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     enum Coin {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 109 |         BTC(String),
[INFO] [stdout] 110 |         ETH(String),
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 111 |         USDT(String),
[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: unused variable: `socket`
[INFO] [stdout]   --> src/bin/socket_server.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         Ok((socket, addr)) => println!("Got a client: {addr:?}"),
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guess_game` is never used
[INFO] [stdout]  --> src/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn guess_game() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.88s
[INFO] running `Command { std: "docker" "inspect" "7035eb02499099bcfc3494aa0d9ccae78099b0dcba996ac9e2f4f6b0ba42fa80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7035eb02499099bcfc3494aa0d9ccae78099b0dcba996ac9e2f4f6b0ba42fa80", kill_on_drop: false }`
[INFO] [stdout] 7035eb02499099bcfc3494aa0d9ccae78099b0dcba996ac9e2f4f6b0ba42fa80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59dd40db1332423bc7acab8648bf0f30e358153ec9a69ebc91b6394349b62fa8
[INFO] running `Command { std: "docker" "start" "-a" "59dd40db1332423bc7acab8648bf0f30e358153ec9a69ebc91b6394349b62fa8", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/basic_concept/basic_concept.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         for num in (0..a1.len()) {
[INFO] [stdout]     |                    ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         for num in (0..a1.len()) {
[INFO] [stdout] 154 +         for num in 0..a1.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash_map`
[INFO] [stdout]  --> src/common_collection/hash_map_study.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{hash_map, HashMap};
[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: `MutexGuard`
[INFO] [stdout]  --> src/concurrency/dead_lock.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::*`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/smart_pointer/refcell_pointer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let num1: &i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num2`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let num2: &'a i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num3`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let num3: &'a mut i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let s: &'static str = "test 'static";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str_ref`
[INFO] [stdout]    --> src/ownership/ownership.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn takes_long_type(f: Box<dyn Fn() + Send + 'static>) {}
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max64_int`
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let max64_int = 2 ^ 64 - 1;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max64_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let some_number = Some(5);
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let some_char = Some('S');
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let number: i32 = 32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Coin::ETH(str) => 100_0000_0000_0000_0000,
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Coin::USDT(str) => 100_0000,
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_literal`
[INFO] [stdout]    --> src/ownership/ownership.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let string_literal = "hello string literal";
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut x: u16 = 10000;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ownership/ownership.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let mut source_str = String::from("slice 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: `s`
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s = example_closures(String::from("closures."));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `vec1` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut vec1: Vec<i32> = Vec::new();
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]   --> src/common_collection/vector_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let values: [i32; 3] = [12, 23, 43];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/smart_pointer/deref_trait.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let y = &x;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer1`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let pointer1 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer2`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let pointer2 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> src/smart_pointer/rc_t_count_pointer.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let b = List::Cons(15, Box::new(a));
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/smart_pointer/rc_t_count_pointer.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let d = RcList::Cons(21, Rc::clone(&a));
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Some(state) => {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut s1 = String::from("hello");
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut s4 = s3;
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut str = String::from("move_function_study hello");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut int1 = 188;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let color = Color(32, 34, 43);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let point = Point(23, -23);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 45 -         Value(u32),
[INFO] [stdout] 45 +         Value(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Stop` is never constructed
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout] 46 |         Stop,
[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: function `takes_long_type_short` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_fn` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn never_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized_2` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 | unsafe trait Foo {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `decimal` is never read
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct CoinProerty {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 11 |     decimal: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinProerty` 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/common_collection/vector_study.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     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] 55 -     Int(i32),
[INFO] [stdout] 55 +     Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 |     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] 56 -     Float(f64),
[INFO] [stdout] 56 +     Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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] 57 -     Text(String),
[INFO] [stdout] 57 +     Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> src/enum_pattern_match/enum_pattern_match.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     enum IpAddrType {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |         V4,
[INFO] [stdout] 5 |         V6,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddrType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip_addr_type` and `address` are never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     struct IpAddr {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 10 |         ip_addr_type: IpAddrType,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |         address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` 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/enum_pattern_match/enum_pattern_match.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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] 16 -         V4(String),
[INFO] [stdout] 16 +         V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum IpAddrEnum {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout] 17 |         V6(String),
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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 `Message` is never used
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |     enum Message {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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] 49 -         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 49 +         Write(()),                 // 包括一个单个的字符串
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     enum Msg {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 47 |         Quit,                          // 没有数据关联
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 48 |         Move { x: i32, y: i32 },       // 像struct做的，有命名的字段
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 50 |         ChangeColor(i32, i64, String), // 包括几个类型的数据
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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 `call_panic_self` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn call_panic_self() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]   --> src/object_oriented/trait_object_for_diff_type.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct SelectBox {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     options: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SelectBox` 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 `modify_str` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cause_lib_panic` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn cause_lib_panic() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Score` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Score<'a> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_score` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Score<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 39 |     // [规则3]：因为参数之一是 &self ，所以返回类型获取 &self 的生命周期
[INFO] [stdout] 40 |     fn get_score(&self) -> &i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_world` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn first_world(str: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Pair<T> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<T> Pair<T> {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] 13 |     fn cmp_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Tweet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_closures_study` is never used
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn example_closures_study() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]    --> src/iterator_closure/closure_study.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Rectangle {
[INFO] [stdout]     |        --------- field in this struct
[INFO] [stdout] 115 |     width: u32,
[INFO] [stdout] 116 |     height: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rectangle` 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 `Shoe` is never constructed
[INFO] [stdout]   --> src/iterator_closure/iterator_process_study.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Shoe {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoe_in_size` is never used
[INFO] [stdout]   --> src/iterator_closure/iterator_process_study.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn shoe_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/advance_feature/unsafe_rust.rs:102:33
[INFO] [stdout]     |
[INFO] [stdout] 102 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]     |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/smart_pointer/box_pointer.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointer/refcell_pointer.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 69 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 69 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/smart_pointer/reference_cycle.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` 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] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/smart_pointer/reference_cycle.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 51 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 52 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 53 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `age`, and `active` are never read
[INFO] [stdout]  --> src/struct_related/define_init_struct.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     user_id: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 4 |     user_name: String,
[INFO] [stdout] 5 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point(i32, i32);
[INFO] [stdout]    |        ----- ^^^  ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling study-example v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 92 |     Rgb(i32, i32, i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit` and `Write` are never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 96 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 97 |     Move { x: i32, y: i32 },
[INFO] [stdout] 98 |     Write(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ETH` and `USDT` are never constructed
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     enum Coin {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 109 |         BTC(String),
[INFO] [stdout] 110 |         ETH(String),
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 111 |         USDT(String),
[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: function `guess_game` is never used
[INFO] [stdout]  --> src/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn guess_game() {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/basic_concept/basic_concept.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         for num in (0..a1.len()) {
[INFO] [stdout]     |                    ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         for num in (0..a1.len()) {
[INFO] [stdout] 154 +         for num in 0..a1.len() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash_map`
[INFO] [stdout]  --> src/common_collection/hash_map_study.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{hash_map, HashMap};
[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: `MutexGuard`
[INFO] [stdout]  --> src/concurrency/dead_lock.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::*`
[INFO] [stdout]  --> src/package_crate_module/package_crate_module.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `socket`
[INFO] [stdout]   --> src/bin/socket_server.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         Ok((socket, addr)) => println!("Got a client: {addr:?}"),
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/smart_pointer/refcell_pointer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max64_int`
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let max64_int = 2 ^ 64 - 1;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max64_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> src/basic_concept/basic_concept.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut x: u16 = 10000;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> src/smart_pointer/deref_trait.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let y = &x;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer1`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let pointer1 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str_ref`
[INFO] [stdout]    --> src/ownership/ownership.rs:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pointer2`
[INFO] [stdout]   --> src/smart_pointer/drop_trait.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let pointer2 = Point {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]  --> src/smart_pointer/rc_t_count_pointer.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let b = List::Cons(15, Box::new(a));
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let s = example_closures(String::from("closures."));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/smart_pointer/rc_t_count_pointer.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let d = RcList::Cons(21, Rc::clone(&a));
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string_literal`
[INFO] [stdout]    --> src/ownership/ownership.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let string_literal = "hello string literal";
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ownership/ownership.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let mut source_str = String::from("slice 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: value assigned to `vec1` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut vec1: Vec<i32> = Vec::new();
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]   --> src/common_collection/vector_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let values: [i32; 3] = [12, 23, 43];
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn takes_long_type(f: Box<dyn Fn() + Send + 'static>) {}
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |                          ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:40:27
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let color = Color(32, 34, 43);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let point = Point(23, -23);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/object_oriented/object_oriented_desgin_pattern.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Some(state) => {
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let some_number = Some(5);
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `some_char`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let some_char = Some('S');
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `number`
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let number: i32 = 32;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let num1: &i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num2`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let num2: &'a i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num3`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let num3: &'a mut i32;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let s: &'static str = "test 'static";
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Coin::ETH(str) => 100_0000_0000_0000_0000,
[INFO] [stdout]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Coin::USDT(str) => 100_0000,
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut s1 = String::from("hello");
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let mut s4 = s3;
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut str = String::from("move_function_study hello");
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership/ownership.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut int1 = 188;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 45 -         Value(u32),
[INFO] [stdout] 45 +         Value(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Stop` is never constructed
[INFO] [stdout]   --> src/advance_feature/advanced_function_closures.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 45 |         Value(u32),
[INFO] [stdout] 46 |         Stop,
[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: function `takes_long_type_short` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `never_fn` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn never_fn() -> ! {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn generic<T>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generic_sized_2` is never used
[INFO] [stdout]   --> src/advance_feature/advanced_type.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/advance_feature/unsafe_rust.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 | unsafe trait Foo {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `decimal` is never read
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct CoinProerty {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 11 |     decimal: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinProerty` 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/common_collection/vector_study.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     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] 55 -     Int(i32),
[INFO] [stdout] 55 +     Int(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 |     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] 56 -     Float(f64),
[INFO] [stdout] 56 +     Float(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/common_collection/vector_study.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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] 57 -     Text(String),
[INFO] [stdout] 57 +     Text(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> src/enum_pattern_match/enum_pattern_match.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     enum IpAddrType {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 4 |         V4,
[INFO] [stdout] 5 |         V6,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddrType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip_addr_type` and `address` are never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     struct IpAddr {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 10 |         ip_addr_type: IpAddrType,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |         address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` 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/enum_pattern_match/enum_pattern_match.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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] 16 -         V4(String),
[INFO] [stdout] 16 +         V4(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum IpAddrEnum {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 16 |         V4(String),
[INFO] [stdout] 17 |         V6(String),
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddrEnum` 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 `Message` is never used
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |     enum Message {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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] 49 -         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 49 +         Write(()),                 // 包括一个单个的字符串
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stdout]   --> src/enum_pattern_match/enum_pattern_match.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     enum Msg {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 47 |         Quit,                          // 没有数据关联
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 48 |         Move { x: i32, y: i32 },       // 像struct做的，有命名的字段
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stdout] 50 |         ChangeColor(i32, i64, String), // 包括几个类型的数据
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Msg` 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 `ETH` and `USDT` are never constructed
[INFO] [stdout]    --> src/enum_pattern_match/enum_pattern_match.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     enum Coin {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 109 |         BTC(String),
[INFO] [stdout] 110 |         ETH(String),
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 111 |         USDT(String),
[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: function `call_panic_self` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn call_panic_self() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cause_lib_panic` is never used
[INFO] [stdout]  --> src/error_handle/panic_unrecoverable.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn cause_lib_panic() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Score` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Score<'a> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_score` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Score<'a> {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 39 |     // [规则3]：因为参数之一是 &self ，所以返回类型获取 &self 的生命周期
[INFO] [stdout] 40 |     fn get_score(&self) -> &i32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_world` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/lifetime_study.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn first_world(str: &str) -> &str {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Pair<T> {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/generic_traits_lifetime/traits_study.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl<T> Pair<T> {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] 13 |     fn cmp_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tweet` is never constructed
[INFO] [stdout]   --> src/generic_traits_lifetime/traits_study.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Tweet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example_closures_study` is never used
[INFO] [stdout]   --> src/iterator_closure/closure_study.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn example_closures_study() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]    --> src/iterator_closure/closure_study.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Rectangle {
[INFO] [stdout]     |        --------- field in this struct
[INFO] [stdout] 115 |     width: u32,
[INFO] [stdout] 116 |     height: u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Rectangle` 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 `options` is never read
[INFO] [stdout]   --> src/object_oriented/trait_object_for_diff_type.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct SelectBox {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     options: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SelectBox` 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 `Message` is never used
[INFO] [stdout]   --> src/smart_pointer/box_pointer.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointer/refcell_pointer.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 69 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 69 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 69 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/smart_pointer/reference_cycle.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` 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] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/smart_pointer/reference_cycle.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 51 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 52 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 53 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `age`, and `active` are never read
[INFO] [stdout]  --> src/struct_related/define_init_struct.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     user_id: String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 4 |     user_name: String,
[INFO] [stdout] 5 |     age: u8,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 6 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/struct_related/define_init_struct.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point(i32, i32);
[INFO] [stdout]    |        ----- ^^^  ^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modify_str` is never used
[INFO] [stdout]    --> src/ownership/ownership.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/advance_feature/unsafe_rust.rs:102:33
[INFO] [stdout]     |
[INFO] [stdout] 102 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]     |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rgb` is never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | enum Color {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 92 |     Rgb(i32, i32, i32),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit` and `Write` are never constructed
[INFO] [stdout]   --> src/pattern_match/pattern_syntax.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | enum Message {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 96 |     Quit,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 97 |     Move { x: i32, y: i32 },
[INFO] [stdout] 98 |     Write(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s
[INFO] running `Command { std: "docker" "inspect" "59dd40db1332423bc7acab8648bf0f30e358153ec9a69ebc91b6394349b62fa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59dd40db1332423bc7acab8648bf0f30e358153ec9a69ebc91b6394349b62fa8", kill_on_drop: false }`
[INFO] [stdout] 59dd40db1332423bc7acab8648bf0f30e358153ec9a69ebc91b6394349b62fa8
