[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#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwfy%2Frust-learn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jwfy/rust-learn on toolchain 987a165cfab916796a8315782b83ac460a651ce2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d674f6a47dc37937ec2fe2d52c5d49679c7fce6dcc64d5bd0e2e3ec858383ab8
[INFO] running `Command { std: "docker" "start" "-a" "d674f6a47dc37937ec2fe2d52c5d49679c7fce6dcc64d5bd0e2e3ec858383ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d674f6a47dc37937ec2fe2d52c5d49679c7fce6dcc64d5bd0e2e3ec858383ab8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d674f6a47dc37937ec2fe2d52c5d49679c7fce6dcc64d5bd0e2e3ec858383ab8", kill_on_drop: false }`
[INFO] [stdout] d674f6a47dc37937ec2fe2d52c5d49679c7fce6dcc64d5bd0e2e3ec858383ab8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c890f63eb04175af8316f18472d9b1111e7b22268ce3ecdb38a5e8ef90414b7
[INFO] running `Command { std: "docker" "start" "-a" "2c890f63eb04175af8316f18472d9b1111e7b22268ce3ecdb38a5e8ef90414b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling quote v1.0.9
[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] 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)]` 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)]` 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]    = note: `#[warn(unused_imports)]` 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)]` 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 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)]` 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/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)]` 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: 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)]` 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/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)]` 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:17
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut ss1 = ss;
[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: 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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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: 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] [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)]` 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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.43s
[INFO] running `Command { std: "docker" "inspect" "2c890f63eb04175af8316f18472d9b1111e7b22268ce3ecdb38a5e8ef90414b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c890f63eb04175af8316f18472d9b1111e7b22268ce3ecdb38a5e8ef90414b7", kill_on_drop: false }`
[INFO] [stdout] 2c890f63eb04175af8316f18472d9b1111e7b22268ce3ecdb38a5e8ef90414b7
