[INFO] cloning repository https://github.com/sss-mykw/Rust-Programming-launguage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sss-mykw/Rust-Programming-launguage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsss-mykw%2FRust-Programming-launguage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsss-mykw%2FRust-Programming-launguage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee3f8a703bbbc8e5c94a38dc71cf7c42fc90cb88
[INFO] testing sss-mykw/Rust-Programming-launguage against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsss-mykw%2FRust-Programming-launguage" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sss-mykw/Rust-Programming-launguage
[INFO] finished tweaking git repo https://github.com/sss-mykw/Rust-Programming-launguage
[INFO] tweaked toml for git repo https://github.com/sss-mykw/Rust-Programming-launguage written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sss-mykw/Rust-Programming-launguage on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sss-mykw/Rust-Programming-launguage 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d1716841d44b91637707a189fa175eadd8d3174c9cd8f97d87344c6f24571688
[INFO] running `Command { std: "docker" "start" "-a" "d1716841d44b91637707a189fa175eadd8d3174c9cd8f97d87344c6f24571688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1716841d44b91637707a189fa175eadd8d3174c9cd8f97d87344c6f24571688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1716841d44b91637707a189fa175eadd8d3174c9cd8f97d87344c6f24571688", kill_on_drop: false }`
[INFO] [stdout] d1716841d44b91637707a189fa175eadd8d3174c9cd8f97d87344c6f24571688
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35e0a394a9c9a756f705e734578a983a8c024c7ce61882b40e43be0dda114866
[INFO] running `Command { std: "docker" "start" "-a" "35e0a394a9c9a756f705e734578a983a8c024c7ce61882b40e43be0dda114866", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-programming-language v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/chapter20/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::Thread;
[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: `format`
[INFO] [stdout]  --> src/chapter10/main.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{format, Debug, Display};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/chapter15/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/chapter10/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let point = Point { x: 5, y: 10 };
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/chapter10/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let point = Point { x: 1.0, y: 4.0 };
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/chapter9/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Error, Read};
[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 variable: `item1`
[INFO] [stdout]    --> src/chapter10/main.rs:118:35
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]    --> src/chapter10/main.rs:118:46
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/chapter10/main.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/chapter10/main.rs:122:31
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `result` is assigned to, but never used
[INFO] [stdout]    --> src/chapter10/main.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let result;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_result` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/chapter10/main.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             result = longest(string1.as_str(), string2.as_str());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_10_1` is never used
[INFO] [stdout]  --> src/chapter10/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_10_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/chapter10/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `x` is never used
[INFO] [stdout]   --> src/chapter10/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl <T> Point<T> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_10_2` is never used
[INFO] [stdout]   --> src/chapter10/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn practice_10_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> src/chapter10/main.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | struct Pair<T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl <T> Pair<T> {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 133 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl <T: PartialOrd + Display> Pair<T> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] 140 |     fn cmp_display(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Result as IoResult`
[INFO] [stdout]  --> src/chapter7/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Result as IoResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_9_1` is never used
[INFO] [stdout]  --> src/chapter9/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_9_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmp::Ordering` and `io`
[INFO] [stdout]  --> src/chapter7/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{cmp::Ordering, io};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_1` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn practice_15_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum List {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_2` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn practice_15_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]   --> src/chapter15/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct MyBox<T>(T);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl<T> MyBox<T> {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 84 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn hello(name: &str) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_3` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn practice_15_3() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomSmartPointer` is never constructed
[INFO] [stdout]    --> src/chapter15/main.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct CustomSmartPointer {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_4` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn practice_15_4() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_5` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn practice_15_5() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]    --> src/chapter15/main.rs:232:5
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct Node {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 232 |     value: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 233 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 234 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapter15/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Messenger {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LimitTracker` is never constructed
[INFO] [stdout]  --> src/chapter15/lib.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: 'a + Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapter15/lib.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where T: Messenger {
[INFO] [stdout]    | |__________________- associated items in this implementation
[INFO] [stdout] 13 |       pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/chapter15/lib.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/chapter5/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_5_1` is never used
[INFO] [stdout]  --> src/chapter5/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn practice_5_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/chapter5/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/chapter5/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/chapter8/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let v = vec![1, 2, 3];
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/chapter8/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let row = vec![
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapter8/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let s = data.to_string();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapter8/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let s = String::from("initial contents");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chapter8/main.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut scores: HashMap<_, _> =
[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: function `practice_8_1` is never used
[INFO] [stdout]  --> src/chapter8/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_8_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_8_2` is never used
[INFO] [stdout]   --> src/chapter8/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn practice_8_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces`
[INFO] [stdout]   --> src/chapter3/main.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let spaces = spaces.len();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapter3/main.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (x, y, z) = tup;
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/chapter3/main.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (x, y, z) = tup;
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/chapter3/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let y = 6;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_POINTS` is never used
[INFO] [stdout]  --> src/chapter3/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const MAX_POINTS: u32 = 100_000;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_1` is never used
[INFO] [stdout]   --> src/chapter3/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn practice_3_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_2` is never used
[INFO] [stdout]   --> src/chapter3/main.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn practice_3_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_3` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn practice_3_3() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_labeled_measurement` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn print_labeled_measurement(value: i32, unit_label: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/chapter16/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_16_1` is never used
[INFO] [stdout]   --> src/chapter16/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn practice_16_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_16_2` is never used
[INFO] [stdout]   --> src/chapter16/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn practice_16_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/chapter6/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let home = IpAddr::V4(127, 0, 0, 1);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/chapter6/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapter6/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let x: i8 = 5;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapter6/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let y: Option<i8> = Some(5);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_6_1` is never used
[INFO] [stdout]  --> src/chapter6/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn practice_6_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddr` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum IpAddr {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Message {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 43 |     fn call(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_6_2` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn practice_6_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Dime`, and `Quarter` are never constructed
[INFO] [stdout]    --> src/chapter6/main.rs:97:5
[INFO] [stdout]     |
[INFO] [stdout]  96 | enum Coin {
[INFO] [stdout]     |      ---- variants in this enum
[INFO] [stdout]  97 |     Penny,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  98 |     Nickel,
[INFO] [stdout]  99 |     Dime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 100 |     Quarter(UsState),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value_in_cents` is never used
[INFO] [stdout]    --> src/chapter6/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn value_in_cents(coin: Coin) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Alabama` and `Alaska` are never constructed
[INFO] [stdout]    --> src/chapter6/main.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | enum UsState {
[INFO] [stdout]     |      ------- variants in this enum
[INFO] [stdout] 117 |     Alabama,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 118 |     Alaska,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/chapter6/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]   --> src/chapter4/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let s2 = s1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapter4/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let r1 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapter4/main.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let r1 = &s; // 問題なし
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]   --> src/chapter4/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let r2 = &s; // 問題なし
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r3`
[INFO] [stdout]   --> src/chapter4/main.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let r3 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reference_to_nothing`
[INFO] [stdout]    --> src/chapter4/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let reference_to_nothing = no_dangle();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_4_1` is never used
[INFO] [stdout]  --> src/chapter4/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn practice_4_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length_4_1` is never used
[INFO] [stdout]   --> src/chapter4/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn calculate_length_4_1(s: String) -> (String, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_4_2` is never used
[INFO] [stdout]   --> src/chapter4/main.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn practice_4_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length_4_2` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn calculate_length_4_2(s: &String) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn change(some_string: &mut String) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `no_dangle` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn no_dangle() -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s
[INFO] running `Command { std: "docker" "inspect" "35e0a394a9c9a756f705e734578a983a8c024c7ce61882b40e43be0dda114866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35e0a394a9c9a756f705e734578a983a8c024c7ce61882b40e43be0dda114866", kill_on_drop: false }`
[INFO] [stdout] 35e0a394a9c9a756f705e734578a983a8c024c7ce61882b40e43be0dda114866
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24480f2c22b3c374412a2de82f4a5f423d16143dedf89323ac4c8a57d996189f
[INFO] running `Command { std: "docker" "start" "-a" "24480f2c22b3c374412a2de82f4a5f423d16143dedf89323ac4c8a57d996189f", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/chapter20/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-programming-language v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/chapter15/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user3`
[INFO] [stdout]   --> src/chapter5/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let user3 = User {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_5_1` is never used
[INFO] [stdout]  --> src/chapter5/main.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn practice_5_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]   --> src/chapter5/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]   --> src/chapter5/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct User {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Result as IoResult`
[INFO] [stdout]  --> src/chapter7/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Result as IoResult;
[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 imports: `cmp::Ordering` and `io`
[INFO] [stdout]  --> src/chapter7/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{cmp::Ordering, io};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/chapter9/main.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Error, Read};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_9_1` is never used
[INFO] [stdout]  --> src/chapter9/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_9_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spaces`
[INFO] [stdout]   --> src/chapter3/main.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let spaces = spaces.len();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapter3/main.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (x, y, z) = tup;
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/chapter3/main.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let (x, y, z) = tup;
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/chapter3/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let y = 6;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_POINTS` is never used
[INFO] [stdout]  --> src/chapter3/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const MAX_POINTS: u32 = 100_000;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_1` is never used
[INFO] [stdout]   --> src/chapter3/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn practice_3_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_2` is never used
[INFO] [stdout]   --> src/chapter3/main.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn practice_3_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_3_3` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn practice_3_3() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_labeled_measurement` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn print_labeled_measurement(value: i32, unit_label: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/chapter3/main.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn plus_one(x: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/chapter16/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[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 variable: `s2`
[INFO] [stdout]   --> src/chapter4/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let s2 = s1;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapter4/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let r1 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]   --> src/chapter4/main.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let r1 = &s; // 問題なし
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]   --> src/chapter4/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let r2 = &s; // 問題なし
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r3`
[INFO] [stdout]   --> src/chapter4/main.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let r3 = &mut s;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reference_to_nothing`
[INFO] [stdout]    --> src/chapter4/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let reference_to_nothing = no_dangle();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_4_1` is never used
[INFO] [stdout]  --> src/chapter4/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn practice_4_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length_4_1` is never used
[INFO] [stdout]   --> src/chapter4/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn calculate_length_4_1(s: String) -> (String, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_4_2` is never used
[INFO] [stdout]   --> src/chapter4/main.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn practice_4_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_length_4_2` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn calculate_length_4_2(s: &String) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn change(some_string: &mut String) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `no_dangle` is never used
[INFO] [stdout]    --> src/chapter4/main.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn no_dangle() -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_1` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn practice_15_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | enum List {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_2` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn practice_15_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyBox` is never constructed
[INFO] [stdout]   --> src/chapter15/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct MyBox<T>(T);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl<T> MyBox<T> {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 84 |     fn new(x: T) -> MyBox<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello` is never used
[INFO] [stdout]   --> src/chapter15/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn hello(name: &str) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_3` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn practice_15_3() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomSmartPointer` is never constructed
[INFO] [stdout]    --> src/chapter15/main.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct CustomSmartPointer {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_4` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn practice_15_4() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_15_5` is never used
[INFO] [stdout]    --> src/chapter15/main.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn practice_15_5() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]    --> src/chapter15/main.rs:232:5
[INFO] [stdout]     |
[INFO] [stdout] 231 | struct Node {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 232 |     value: i32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 233 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 234 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/chapter15/lib.rs:13:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stdout]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_16_1` is never used
[INFO] [stdout]   --> src/chapter16/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn practice_16_1() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_16_2` is never used
[INFO] [stdout]   --> src/chapter16/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn practice_16_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/chapter6/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let home = IpAddr::V4(127, 0, 0, 1);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> src/chapter6/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapter6/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let x: i8 = 5;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapter6/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let y: Option<i8> = Some(5);
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/chapter10/main.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{format, Debug, Display};
[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 variable: `point`
[INFO] [stdout]   --> src/chapter10/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let point = Point { x: 5, y: 10 };
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/chapter10/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let point = Point { x: 1.0, y: 4.0 };
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item1`
[INFO] [stdout]    --> src/chapter10/main.rs:118:35
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item2`
[INFO] [stdout]    --> src/chapter10/main.rs:118:46
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/chapter10/main.rs:122:24
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> src/chapter10/main.rs:122:31
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `result` is assigned to, but never used
[INFO] [stdout]    --> src/chapter10/main.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let result;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_result` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/chapter10/main.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             result = longest(string1.as_str(), string2.as_str());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_10_1` is never used
[INFO] [stdout]  --> src/chapter10/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_10_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/chapter10/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Point<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `x` is never used
[INFO] [stdout]   --> src/chapter10/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl <T> Point<T> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     fn x(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_10_2` is never used
[INFO] [stdout]   --> src/chapter10/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn practice_10_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]    --> src/chapter10/main.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | struct Pair<T> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl <T> Pair<T> {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 133 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cmp_display` is never used
[INFO] [stdout]    --> src/chapter10/main.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl <T: PartialOrd + Display> Pair<T> {
[INFO] [stdout]     | -------------------------------------- method in this implementation
[INFO] [stdout] 140 |     fn cmp_display(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_6_1` is never used
[INFO] [stdout]  --> src/chapter6/main.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn practice_6_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddr` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum IpAddr {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Message {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 43 |     fn call(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_6_2` is never used
[INFO] [stdout]   --> src/chapter6/main.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn practice_6_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Dime`, and `Quarter` are never constructed
[INFO] [stdout]    --> src/chapter6/main.rs:97:5
[INFO] [stdout]     |
[INFO] [stdout]  96 | enum Coin {
[INFO] [stdout]     |      ---- variants in this enum
[INFO] [stdout]  97 |     Penny,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  98 |     Nickel,
[INFO] [stdout]  99 |     Dime,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 100 |     Quarter(UsState),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value_in_cents` is never used
[INFO] [stdout]    --> src/chapter6/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn value_in_cents(coin: Coin) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Alabama` and `Alaska` are never constructed
[INFO] [stdout]    --> src/chapter6/main.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | enum UsState {
[INFO] [stdout]     |      ------- variants in this enum
[INFO] [stdout] 117 |     Alabama,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 118 |     Alaska,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plus_one` is never used
[INFO] [stdout]    --> src/chapter6/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/chapter20/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::Thread;
[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 variable: `v`
[INFO] [stdout]   --> src/chapter8/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let v = vec![1, 2, 3];
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/chapter8/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let row = vec![
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapter8/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let s = data.to_string();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/chapter8/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let s = String::from("initial contents");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chapter8/main.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut scores: HashMap<_, _> =
[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: function `practice_8_1` is never used
[INFO] [stdout]  --> src/chapter8/main.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn practice_8_1() {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `practice_8_2` is never used
[INFO] [stdout]   --> src/chapter8/main.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn practice_8_2() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s
[INFO] running `Command { std: "docker" "inspect" "24480f2c22b3c374412a2de82f4a5f423d16143dedf89323ac4c8a57d996189f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24480f2c22b3c374412a2de82f4a5f423d16143dedf89323ac4c8a57d996189f", kill_on_drop: false }`
[INFO] [stdout] 24480f2c22b3c374412a2de82f4a5f423d16143dedf89323ac4c8a57d996189f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 19f77d0e6cd3b1d75ce1efffeeb6610dab2e55e98566092bd2aaa70c298b2e21
[INFO] running `Command { std: "docker" "start" "-a" "19f77d0e6cd3b1d75ce1efffeeb6610dab2e55e98566092bd2aaa70c298b2e21", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::thread::Thread`
[INFO] [stderr]  --> src/chapter20/mod.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::thread::Thread;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-programming-language` (lib) generated 1 warning (run `cargo fix --lib -p rust-programming-language` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `std::io::Result as IoResult`
[INFO] [stderr]  --> src/chapter7/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::Result as IoResult;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `cmp::Ordering` and `io`
[INFO] [stderr]  --> src/chapter7/main.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::{cmp::Ordering, io};
[INFO] [stderr]   |           ^^^^^^^^^^^^^  ^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-programming-language` (bin "chap7" test) generated 2 warnings (run `cargo fix --bin "chap7" -p rust-programming-language --tests` to apply 2 suggestions)
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/chapter16/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_16_1` is never used
[INFO] [stderr]   --> src/chapter16/main.rs:12:4
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn practice_16_1() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_16_2` is never used
[INFO] [stderr]   --> src/chapter16/main.rs:66:4
[INFO] [stderr]    |
[INFO] [stderr] 66 | fn practice_16_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-programming-language` (bin "chap16" test) generated 3 warnings (run `cargo fix --bin "chap16" -p rust-programming-language --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused variable: `home`
[INFO] [stderr]   --> src/chapter6/main.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 |         let home = IpAddr::V4(127, 0, 0, 1);
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `loopback`
[INFO] [stderr]   --> src/chapter6/main.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |         let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/chapter6/main.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 |         let x: i8 = 5;
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/chapter6/main.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let y: Option<i8> = Some(5);
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_6_1` is never used
[INFO] [stderr]  --> src/chapter6/main.rs:7:4
[INFO] [stderr]   |
[INFO] [stderr] 7 | fn practice_6_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `IpAddr` is never used
[INFO] [stderr]   --> src/chapter6/main.rs:29:6
[INFO] [stderr]    |
[INFO] [stderr] 29 | enum IpAddr {
[INFO] [stderr]    |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Message` is never used
[INFO] [stderr]   --> src/chapter6/main.rs:35:6
[INFO] [stderr]    |
[INFO] [stderr] 35 | enum Message {
[INFO] [stderr]    |      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `call` is never used
[INFO] [stderr]   --> src/chapter6/main.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl Message {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] 43 |     fn call(&self) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_6_2` is never used
[INFO] [stderr]   --> src/chapter6/main.rs:61:4
[INFO] [stderr]    |
[INFO] [stderr] 61 | fn practice_6_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Penny`, `Dime`, and `Quarter` are never constructed
[INFO] [stderr]    --> src/chapter6/main.rs:97:5
[INFO] [stderr]     |
[INFO] [stderr]  96 | enum Coin {
[INFO] [stderr]     |      ---- variants in this enum
[INFO] [stderr]  97 |     Penny,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]  98 |     Nickel,
[INFO] [stderr]  99 |     Dime,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 100 |     Quarter(UsState),
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `value_in_cents` is never used
[INFO] [stderr]    --> src/chapter6/main.rs:103:4
[INFO] [stderr]     |
[INFO] [stderr] 103 | fn value_in_cents(coin: Coin) -> u32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Alabama` and `Alaska` are never constructed
[INFO] [stderr]    --> src/chapter6/main.rs:117:5
[INFO] [stderr]     |
[INFO] [stderr] 116 | enum UsState {
[INFO] [stderr]     |      ------- variants in this enum
[INFO] [stderr] 117 |     Alabama,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 118 |     Alaska,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `plus_one` is never used
[INFO] [stderr]    --> src/chapter6/main.rs:122:4
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn plus_one(x: Option<i32>) -> Option<i32> {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-programming-language` (bin "chap6" test) generated 13 warnings (run `cargo fix --bin "chap6" -p rust-programming-language --tests` to apply 4 suggestions)
[INFO] [stderr] warning: unused variable: `spaces`
[INFO] [stderr]   --> src/chapter3/main.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let spaces = spaces.len();
[INFO] [stderr]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spaces`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/chapter3/main.rs:78:14
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let (x, y, z) = tup;
[INFO] [stderr]    |              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]   --> src/chapter3/main.rs:78:20
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let (x, y, z) = tup;
[INFO] [stderr]    |                    ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/chapter3/main.rs:123:13
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let y = 6;
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_POINTS` is never used
[INFO] [stderr]  --> src/chapter3/main.rs:4:7
[INFO] [stderr]   |
[INFO] [stderr] 4 | const MAX_POINTS: u32 = 100_000;
[INFO] [stderr]   |       ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_3_1` is never used
[INFO] [stderr]   --> src/chapter3/main.rs:14:4
[INFO] [stderr]    |
[INFO] [stderr] 14 | fn practice_3_1() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_3_2` is never used
[INFO] [stderr]   --> src/chapter3/main.rs:47:4
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn practice_3_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_3_3` is never used
[INFO] [stderr]    --> src/chapter3/main.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn practice_3_3() {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print_labeled_measurement` is never used
[INFO] [stderr]    --> src/chapter3/main.rs:141:4
[INFO] [stderr]     |
[INFO] [stderr] 141 | fn print_labeled_measurement(value: i32, unit_label: char) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `plus_one` is never used
[INFO] [stderr]    --> src/chapter3/main.rs:145:4
[INFO] [stderr]     |
[INFO] [stderr] 145 | fn plus_one(x: i32) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: found module declaration for lib.rs
[INFO] [stderr]  --> src/chapter15/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | mod lib;
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: lib.rs is the root of this crate's library target
[INFO] [stderr]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stderr]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_15_1` is never used
[INFO] [stderr]   --> src/chapter15/main.rs:17:4
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn practice_15_1() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `List` is never used
[INFO] [stderr]   --> src/chapter15/main.rs:37:6
[INFO] [stderr]    |
[INFO] [stderr] 37 | enum List {
[INFO] [stderr]    |      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_15_2` is never used
[INFO] [stderr]   --> src/chapter15/main.rs:42:4
[INFO] [stderr]    |
[INFO] [stderr] 42 | fn practice_15_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyBox` is never constructed
[INFO] [stderr]   --> src/chapter15/main.rs:81:8
[INFO] [stderr]    |
[INFO] [stderr] 81 | struct MyBox<T>(T);
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/chapter15/main.rs:84:8
[INFO] [stderr]    |
[INFO] [stderr] 83 | impl<T> MyBox<T> {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 84 |     fn new(x: T) -> MyBox<T> {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `hello` is never used
[INFO] [stderr]   --> src/chapter15/main.rs:97:4
[INFO] [stderr]    |
[INFO] [stderr] 97 | fn hello(name: &str) {
[INFO] [stderr]    |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_15_3` is never used
[INFO] [stderr]    --> src/chapter15/main.rs:101:4
[INFO] [stderr]     |
[INFO] [stderr] 101 | fn practice_15_3() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CustomSmartPointer` is never constructed
[INFO] [stderr]    --> src/chapter15/main.rs:121:8
[INFO] [stderr]     |
[INFO] [stderr] 121 | struct CustomSmartPointer {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_15_4` is never used
[INFO] [stderr]    --> src/chapter15/main.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn practice_15_4() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_15_5` is never used
[INFO] [stderr]    --> src/chapter15/main.rs:159:4
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn practice_15_5() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]    --> src/chapter15/main.rs:232:5
[INFO] [stderr]     |
[INFO] [stderr] 231 | struct Node {
[INFO] [stderr]     |        ---- fields in this struct
[INFO] [stderr] 232 |     value: i32,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 233 |     parent: RefCell<Weak<Node>>,
[INFO] [stderr] 234 |     children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/chapter15/lib.rs:13:27
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<T> {
[INFO] [stderr]    |                           ^^                 ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> {
[INFO] [stderr]    |                                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user3`
[INFO] [stderr]   --> src/chapter5/main.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let user3 = User {
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_5_1` is never used
[INFO] [stderr]  --> src/chapter5/main.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn practice_5_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_user` is never used
[INFO] [stderr]   --> src/chapter5/main.rs:21:4
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn build_user(email: String, username: String) -> User {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]   --> src/chapter5/main.rs:32:8
[INFO] [stderr]    |
[INFO] [stderr] 32 | struct User {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `format`
[INFO] [stderr]  --> src/chapter10/main.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{format, Debug, Display};
[INFO] [stderr]   |                ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `point`
[INFO] [stderr]   --> src/chapter10/main.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let point = Point { x: 5, y: 10 };
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `point`
[INFO] [stderr]   --> src/chapter10/main.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let point = Point { x: 1.0, y: 4.0 };
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `item1`
[INFO] [stderr]    --> src/chapter10/main.rs:118:35
[INFO] [stderr]     |
[INFO] [stderr] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stderr]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `item2`
[INFO] [stderr]    --> src/chapter10/main.rs:118:46
[INFO] [stderr]     |
[INFO] [stderr] 118 | pub fn notify_complex<T: Summary>(item1: &T, item2: &T) {
[INFO] [stderr]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> src/chapter10/main.rs:122:24
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stderr]     |                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u`
[INFO] [stderr]    --> src/chapter10/main.rs:122:31
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stderr]     |                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `result` is assigned to, but never used
[INFO] [stderr]    --> src/chapter10/main.rs:175:13
[INFO] [stderr]     |
[INFO] [stderr] 175 |         let result;
[INFO] [stderr]     |             ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_result` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `result` is never read
[INFO] [stderr]    --> src/chapter10/main.rs:178:13
[INFO] [stderr]     |
[INFO] [stderr] 178 |             result = longest(string1.as_str(), string2.as_str());
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_10_1` is never used
[INFO] [stderr]  --> src/chapter10/main.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn practice_10_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Point` is never constructed
[INFO] [stderr]   --> src/chapter10/main.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | struct Point<T> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `x` is never used
[INFO] [stderr]   --> src/chapter10/main.rs:32:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl <T> Point<T> {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 32 |     fn x(&self) -> &T {
[INFO] [stderr]    |        ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_10_2` is never used
[INFO] [stderr]   --> src/chapter10/main.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn practice_10_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `some_function` is never used
[INFO] [stderr]    --> src/chapter10/main.rs:122:4
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn some_function<T, U>(t: &T, u: &U) -> i32 where T: Display + Clone, U: Clone + Debug
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Pair` is never constructed
[INFO] [stderr]    --> src/chapter10/main.rs:127:8
[INFO] [stderr]     |
[INFO] [stderr] 127 | struct Pair<T> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/chapter10/main.rs:133:8
[INFO] [stderr]     |
[INFO] [stderr] 132 | impl <T> Pair<T> {
[INFO] [stderr]     | ---------------- associated function in this implementation
[INFO] [stderr] 133 |     fn new(x: T, y: T) -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `cmp_display` is never used
[INFO] [stderr]    --> src/chapter10/main.rs:140:8
[INFO] [stderr]     |
[INFO] [stderr] 139 | impl <T: PartialOrd + Display> Pair<T> {
[INFO] [stderr]     | -------------------------------------- method in this implementation
[INFO] [stderr] 140 |     fn cmp_display(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s2`
[INFO] [stderr]   --> src/chapter4/main.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 |         let s2 = s1;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]   --> src/chapter4/main.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let r1 = &mut s;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]   --> src/chapter4/main.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |         let r1 = &s; // 問題なし
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r2`
[INFO] [stderr]   --> src/chapter4/main.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |         let r2 = &s; // 問題なし
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r3`
[INFO] [stderr]   --> src/chapter4/main.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let r3 = &mut s;
[INFO] [stderr]    |             ^^ help: if this is intentional, prefix it with an underscore: `_r3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reference_to_nothing`
[INFO] [stderr]    --> src/chapter4/main.rs:100:13
[INFO] [stderr]     |
[INFO] [stderr] 100 |         let reference_to_nothing = no_dangle();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_to_nothing`
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_4_1` is never used
[INFO] [stderr]  --> src/chapter4/main.rs:7:4
[INFO] [stderr]   |
[INFO] [stderr] 7 | fn practice_4_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_length_4_1` is never used
[INFO] [stderr]   --> src/chapter4/main.rs:44:4
[INFO] [stderr]    |
[INFO] [stderr] 44 | fn calculate_length_4_1(s: String) -> (String, usize) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_4_2` is never used
[INFO] [stderr]   --> src/chapter4/main.rs:51:4
[INFO] [stderr]    |
[INFO] [stderr] 51 | fn practice_4_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `calculate_length_4_2` is never used
[INFO] [stderr]    --> src/chapter4/main.rs:109:4
[INFO] [stderr]     |
[INFO] [stderr] 109 | fn calculate_length_4_2(s: &String) -> usize {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `change` is never used
[INFO] [stderr]    --> src/chapter4/main.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn change(some_string: &mut String) {
[INFO] [stderr]     |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `no_dangle` is never used
[INFO] [stderr]    --> src/chapter4/main.rs:125:4
[INFO] [stderr]     |
[INFO] [stderr] 125 | fn no_dangle() -> String {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]  --> src/chapter9/main.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{Error, Read};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_9_1` is never used
[INFO] [stderr]  --> src/chapter9/main.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn practice_9_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/chapter8/main.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |         let v = vec![1, 2, 3];
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `row`
[INFO] [stderr]   --> src/chapter8/main.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let row = vec![
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/chapter8/main.rs:93:13
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let s = data.to_string();
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/chapter8/main.rs:94:13
[INFO] [stderr]    |
[INFO] [stderr] 94 |         let s = String::from("initial contents");
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/chapter8/main.rs:145:13
[INFO] [stderr]     |
[INFO] [stderr] 145 |         let mut scores: HashMap<_, _> =
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_8_1` is never used
[INFO] [stderr]  --> src/chapter8/main.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn practice_8_1() {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `practice_8_2` is never used
[INFO] [stderr]   --> src/chapter8/main.rs:89:4
[INFO] [stderr]    |
[INFO] [stderr] 89 | fn practice_8_2() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-programming-language` (bin "chap3" test) generated 10 warnings (run `cargo fix --bin "chap3" -p rust-programming-language --tests` to apply 4 suggestions)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap15" test) generated 13 warnings (run `cargo fix --bin "chap15" -p rust-programming-language --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap5" test) generated 4 warnings (run `cargo fix --bin "chap5" -p rust-programming-language --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap10" test) generated 17 warnings (run `cargo fix --bin "chap10" -p rust-programming-language --tests` to apply 7 suggestions)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap4" test) generated 12 warnings (run `cargo fix --bin "chap4" -p rust-programming-language --tests` to apply 6 suggestions)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap9" test) generated 2 warnings (run `cargo fix --bin "chap9" -p rust-programming-language --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `rust-programming-language` (bin "chap8" test) generated 7 warnings (run `cargo fix --bin "chap8" -p rust-programming-language --tests` to apply 5 suggestions)
[INFO] [stderr] warning: `rust-programming-language` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_programming_language-24c8aaaef7f37865)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter1/main.rs (/opt/rustwide/target/debug/deps/chap1-0e746ef7b668b79c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter10/main.rs (/opt/rustwide/target/debug/deps/chap10-d5cf17ae8801b455)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter15/main.rs (/opt/rustwide/target/debug/deps/chap15-d2ef3211c087b89b)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test lib::tests::it_sends_an_over_75_percent_warning_message ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter16/main.rs (/opt/rustwide/target/debug/deps/chap16-81e7f07c789caa64)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter20/bin/main.rs (/opt/rustwide/target/debug/deps/chap20-8222f9a5e2949a35)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter3/main.rs (/opt/rustwide/target/debug/deps/chap3-1cdcfc38b0bffa84)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter4/main.rs (/opt/rustwide/target/debug/deps/chap4-a9fa0c5ee6847fc9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter5/main.rs (/opt/rustwide/target/debug/deps/chap5-c534cf64272543f9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter6/main.rs (/opt/rustwide/target/debug/deps/chap6-f0fbde85a01bd933)
[INFO] [stderr]      Running unittests src/chapter7/main.rs (/opt/rustwide/target/debug/deps/chap7-57d01f17fc5cb8d6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter8/main.rs (/opt/rustwide/target/debug/deps/chap8-285fa50cd84427ca)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/chapter9/main.rs (/opt/rustwide/target/debug/deps/chap9-a5bc30d1faf38266)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_programming_language-330ef727fad20145)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_programming_language
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "19f77d0e6cd3b1d75ce1efffeeb6610dab2e55e98566092bd2aaa70c298b2e21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19f77d0e6cd3b1d75ce1efffeeb6610dab2e55e98566092bd2aaa70c298b2e21", kill_on_drop: false }`
[INFO] [stdout] 19f77d0e6cd3b1d75ce1efffeeb6610dab2e55e98566092bd2aaa70c298b2e21
