[INFO] cloning repository https://github.com/jwfy/rust-learn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwfy/rust-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwfy%2Frust-learn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwfy%2Frust-learn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fea3642a5516386a605fc34601a8a06e59deba7b
[INFO] checking jwfy/rust-learn against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwfy%2Frust-learn" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jwfy/rust-learn
[INFO] finished tweaking git repo https://github.com/jwfy/rust-learn
[INFO] tweaked toml for git repo https://github.com/jwfy/rust-learn written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jwfy/rust-learn on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jwfy/rust-learn 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.127
[INFO] [stderr]   Downloaded serde_json v1.0.66
[INFO] [stderr]   Downloaded serde v1.0.127
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0eb7b46c55e1e9499132e5f7393d39d3392f874a0bb358d52d49129b8defa64
[INFO] running `Command { std: "docker" "start" "-a" "c0eb7b46c55e1e9499132e5f7393d39d3392f874a0bb358d52d49129b8defa64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0eb7b46c55e1e9499132e5f7393d39d3392f874a0bb358d52d49129b8defa64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0eb7b46c55e1e9499132e5f7393d39d3392f874a0bb358d52d49129b8defa64", kill_on_drop: false }`
[INFO] [stdout] c0eb7b46c55e1e9499132e5f7393d39d3392f874a0bb358d52d49129b8defa64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f29569170fe30c2aa70b69e3527a4626bd4e4cd9aa7c0f8e7555efdb65778289
[INFO] running `Command { std: "docker" "start" "-a" "f29569170fe30c2aa70b69e3527a4626bd4e4cd9aa7c0f8e7555efdb65778289", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking rust-learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Formatter` and `Pointer`
[INFO] [stdout]   --> src/basic/owner_ship.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use std::fmt::{Formatter, Pointer};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/basic/type_system.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     use std::rc::Rc;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/basic/threads.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::io::Read;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> src/basic/threads.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::thread::spawn;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/basic/type_system.rs:18:40
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &PointTrait) -> i32 {
[INFO] [stdout]    |                                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &dyn PointTrait) -> i32 {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Formatter` and `Pointer`
[INFO] [stdout]   --> src/basic/owner_ship.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use std::fmt::{Formatter, Pointer};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/basic/owner_ship.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | mod copy_test {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/basic/type_system.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     use std::rc::Rc;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/basic/type_system.rs:97:1
[INFO] [stdout]    |
[INFO] [stdout] 97 | mod box_test {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/basic/threads.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::io::Read;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> src/basic/threads.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::thread::spawn;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/basic/type_system.rs:18:40
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &PointTrait) -> i32 {
[INFO] [stdout]    |                                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &dyn PointTrait) -> i32 {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/basic/trait0.rs:128:26
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let write1: &mut Write = &mut buf;
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let write1: &mut dyn Write = &mut buf;
[INFO] [stdout]     |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> src/basic/owner_ship.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let b2 = a2;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]   --> src/basic/owner_ship.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let b2 = a2;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/owner_ship.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let p2 = p1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/owner_ship.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let p2 = p1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/type_system.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let p2 = p1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let p1 = Point { x: 11, y: 22 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/type_system.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let p2 = Point { x: 44, y: 33 };
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic/type_system.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut p1 = Point { x: 11, y: 22 };
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let p1 = Point { x: 1, y: 2 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let p1 = Point { x: 3, y: 4 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/type_system.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let p2 = p1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/basic/type_system.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut second = Box::new(Node {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let p1 = Point { x: 11, y: 22 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> src/basic/type_system.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let p2 = Point { x: 44, y: 33 };
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/basic/type_system.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut p1 = Point { x: 11, y: 22 };
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let p1 = Point { x: 1, y: 2 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]   --> src/basic/type_system.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let p1 = Point { x: 3, y: 4 };
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/basic/type_system.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut second = Box::new(Node {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ss1` is never read
[INFO] [stdout]    --> src/basic/type_system.rs:208:23
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut ss1 = ss;
[INFO] [stdout]     |                       ^^ this value is reassigned later and never used
[INFO] [stdout] 209 |         ss = "abcdef";
[INFO] [stdout] 210 |         ss1 = "aaaa";
[INFO] [stdout]     |         ------------ `ss1` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]   --> src/basic/iter.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let iter = v1.iter();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]   --> src/basic/iter.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let iter = &v1.iter();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]   --> src/basic/threads.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let s1 = "hello world";
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write1`
[INFO] [stdout]    --> src/basic/trait0.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let write1: &mut Write = &mut buf;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_write1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]  --> src/threadpool/threadpool.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Worker {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 6 |     id : usize,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 7 |     thread: JoinHandle<()>
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]   --> src/threadpool/threadpool.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct ThreadPool {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 29 |     workers: Vec<Worker>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn test_2() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn test_3() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_trait` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn test_trait() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_drop` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub fn test_drop() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_box` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn test_box() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/basic/type_system.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct Point {
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PointTrait` is never used
[INFO] [stdout]  --> src/basic/type_system.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     trait PointTrait {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dynaimic_dispatch` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &PointTrait) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `static_dispatch` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn static_dispatch<T>(t: &T) -> i32
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `static_dispatch_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn static_dispatch_1<T: PointTrait>(t: T) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/basic/type_system.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub struct Point {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn test_2() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn test_3() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_4` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn test_4() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_box` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn test_box() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `point` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn point() {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Counter` is never constructed
[INFO] [stdout]  --> src/basic/iter.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Counter {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/basic/iter.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Counter {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 7 |     fn new() -> Counter {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `piter` is never used
[INFO] [stdout]   --> src/basic/iter.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn piter<U, T>(t : T)
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/threads.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test1` is never used
[INFO] [stdout]  --> src/basic/threads.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn test1() {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_deref` is never used
[INFO] [stdout]  --> src/basic/trait0.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn test_deref() {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout]  9 |         impl<T> Point<T> {
[INFO] [stdout]    |         ---------------- associated function in this implementation
[INFO] [stdout] 10 |             pub fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_deref2` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn test_deref2() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         impl<T> P2<T> {
[INFO] [stdout]    |         ------------- associated function in this implementation
[INFO] [stdout] 38 |             pub fn new(t: T) -> Self {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_default` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn test_default() {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Formatter` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub trait Formatter {
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarkdownFormatter` is never constructed
[INFO] [stdout]   --> src/basic/trait0.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub struct MarkdownFormatter;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RustFormatter` is never constructed
[INFO] [stdout]   --> src/basic/trait0.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub struct RustFormatter;
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JavaFormatter` is never constructed
[INFO] [stdout]    --> src/basic/trait0.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub struct JavaFormatter;
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format` is never used
[INFO] [stdout]    --> src/basic/trait0.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn format(input: &String, formatter: Box<dyn Formatter>) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]   --> src/list/first.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct List {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Link` is never used
[INFO] [stdout]   --> src/list/first.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum Link {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/list/first.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/list/first.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl List {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 48 |   pub fn new() -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |   pub fn push(&mut self, elem:i32) {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |   pub fn pop(&mut self) -> Option<i32> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]   --> src/list/second.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct List<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Link` is never used
[INFO] [stdout]   --> src/list/second.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | type Link<T> = Option<Box<Node<T>>>;
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/list/second.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Node<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, `peek_mut`, and `into_iter` are never used
[INFO] [stdout]   --> src/list/second.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl <T> List <T>{
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 29 |     // 这需要从impl List 变成当前的模样，都需要添加<T>
[INFO] [stdout] 30 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn push(&mut self, elem: T) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn peek_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn into_iter(self) -> IntoIter<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntoIter` is never constructed
[INFO] [stdout]    --> src/list/second.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct IntoIter<T>(List<T>);
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/live_coding/file_io.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Genger` is never used
[INFO] [stdout]   --> src/live_coding/file_io.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum Genger {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `load`, and `store` are never used
[INFO] [stdout]   --> src/live_coding/file_io.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl User {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(name: String, age: i32, genger: Genger) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn load(file_name: &str) -> Result<Self, std::io::Error> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn store(&self, file_name: &str) -> Result<usize, std::io::Error> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strtok` is never used
[INFO] [stdout]  --> src/live_coding/strtok.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn strtok<'a>(s: &'a mut &str, p: char) -> &'a str {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fibonacci` is never constructed
[INFO] [stdout]  --> src/live_coding/fibonacci.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Fibonacci {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/live_coding/fibonacci.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Fibonacci {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(total: u8) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Encoder` is never used
[INFO] [stdout]  --> src/live_coding/encoder.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Encoder {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event` is never constructed
[INFO] [stdout]  --> src/live_coding/encoder.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event<Id, Data> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `encode` are never used
[INFO] [stdout]   --> src/live_coding/encoder.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<Id, Data> Event<Id, Data>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     Id: Encoder<Target = u8>,
[INFO] [stdout] 14 | |     Data: Encoder<Target = u8>,
[INFO] [stdout]    | |_______________________________- associated items in this implementation
[INFO] [stdout] 15 |   {
[INFO] [stdout] 16 |       pub fn new(id: Id, data: Data) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |       pub fn encode(&self) -> Option<Vec<u8>> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: path statement drops value
[INFO] [stdout]   --> src/basic/type_system.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             p1;
[INFO] [stdout]    |             ^^^ help: use `drop` to clarify the intent: `drop(p1);`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(path_statements)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/basic/type_system.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |             &pp;
[INFO] [stdout]     |             ^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let _ = &pp;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Foo` should have an upper case name
[INFO] [stdout]  --> src/basic/threads.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |             static Foo : RefCell<u32> = RefCell::new(1)
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case (notice the capitalization)
[INFO] [stdout]   |
[INFO] [stdout] 9 -             static Foo : RefCell<u32> = RefCell::new(1)
[INFO] [stdout] 9 +             static FOO : RefCell<u32> = RefCell::new(1)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `dynTrait` should have a snake case name
[INFO] [stdout]   --> src/basic/trait0.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | mod dynTrait {
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `dyn_trait`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `thread` are never read
[INFO] [stdout]  --> src/threadpool/threadpool.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Worker {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 6 |     id : usize,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 7 |     thread: JoinHandle<()>
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]   --> src/threadpool/threadpool.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct ThreadPool {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 29 |     workers: Vec<Worker>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn test_2() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/basic/owner_ship.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn test_3() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_trait` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn test_trait() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_drop` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:178:8
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub fn test_drop() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_box` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn test_box() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn test() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]  --> src/basic/type_system.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub struct Point {
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PointTrait` is never used
[INFO] [stdout]  --> src/basic/type_system.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     trait PointTrait {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dynaimic_dispatch` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn dynaimic_dispatch(point_trait: &PointTrait) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `static_dispatch` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn static_dispatch<T>(t: &T) -> i32
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `static_dispatch_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn static_dispatch_1<T: PointTrait>(t: T) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/basic/type_system.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub struct Point {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_1` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn test_1() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_2` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn test_2() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_3` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn test_3() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_4` is never used
[INFO] [stdout]   --> src/basic/type_system.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn test_4() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_box` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn test_box() {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `point` is never used
[INFO] [stdout]    --> src/basic/type_system.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 |     pub fn point() {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/threads.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test1` is never used
[INFO] [stdout]  --> src/basic/threads.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn test1() {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_deref` is never used
[INFO] [stdout]  --> src/basic/trait0.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn test_deref() {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout]  9 |         impl<T> Point<T> {
[INFO] [stdout]    |         ---------------- associated function in this implementation
[INFO] [stdout] 10 |             pub fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_deref2` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn test_deref2() {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |         impl<T> P2<T> {
[INFO] [stdout]    |         ------------- associated function in this implementation
[INFO] [stdout] 38 |             pub fn new(t: T) -> Self {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_default` is never used
[INFO] [stdout]   --> src/basic/trait0.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn test_default() {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarkdownFormatter` is never constructed
[INFO] [stdout]   --> src/basic/trait0.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 86 |     pub struct MarkdownFormatter;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RustFormatter` is never constructed
[INFO] [stdout]   --> src/basic/trait0.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub struct RustFormatter;
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `pop` and `into_iter` are never used
[INFO] [stdout]   --> src/list/second.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl <T> List <T>{
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn pop(&mut self) -> Option<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn into_iter(self) -> IntoIter<T> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntoIter` is never constructed
[INFO] [stdout]    --> src/list/second.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct IntoIter<T>(List<T>);
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/live_coding/file_io.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl User {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(name: String, age: i32, genger: Genger) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: path statement drops value
[INFO] [stdout]   --> src/basic/type_system.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             p1;
[INFO] [stdout]    |             ^^^ help: use `drop` to clarify the intent: `drop(p1);`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(path_statements)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/basic/type_system.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |             &pp;
[INFO] [stdout]     |             ^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let _ = &pp;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Foo` should have an upper case name
[INFO] [stdout]  --> src/basic/threads.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |             static Foo : RefCell<u32> = RefCell::new(1)
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case (notice the capitalization)
[INFO] [stdout]   |
[INFO] [stdout] 9 -             static Foo : RefCell<u32> = RefCell::new(1)
[INFO] [stdout] 9 +             static FOO : RefCell<u32> = RefCell::new(1)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `dynTrait` should have a snake case name
[INFO] [stdout]   --> src/basic/trait0.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | mod dynTrait {
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `dyn_trait`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::slice::Iter` that must be used
[INFO] [stdout]    --> src/list/second.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         q.iter();
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let _ = q.iter();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.81s
[INFO] running `Command { std: "docker" "inspect" "f29569170fe30c2aa70b69e3527a4626bd4e4cd9aa7c0f8e7555efdb65778289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f29569170fe30c2aa70b69e3527a4626bd4e4cd9aa7c0f8e7555efdb65778289", kill_on_drop: false }`
[INFO] [stdout] f29569170fe30c2aa70b69e3527a4626bd4e4cd9aa7c0f8e7555efdb65778289
