[INFO] fetching crate study-example 0.2.1...
[INFO] testing study-example-0.2.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate study-example 0.2.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate study-example 0.2.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc1/source/Cargo.toml
[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" "+1871252fc8bb672d40787e67404e6eaae7059369" "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 prettyplease v0.2.14
[INFO] [stderr]   Downloaded c-kzg v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64a34a88a4d5b655cfbfafdfe673c7e6c5fab292efa1aef8ed65feaf0c7bdeae
[INFO] running `Command { std: "docker" "start" "-a" "64a34a88a4d5b655cfbfafdfe673c7e6c5fab292efa1aef8ed65feaf0c7bdeae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64a34a88a4d5b655cfbfafdfe673c7e6c5fab292efa1aef8ed65feaf0c7bdeae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64a34a88a4d5b655cfbfafdfe673c7e6c5fab292efa1aef8ed65feaf0c7bdeae", kill_on_drop: false }`
[INFO] [stdout] 64a34a88a4d5b655cfbfafdfe673c7e6c5fab292efa1aef8ed65feaf0c7bdeae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66c1ce7bd5e43f8b6793c035c2c89a4a94d01cfbdf93292f935cd3466df7a8a7
[INFO] running `Command { std: "docker" "start" "-a" "66c1ce7bd5e43f8b6793c035c2c89a4a94d01cfbdf93292f935cd3466df7a8a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.11
[INFO] [stderr]    Compiling prettyplease v0.2.14
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling bindgen v0.66.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling blst v0.3.11
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling hello_macro_derive v0.1.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling c-kzg v0.1.0
[INFO] [stderr]    Compiling study-example v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/basic_concept/basic_concept.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         for num in (0..a1.len()) {
[INFO] [stdout]     |                    ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` 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`, `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: `#[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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),                 // 包括一个单个的字符串
[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: 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] 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((), ()),
[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] 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((), 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 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] 25 | struct Color((), (), ());
[INFO] [stdout]    |              ~~  ~~  ~~
[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 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] 26 | struct Point((), ());
[INFO] [stdout]    |              ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 86 warnings emitted
[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] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.32s
[INFO] running `Command { std: "docker" "inspect" "66c1ce7bd5e43f8b6793c035c2c89a4a94d01cfbdf93292f935cd3466df7a8a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66c1ce7bd5e43f8b6793c035c2c89a4a94d01cfbdf93292f935cd3466df7a8a7", kill_on_drop: false }`
[INFO] [stdout] 66c1ce7bd5e43f8b6793c035c2c89a4a94d01cfbdf93292f935cd3466df7a8a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61cd89eb5ea12873cf347ffd15edf4d610c80b16934b59a0a36b0b5b4c7ee8ef
[INFO] running `Command { std: "docker" "start" "-a" "61cd89eb5ea12873cf347ffd15edf4d610c80b16934b59a0a36b0b5b4c7ee8ef", 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`, `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] [stderr]    Compiling study-example v0.2.1 (/opt/rustwide/workdir)
[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: `#[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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),                 // 包括一个单个的字符串
[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: 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] 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((), ()),
[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] 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((), 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 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] 25 | struct Color((), (), ());
[INFO] [stdout]    |              ~~  ~~  ~~
[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 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] 26 | struct Point((), ());
[INFO] [stdout]    |              ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 86 warnings emitted
[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] [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`, `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: 1 warning emitted
[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: 1 warning emitted
[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: `#[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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),                 // 包括一个单个的字符串
[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: 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] 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((), ()),
[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] 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((), 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 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] 25 | struct Color((), (), ());
[INFO] [stdout]    |              ~~  ~~  ~~
[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 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] 26 | struct Point((), ());
[INFO] [stdout]    |              ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `coinMap` should have a snake case name
[INFO] [stdout]   --> src/common_collection/hash_map_study.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut coinMap: HashMap<CoinEnum, CoinProerty> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `coin_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 84 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "61cd89eb5ea12873cf347ffd15edf4d610c80b16934b59a0a36b0b5b4c7ee8ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61cd89eb5ea12873cf347ffd15edf4d610c80b16934b59a0a36b0b5b4c7ee8ef", kill_on_drop: false }`
[INFO] [stdout] 61cd89eb5ea12873cf347ffd15edf4d610c80b16934b59a0a36b0b5b4c7ee8ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] afd697f97afb5d1b2e407f6797007ab266e6d25e5927f8c51b37c0ec9eeb33e1
[INFO] running `Command { std: "docker" "start" "-a" "afd697f97afb5d1b2e407f6797007ab266e6d25e5927f8c51b37c0ec9eeb33e1", 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`, `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: `#[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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),
[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] 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(()),                 // 包括一个单个的字符串
[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: 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] 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((), ()),
[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] 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((), 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 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] 25 | struct Color((), (), ());
[INFO] [stderr]    |              ~~  ~~  ~~
[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 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] 26 | struct Point((), ());
[INFO] [stderr]    |              ~~  ~~
[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 86 warnings (run `cargo fix --lib -p study-example` to apply 10 suggestions)
[INFO] [stderr] warning: `study-example` (lib test) generated 84 warnings (84 duplicates)
[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: 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: `study-example` (bin "socket_server" test) generated 1 warning
[INFO] [stderr] warning: `study-example` (bin "study-example" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/study_example-8eb4f68b22749014)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[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 generic_traits_lifetime::test_study::longer_str_with_announcement_test ... ok
[INFO] [stdout] test generic_traits_lifetime::test_study::assert_test ... FAILED
[INFO] [stdout] test generic_traits_lifetime::test_study::should_panic_test - should panic ... ok
[INFO] [stdout] test iterator_closure::iterator_process_study::tests::test_shoe_in_size ... ok
[INFO] [stdout] test iterator_closure::iterator_process_study::tests::test_iterator_demo ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- generic_traits_lifetime::test_study::assert_test 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:     0x55593fbe4985 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55593fbe4985 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55593fbe4985 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55593fbe4985 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55593fc0b1cb - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55593fc0b1cb - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55593fbe21bf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55593fbe475e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55593fbe475e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55593fbe6189 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55593fbe5e4e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55593fbb705a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55593fbb705a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55593fbe678b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55593fbe678b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55593fbe6504 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55593fbe4e49 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55593fbe6237 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55593fb78843 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55593fb83633 - study_example::generic_traits_lifetime::test_study::assert_test::h88d6ab8872585edc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/generic_traits_lifetime/test_study.rs:22:5
[INFO] [stdout]   20:     0x55593fb83407 - study_example::generic_traits_lifetime::test_study::assert_test::{{closure}}::h943505177e0c370a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/generic_traits_lifetime/test_study.rs:18:17
[INFO] [stdout]   21:     0x55593fb7efe6 - core::ops::function::FnOnce::call_once::hd8882c3cd7d5ac5f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x55593fbbba3b - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55593fbbba3b - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   24:     0x55593fbbb141 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   25:     0x55593fbbb141 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   26:     0x55593fbbb141 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   27:     0x55593fbbb141 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   28:     0x55593fbbb141 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   29:     0x55593fbbb141 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   30:     0x55593fbbb141 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   31:     0x55593fb83b04 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   32:     0x55593fb83b04 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   33:     0x55593fb88532 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   34:     0x55593fb88532 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   35:     0x55593fb88532 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   36:     0x55593fb88532 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   37:     0x55593fb88532 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   38:     0x55593fb88532 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   39:     0x55593fb88532 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x55593fbea96b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   41:     0x55593fbea96b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   42:     0x55593fbea96b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   43:     0x7fbc13e4bac3 - <unknown>
[INFO] [stdout]   44:     0x7fbc13edca04 - __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.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "afd697f97afb5d1b2e407f6797007ab266e6d25e5927f8c51b37c0ec9eeb33e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afd697f97afb5d1b2e407f6797007ab266e6d25e5927f8c51b37c0ec9eeb33e1", kill_on_drop: false }`
[INFO] [stdout] afd697f97afb5d1b2e407f6797007ab266e6d25e5927f8c51b37c0ec9eeb33e1
