[INFO] fetching crate study-example 0.2.1...
[INFO] testing study-example-0.2.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate study-example 0.2.1 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate study-example 0.2.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hello_macro_derive v0.1.0
[INFO] [stderr]   Downloaded clang-sys v1.6.1
[INFO] [stderr]   Downloaded shlex v1.2.0
[INFO] [stderr]   Downloaded zeroize v1.6.0
[INFO] [stderr]   Downloaded home v0.5.5
[INFO] [stderr]   Downloaded prettyplease v0.2.14
[INFO] [stderr]   Downloaded syn v2.0.31
[INFO] [stderr]   Downloaded rustix v0.38.11
[INFO] [stderr]   Downloaded aho-corasick v1.0.5
[INFO] [stderr]   Downloaded blst v0.3.11
[INFO] [stderr]   Downloaded regex v1.9.5
[INFO] [stderr]   Downloaded c-kzg v0.1.0
[INFO] [stderr]   Downloaded regex-syntax v0.7.5
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.5
[INFO] [stderr]   Downloaded regex-automata v0.3.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d10b3c91146a72be9463e8a0039a628ec73fe8aca4419ab7078867b92508439
[INFO] running `Command { std: "docker" "start" "-a" "6d10b3c91146a72be9463e8a0039a628ec73fe8aca4419ab7078867b92508439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d10b3c91146a72be9463e8a0039a628ec73fe8aca4419ab7078867b92508439", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d10b3c91146a72be9463e8a0039a628ec73fe8aca4419ab7078867b92508439", kill_on_drop: false }`
[INFO] [stdout] 6d10b3c91146a72be9463e8a0039a628ec73fe8aca4419ab7078867b92508439
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f55321db45551cdb30cc2cd23f8b439b112462557e9f91954102f3bd1cc496b
[INFO] running `Command { std: "docker" "start" "-a" "4f55321db45551cdb30cc2cd23f8b439b112462557e9f91954102f3bd1cc496b", 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 bitflags v2.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling blst v0.3.11
[INFO] [stderr]    Compiling rand v0.8.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 c-kzg v0.1.0
[INFO] [stderr]    Compiling zeroize v1.6.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)]` 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)]` 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: `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]    = note: `#[warn(unused_variables)]` on by default
[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: `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: `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)]` 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: `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: `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: `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: `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: `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]    = note: `#[warn(unused_mut)]` on by default
[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: `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: `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] 
[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: `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: `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)]` 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: 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: 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: 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: 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: 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/nightly/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)]` on by default
[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)]` on by default
[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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s
[INFO] running `Command { std: "docker" "inspect" "4f55321db45551cdb30cc2cd23f8b439b112462557e9f91954102f3bd1cc496b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f55321db45551cdb30cc2cd23f8b439b112462557e9f91954102f3bd1cc496b", kill_on_drop: false }`
[INFO] [stdout] 4f55321db45551cdb30cc2cd23f8b439b112462557e9f91954102f3bd1cc496b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 699a9e13bb9932ee28b3e1a572c19d0386509e8ad448f44f0d32ab4ff1afc127
[INFO] running `Command { std: "docker" "start" "-a" "699a9e13bb9932ee28b3e1a572c19d0386509e8ad448f44f0d32ab4ff1afc127", 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)]` 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)]` 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: `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]    = note: `#[warn(unused_variables)]` on by default
[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: `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: `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)]` 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: `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: `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: `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: `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: `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]    = note: `#[warn(unused_mut)]` on by default
[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: `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: `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] 
[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: `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: `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)]` 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] [stderr]    Compiling study-example v0.2.1 (/opt/rustwide/workdir)
[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: 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: 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: 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: 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: 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/nightly/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)]` on by default
[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)]` 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)]` on by default
[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)]` 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)]` 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)]` 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: `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]    = note: `#[warn(unused_variables)]` on by default
[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: `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: `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)]` 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: `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: `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: `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: `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: `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]    = note: `#[warn(unused_mut)]` on by default
[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: `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: `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] 
[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: `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: `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)]` 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: 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: 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: 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: 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/nightly/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)]` on by default
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "699a9e13bb9932ee28b3e1a572c19d0386509e8ad448f44f0d32ab4ff1afc127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "699a9e13bb9932ee28b3e1a572c19d0386509e8ad448f44f0d32ab4ff1afc127", kill_on_drop: false }`
[INFO] [stdout] 699a9e13bb9932ee28b3e1a572c19d0386509e8ad448f44f0d32ab4ff1afc127
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2ce32c6cdf07d1f3013b85cd7f03ac95cd32a456f84ddb8d49c84e04b7860a91
[INFO] running `Command { std: "docker" "start" "-a" "2ce32c6cdf07d1f3013b85cd7f03ac95cd32a456f84ddb8d49c84e04b7860a91", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/basic_concept/basic_concept.rs:154:20
[INFO] [stderr]     |
[INFO] [stderr] 154 |         for num in (0..a1.len()) {
[INFO] [stderr]     |                    ^           ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 154 -         for num in (0..a1.len()) {
[INFO] [stderr] 154 +         for num in 0..a1.len() {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hash_map`
[INFO] [stderr]  --> src/common_collection/hash_map_study.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::{hash_map, HashMap};
[INFO] [stderr]   |                        ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MutexGuard`
[INFO] [stderr]  --> src/concurrency/dead_lock.rs:1:29
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stderr]   |                             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Write` and `self`
[INFO] [stderr]  --> src/package_crate_module/package_crate_module.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{self, Write};
[INFO] [stderr]   |               ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::*`
[INFO] [stderr]  --> src/package_crate_module/package_crate_module.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stderr]  --> src/smart_pointer/refcell_pointer.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::BorrowMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:12:20
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn takes_long_type(f: Box<dyn Fn() + Send + 'static>) {}
[INFO] [stderr]    |                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:20:26
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stderr]    |                          ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:41:15
[INFO] [stderr]    |
[INFO] [stderr] 41 | fn generic<T>(t: T) {}
[INFO] [stderr]    |               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:43:28
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stderr]    |                            ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:45:31
[INFO] [stderr]    |
[INFO] [stderr] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stderr]    |                               ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> src/advance_feature/unsafe_rust.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     let r = address as *const i32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max64_int`
[INFO] [stderr]   --> src/basic_concept/basic_concept.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let max64_int = 2 ^ 64 - 1;
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max64_int`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `x` is never read
[INFO] [stderr]   --> src/basic_concept/basic_concept.rs:59:17
[INFO] [stderr]    |
[INFO] [stderr] 59 |         let mut x: u16 = 10000;
[INFO] [stderr]    |                 ^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `vec1` is never read
[INFO] [stderr]   --> src/common_collection/vector_study.rs:72:13
[INFO] [stderr]    |
[INFO] [stderr] 72 |     let mut vec1: Vec<i32> = Vec::new();
[INFO] [stderr]    |             ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `values`
[INFO] [stderr]   --> src/common_collection/vector_study.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let values: [i32; 3] = [12, 23, 43];
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `some_number`
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let some_number = Some(5);
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_number`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `some_char`
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:79:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let some_char = Some('S');
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_char`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `number`
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |         let number: i32 = 32;
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `str`
[INFO] [stderr]    --> src/enum_pattern_match/enum_pattern_match.rs:119:23
[INFO] [stderr]     |
[INFO] [stderr] 119 |             Coin::ETH(str) => 100_0000_0000_0000_0000,
[INFO] [stderr]     |                       ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `str`
[INFO] [stderr]    --> src/enum_pattern_match/enum_pattern_match.rs:120:24
[INFO] [stderr]     |
[INFO] [stderr] 120 |             Coin::USDT(str) => 100_0000,
[INFO] [stderr]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num1`
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 |     let num1: &i32;
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num2`
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |     let num2: &'a i32;
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `num3`
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 |     let num3: &'a mut i32;
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let s: &'static str = "test 'static";
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/iterator_closure/closure_study.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |     let s = example_closures(String::from("closures."));
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `post`
[INFO] [stderr]   --> src/object_oriented/object_oriented_desgin_pattern.rs:40:27
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/object_oriented/object_oriented_desgin_pattern.rs:88:14
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Some(state) => {
[INFO] [stderr]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ownership.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let mut s1 = String::from("hello");
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ownership.rs:55:17
[INFO] [stderr]    |
[INFO] [stderr] 55 |             let mut s4 = s3;
[INFO] [stderr]    |                 ----^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ownership.rs:69:13
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut str = String::from("move_function_study hello");
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ownership/ownership.rs:73:13
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let mut int1 = 188;
[INFO] [stderr]    |             ----^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `str_ref`
[INFO] [stderr]    --> src/ownership/ownership.rs:121:19
[INFO] [stderr]     |
[INFO] [stderr] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stderr]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_ref`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `string_literal`
[INFO] [stderr]    --> src/ownership/ownership.rs:223:13
[INFO] [stderr]     |
[INFO] [stderr] 223 |         let string_literal = "hello string literal";
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_literal`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/ownership/ownership.rs:233:13
[INFO] [stderr]     |
[INFO] [stderr] 233 |         let mut source_str = String::from("slice hello");
[INFO] [stderr]     |             ----^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> src/smart_pointer/deref_trait.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     let y = &x;
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pointer1`
[INFO] [stderr]   --> src/smart_pointer/drop_trait.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let pointer1 = Point {
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pointer2`
[INFO] [stderr]   --> src/smart_pointer/drop_trait.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let pointer2 = Point {
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]  --> src/smart_pointer/rc_t_count_pointer.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let b = List::Cons(15, Box::new(a));
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]   --> src/smart_pointer/rc_t_count_pointer.rs:48:13
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let d = RcList::Cons(21, Rc::clone(&a));
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color`
[INFO] [stderr]   --> src/struct_related/define_init_struct.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let color = Color(32, 34, 43);
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `point`
[INFO] [stderr]   --> src/struct_related/define_init_struct.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let point = Point(23, -23);
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/advance_feature/advanced_function_closures.rs:45:15
[INFO] [stderr]    |
[INFO] [stderr] 45 |         Value(u32),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 45 -         Value(u32),
[INFO] [stderr] 45 +         Value(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Stop` is never constructed
[INFO] [stderr]   --> src/advance_feature/advanced_function_closures.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     enum Status {
[INFO] [stderr]    |          ------ variant in this enum
[INFO] [stderr] 45 |         Value(u32),
[INFO] [stderr] 46 |         Stop,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `takes_long_type_short` is never used
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn takes_long_type_short(f: Thunk) {}
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `never_fn` is never used
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:32:4
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn never_fn() -> ! {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generic` is never used
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:41:4
[INFO] [stderr]    |
[INFO] [stderr] 41 | fn generic<T>(t: T) {}
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generic_sized` is never used
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn generic_sized<T: Sized>(t: T) {}
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generic_sized_2` is never used
[INFO] [stderr]   --> src/advance_feature/advanced_type.rs:45:4
[INFO] [stderr]    |
[INFO] [stderr] 45 | fn generic_sized_2<T: ?Sized>(t: &T) {}
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Foo` is never used
[INFO] [stderr]   --> src/advance_feature/unsafe_rust.rs:84:14
[INFO] [stderr]    |
[INFO] [stderr] 84 | unsafe trait Foo {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `decimal` is never read
[INFO] [stderr]   --> src/common_collection/hash_map_study.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct CoinProerty {
[INFO] [stderr]    |        ----------- field in this struct
[INFO] [stderr] 11 |     decimal: u32,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CoinProerty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/common_collection/vector_study.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |     Int(i32),
[INFO] [stderr]    |     --- ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 55 -     Int(i32),
[INFO] [stderr] 55 +     Int(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/common_collection/vector_study.rs:56:11
[INFO] [stderr]    |
[INFO] [stderr] 56 |     Float(f64),
[INFO] [stderr]    |     ----- ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 56 -     Float(f64),
[INFO] [stderr] 56 +     Float(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/common_collection/vector_study.rs:57:10
[INFO] [stderr]    |
[INFO] [stderr] 57 |     Text(String),
[INFO] [stderr]    |     ---- ^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 57 -     Text(String),
[INFO] [stderr] 57 +     Text(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `V6` is never constructed
[INFO] [stderr]  --> src/enum_pattern_match/enum_pattern_match.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     enum IpAddrType {
[INFO] [stderr]   |          ---------- variant in this enum
[INFO] [stderr] 4 |         V4,
[INFO] [stderr] 5 |         V6,
[INFO] [stderr]   |         ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `IpAddrType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ip_addr_type` and `address` are never read
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 9  |     struct IpAddr {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 10 |         ip_addr_type: IpAddrType,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 11 |         address: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 |         V4(String),
[INFO] [stderr]    |         -- ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IpAddrEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 16 -         V4(String),
[INFO] [stderr] 16 +         V4(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `V6` is never constructed
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |     enum IpAddrEnum {
[INFO] [stderr]    |          ---------- variant in this enum
[INFO] [stderr] 16 |         V4(String),
[INFO] [stderr] 17 |         V6(String),
[INFO] [stderr]    |         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IpAddrEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Message` is never used
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 |     enum Message {
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:49:15
[INFO] [stderr]    |
[INFO] [stderr] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stderr]    |         ----- ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Msg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 49 -         Write(String),                 // 包括一个单个的字符串
[INFO] [stderr] 49 +         Write(()),                 // 包括一个单个的字符串
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed
[INFO] [stderr]   --> src/enum_pattern_match/enum_pattern_match.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |     enum Msg {
[INFO] [stderr]    |          --- variants in this enum
[INFO] [stderr] 47 |         Quit,                          // 没有数据关联
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 48 |         Move { x: i32, y: i32 },       // 像struct做的，有命名的字段
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 49 |         Write(String),                 // 包括一个单个的字符串
[INFO] [stderr] 50 |         ChangeColor(i32, i64, String), // 包括几个类型的数据
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Msg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ETH` and `USDT` are never constructed
[INFO] [stderr]    --> src/enum_pattern_match/enum_pattern_match.rs:110:9
[INFO] [stderr]     |
[INFO] [stderr] 108 |     enum Coin {
[INFO] [stderr]     |          ---- variants in this enum
[INFO] [stderr] 109 |         BTC(String),
[INFO] [stderr] 110 |         ETH(String),
[INFO] [stderr]     |         ^^^
[INFO] [stderr] 111 |         USDT(String),
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `call_panic_self` is never used
[INFO] [stderr]  --> src/error_handle/panic_unrecoverable.rs:1:4
[INFO] [stderr]   |
[INFO] [stderr] 1 | fn call_panic_self() {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cause_lib_panic` is never used
[INFO] [stderr]  --> src/error_handle/panic_unrecoverable.rs:7:4
[INFO] [stderr]   |
[INFO] [stderr] 7 | fn cause_lib_panic() {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Score` is never constructed
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | struct Score<'a> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_score` is never used
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:40:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl<'a> Score<'a> {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] 39 |     // [规则3]：因为参数之一是 &self ，所以返回类型获取 &self 的生命周期
[INFO] [stderr] 40 |     fn get_score(&self) -> &i32 {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `first_world` is never used
[INFO] [stderr]   --> src/generic_traits_lifetime/lifetime_study.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn first_world(str: &str) -> &str {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Pair` is never constructed
[INFO] [stderr]  --> src/generic_traits_lifetime/traits_study.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | struct Pair<T> {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/generic_traits_lifetime/traits_study.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl<T> Pair<T> {
[INFO] [stderr]   | --------------- associated function in this implementation
[INFO] [stderr] 8 |     fn new(x: T, y: T) -> Self {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cmp_display` is never used
[INFO] [stderr]   --> src/generic_traits_lifetime/traits_study.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl<T: Display + PartialOrd> Pair<T> {
[INFO] [stderr]    | ------------------------------------- method in this implementation
[INFO] [stderr] 13 |     fn cmp_display(&self) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tweet` is never constructed
[INFO] [stderr]   --> src/generic_traits_lifetime/traits_study.rs:25:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | struct Tweet {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `example_closures_study` is never used
[INFO] [stderr]   --> src/iterator_closure/closure_study.rs:64:4
[INFO] [stderr]    |
[INFO] [stderr] 64 | fn example_closures_study() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `height` is never read
[INFO] [stderr]    --> src/iterator_closure/closure_study.rs:116:5
[INFO] [stderr]     |
[INFO] [stderr] 114 | struct Rectangle {
[INFO] [stderr]     |        --------- field in this struct
[INFO] [stderr] 115 |     width: u32,
[INFO] [stderr] 116 |     height: u32,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shoe` is never constructed
[INFO] [stderr]   --> src/iterator_closure/iterator_process_study.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 | struct Shoe {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `shoe_in_size` is never used
[INFO] [stderr]   --> src/iterator_closure/iterator_process_study.rs:53:4
[INFO] [stderr]    |
[INFO] [stderr] 53 | fn shoe_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `options` is never read
[INFO] [stderr]   --> src/object_oriented/trait_object_for_diff_type.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct SelectBox {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 36 |     options: String,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SelectBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `modify_str` is never used
[INFO] [stderr]    --> src/ownership/ownership.rs:121:8
[INFO] [stderr]     |
[INFO] [stderr] 121 |     fn modify_str(str_ref: &String) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Rgb` is never constructed
[INFO] [stderr]   --> src/pattern_match/pattern_syntax.rs:92:5
[INFO] [stderr]    |
[INFO] [stderr] 91 | enum Color {
[INFO] [stderr]    |      ----- variant in this enum
[INFO] [stderr] 92 |     Rgb(i32, i32, i32),
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Quit` and `Write` are never constructed
[INFO] [stderr]   --> src/pattern_match/pattern_syntax.rs:96:5
[INFO] [stderr]    |
[INFO] [stderr] 95 | enum Message {
[INFO] [stderr]    |      ------- variants in this enum
[INFO] [stderr] 96 |     Quit,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 97 |     Move { x: i32, y: i32 },
[INFO] [stderr] 98 |     Write(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Message` is never used
[INFO] [stderr]   --> src/smart_pointer/box_pointer.rs:21:6
[INFO] [stderr]    |
[INFO] [stderr] 21 | enum Message {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/smart_pointer/refcell_pointer.rs:69:10
[INFO] [stderr]    |
[INFO] [stderr] 69 |     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stderr]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 69 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stderr] 69 +     Cons((), ()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/smart_pointer/reference_cycle.rs:7:10
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stderr]   |     ---- ^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 7 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stderr] 7 +     Cons((), RefCell<Rc<List>>),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]   --> src/smart_pointer/reference_cycle.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct Node {
[INFO] [stderr]    |        ---- fields in this struct
[INFO] [stderr] 51 |     value: i32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 52 |     parent: RefCell<Weak<Node>>,
[INFO] [stderr] 53 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `user_id`, `age`, and `active` are never read
[INFO] [stderr]  --> src/struct_related/define_init_struct.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct User {
[INFO] [stderr]   |        ---- fields in this struct
[INFO] [stderr] 3 |     user_id: String,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 4 |     user_name: String,
[INFO] [stderr] 5 |     age: u8,
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 6 |     active: bool,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0`, `1`, and `2` are never read
[INFO] [stderr]   --> src/struct_related/define_init_struct.rs:25:14
[INFO] [stderr]    |
[INFO] [stderr] 25 | struct Color(i32, i32, i32);
[INFO] [stderr]    |        ----- ^^^  ^^^  ^^^
[INFO] [stderr]    |        |
[INFO] [stderr]    |        fields in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing these fields
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/struct_related/define_init_struct.rs:26:14
[INFO] [stderr]    |
[INFO] [stderr] 26 | struct Point(i32, i32);
[INFO] [stderr]    |        ----- ^^^  ^^^
[INFO] [stderr]    |        |
[INFO] [stderr]    |        fields in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing these fields
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/advance_feature/unsafe_rust.rs:102:33
[INFO] [stderr]     |
[INFO] [stderr] 102 |         println!("COUNTER: {}", COUNTER);
[INFO] [stderr]     |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `coinMap` should have a snake case name
[INFO] [stderr]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stderr]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `study-example` (lib) generated 88 warnings (run `cargo fix --lib -p study-example` to apply 10 suggestions)
[INFO] [stderr] warning: `study-example` (lib test) generated 86 warnings (86 duplicates)
[INFO] [stderr] warning: function `guess_game` is never used
[INFO] [stderr]  --> src/main.rs:7:4
[INFO] [stderr]   |
[INFO] [stderr] 7 | fn guess_game() {
[INFO] [stderr]   |    ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `socket`
[INFO] [stderr]   --> src/bin/socket_server.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |         Ok((socket, addr)) => println!("Got a client: {addr:?}"),
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `study-example` (bin "study-example" test) generated 1 warning
[INFO] [stderr] warning: `study-example` (bin "socket_server" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/study_example-4b1762d9748f6a9c)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test generic_traits_lifetime::test_study::longer_str_with_announcement_test ... ok
[INFO] [stdout] test generic_traits_lifetime::test_study::not_equal_test ... ok
[INFO] [stdout] test generic_traits_lifetime::test_study::result_generic_test ... ok
[INFO] [stdout] test iterator_closure::iterator_process_study::tests::test_iterator_demo ... ok
[INFO] [stdout] test iterator_closure::iterator_process_study::tests::test_shoe_in_size ... ok
[INFO] [stdout] test generic_traits_lifetime::test_study::should_panic_test - should panic ... ok
[INFO] [stdout] test generic_traits_lifetime::test_study::assert_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- generic_traits_lifetime::test_study::assert_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'generic_traits_lifetime::test_study::assert_test' panicked at src/generic_traits_lifetime/test_study.rs:22:5:
[INFO] [stdout] test method did not contain name, value was hello Tracking
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b060e5a7732 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b060e5a7732 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b060e5a7732 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b060e5a7732 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b060e5cc7c3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b060e5cc7c3 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5b060e5a4913 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b060e5a4913 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b060e5a7582 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b060e5a8c9c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5b060e5a8af2 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5b060e570af4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5b060e570af4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b060e5a967b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5b060e5a967b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5b060e5a944a - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5b060e5a7c29 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5b060e5a90dd - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5b060e5cb340 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5b060e536981 - study_example::generic_traits_lifetime::test_study::assert_test::h99c98bfb09a8286c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/generic_traits_lifetime/test_study.rs:22:5
[INFO] [stdout]   20:     0x5b060e5370a9 - study_example::generic_traits_lifetime::test_study::assert_test::{{closure}}::h16521f3b358c619f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/generic_traits_lifetime/test_study.rs:18:17
[INFO] [stdout]   21:     0x5b060e5370a9 - core::ops::function::FnOnce::call_once::he5b3aa836a49398c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5b060e57627b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5b060e57627b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   24:     0x5b060e57546e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   25:     0x5b060e57546e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   26:     0x5b060e57546e - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   27:     0x5b060e57546e - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   28:     0x5b060e57546e - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5b060e57546e - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   30:     0x5b060e57546e - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   31:     0x5b060e538fe4 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   32:     0x5b060e538fe4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   33:     0x5b060e53c9ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   34:     0x5b060e53c9ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   35:     0x5b060e53c9ba - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   36:     0x5b060e53c9ba - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   37:     0x5b060e53c9ba - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5b060e53c9ba - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   39:     0x5b060e53c9ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5b060e5ac5d7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   41:     0x5b060e5ac5d7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x5b060e5ac5d7 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   43:     0x7a6aa84c8aa4 - <unknown>
[INFO] [stdout]   44:     0x7a6aa8555a34 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     generic_traits_lifetime::test_study::assert_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "2ce32c6cdf07d1f3013b85cd7f03ac95cd32a456f84ddb8d49c84e04b7860a91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ce32c6cdf07d1f3013b85cd7f03ac95cd32a456f84ddb8d49c84e04b7860a91", kill_on_drop: false }`
[INFO] [stdout] 2ce32c6cdf07d1f3013b85cd7f03ac95cd32a456f84ddb8d49c84e04b7860a91
