[INFO] cloning repository https://github.com/c4collins/the-rust-programming-language-rust-2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c4collins/the-rust-programming-language-rust-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4collins%2Fthe-rust-programming-language-rust-2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4collins%2Fthe-rust-programming-language-rust-2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19a8c595b4beacbde9b2952938b4773130120cf0
[INFO] testing c4collins/the-rust-programming-language-rust-2021 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4collins%2Fthe-rust-programming-language-rust-2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/c4collins/the-rust-programming-language-rust-2021
[INFO] finished tweaking git repo https://github.com/c4collins/the-rust-programming-language-rust-2021
[INFO] tweaked toml for git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6c3bfeac94a417c9fcfb0ecb09651edfde8b450b4525797c6d85362fd57aba9
[INFO] running `Command { std: "docker" "start" "-a" "e6c3bfeac94a417c9fcfb0ecb09651edfde8b450b4525797c6d85362fd57aba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6c3bfeac94a417c9fcfb0ecb09651edfde8b450b4525797c6d85362fd57aba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6c3bfeac94a417c9fcfb0ecb09651edfde8b450b4525797c6d85362fd57aba9", kill_on_drop: false }`
[INFO] [stdout] e6c3bfeac94a417c9fcfb0ecb09651edfde8b450b4525797c6d85362fd57aba9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae765e6670d03aa2146a145206bab5e1c9ee9a3702a452576cb12e897ebc582d
[INFO] running `Command { std: "docker" "start" "-a" "ae765e6670d03aa2146a145206bab5e1c9ee9a3702a452576cb12e897ebc582d", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling strum_macros v0.25.1
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.11s
[INFO] running `Command { std: "docker" "inspect" "ae765e6670d03aa2146a145206bab5e1c9ee9a3702a452576cb12e897ebc582d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae765e6670d03aa2146a145206bab5e1c9ee9a3702a452576cb12e897ebc582d", kill_on_drop: false }`
[INFO] [stdout] ae765e6670d03aa2146a145206bab5e1c9ee9a3702a452576cb12e897ebc582d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51e95dbbc06cb26b7b967caff62bac0e91e181a8453394270ac009635a5aff97
[INFO] running `Command { std: "docker" "start" "-a" "51e95dbbc06cb26b7b967caff62bac0e91e181a8453394270ac009635a5aff97", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "51e95dbbc06cb26b7b967caff62bac0e91e181a8453394270ac009635a5aff97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51e95dbbc06cb26b7b967caff62bac0e91e181a8453394270ac009635a5aff97", kill_on_drop: false }`
[INFO] [stdout] 51e95dbbc06cb26b7b967caff62bac0e91e181a8453394270ac009635a5aff97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9db61f822a05f598ba43f8d08470f620b8e9b642b5205a0b0b63ec8b6521202b
[INFO] running `Command { std: "docker" "start" "-a" "9db61f822a05f598ba43f8d08470f620b8e9b642b5205a0b0b63ec8b6521202b", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stderr]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thread`
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     thread,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `post`
[INFO] [stderr]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stderr]    |
[INFO] [stderr] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stderr]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stderr]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let r = address as *const i32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 |     V4(String),
[INFO] [stderr]   |     -- ^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 3 |     V4(()),
[INFO] [stderr]   |        ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 |     V6(String),
[INFO] [stderr]   |     -- ^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 4 |     V6(()),
[INFO] [stderr]   |        ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stderr]    |
[INFO] [stderr] 46 |         Int(i32),
[INFO] [stderr]    |         --- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 46 |         Int(()),
[INFO] [stderr]    |             ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stderr]    |
[INFO] [stderr] 47 |         Float(f64),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 47 |         Float(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stderr]    |
[INFO] [stderr] 48 |         Text(String),
[INFO] [stderr]    |         ---- ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 48 |         Text(()),
[INFO] [stderr]    |              ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `location` and `content` are never read
[INFO] [stderr]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct NewsArticle {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 14 |     pub headline: String,
[INFO] [stderr] 15 |     pub location: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 16 |     pub author: String,
[INFO] [stderr] 17 |     pub content: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stderr]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct Tweet {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 38 |     pub username: String,
[INFO] [stderr] 39 |     pub content: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 40 |     pub reply: bool,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 41 |     pub retweet: bool,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub struct Rectangle {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `can_hold` is never used
[INFO] [stderr]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl Rectangle {
[INFO] [stderr]   | -------------- method in this implementation
[INFO] [stderr] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shoe` is never constructed
[INFO] [stderr]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Shoe {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `shoes_in_size` is never used
[INFO] [stderr]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Messenger` is never used
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/limit_tracker.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub trait Messenger {
[INFO] [stderr]   |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LimitTracker` is never constructed
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `set_value` are never used
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stderr] 12 | | where
[INFO] [stderr] 13 | |     T: Messenger,
[INFO] [stderr]    | |_________________- associated items in this implementation
[INFO] [stderr] 14 |   {
[INFO] [stderr] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Cons(i32, Box<List>),
[INFO] [stderr]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     fields in this variant
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Cons((), ()),
[INFO] [stderr]   |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stderr]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Cons((), ()),
[INFO] [stderr]    |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stderr]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 18 |     Cons((), ()),
[INFO] [stderr]    |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Cons(i32, CycleRefCell),
[INFO] [stderr]    |     ---- ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Cons((), CycleRefCell),
[INFO] [stderr]    |          ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Node {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 6 |     pub value: i32,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `y` and `z` are never read
[INFO] [stderr]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stderr]     |
[INFO] [stderr] 185 |     struct Point {
[INFO] [stderr]     |            ----- fields in this struct
[INFO] [stderr] 186 |         x: i32,
[INFO] [stderr] 187 |         y: i32,
[INFO] [stderr]     |         ^
[INFO] [stderr] 188 |         z: i32,
[INFO] [stderr]     |         ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Value(u32),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Value(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stderr]   |        ----- ^^^
[INFO] [stderr]   |        |
[INFO] [stderr]   |        field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stderr]   |              ~~
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Foo` is never used
[INFO] [stderr]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stderr]    |
[INFO] [stderr] 98 | unsafe trait Foo {}
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `HttpMethod` is never used
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | enum HttpMethod {
[INFO] [stderr]   |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HttpHeader` is never constructed
[INFO] [stderr]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct HttpHeader {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HttpRequest` is never constructed
[INFO] [stderr]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub struct HttpRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-book` (lib) generated 33 warnings (run `cargo fix --lib -p rust-book` to apply 2 suggestions)
[INFO] [stderr] warning: `rust-book` (lib test) generated 26 warnings (26 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book") generated 33 warnings (33 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book" test) generated 26 warnings (26 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_book-34d3412d5025bea6)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::larger_can_hold_smaller ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::smaller_cannot_hold_larger ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::expensive_test ... ignored
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_two_and_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_three_and_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::exploration ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::greeting_contains_name ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::it_adds_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::one_hundred ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::test_adding ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_pass ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_filters_by_size ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_demonstration ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_sum ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterators_that_produce_iterators ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c15_smart_pointers::limit_tracker::tests::test_it_sends_an_over_75_percent_warning_message ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::another_test - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::guess::tests::greater_than_100 - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_fail - should panic ... ok
[INFO] [stdout] test chapters::c20_multithreaded_web_server::templates::tests::test_get ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- chapters::c20_multithreaded_web_server::templates::tests::test_get stdout ----
[INFO] [stdout] Got `hello.html`, getting `/home/tasty/Development/rust-book/src/chapters/c20_multithreaded_web_server/templates/html/hello.html`
[INFO] [stdout] thread 'chapters::c20_multithreaded_web_server::templates::tests::test_get' panicked at src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:50:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5571b4694815 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x5571b4694815 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5571b4694815 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5571b4694815 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5571b46bb8ab - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x5571b46bb8ab - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x5571b469204f - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x5571b46945ee - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5571b46945ee - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5571b4696019 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x5571b4695cde - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x5571b4664e8a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x5571b4664e8a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x5571b469661b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x5571b469661b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x5571b4696394 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x5571b4694cd9 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5571b46960c7 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x5571b461d8a3 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5571b461ddd6 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x5571b462d386 - core::result::Result<T,E>::unwrap::hf68d0898930a399f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x5571b462d386 - rust_book::chapters::c20_multithreaded_web_server::templates::get::h5334684c2fc8cccb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:20
[INFO] [stdout]   22:     0x5571b462a0ed - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::h384fa2f3221cd5c0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:24:30
[INFO] [stdout]   23:     0x5571b462a0b7 - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::{{closure}}::h772905237a910890
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:21:18
[INFO] [stdout]   24:     0x5571b4626786 - core::ops::function::FnOnce::call_once::h0d3926320e123ddd
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5571b466986b - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5571b466986b - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   27:     0x5571b4668f71 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   28:     0x5571b4668f71 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x5571b4668f71 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   30:     0x5571b4668f71 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   31:     0x5571b4668f71 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   32:     0x5571b4668f71 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   33:     0x5571b4668f71 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   34:     0x5571b4631934 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   35:     0x5571b4631934 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x5571b4636362 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   37:     0x5571b4636362 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x5571b4636362 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   39:     0x5571b4636362 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   40:     0x5571b4636362 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   41:     0x5571b4636362 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   42:     0x5571b4636362 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5571b469a7fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x5571b469a7fb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   45:     0x5571b469a7fb - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f247ca40ac3 - <unknown>
[INFO] [stdout]   47:     0x7f247cad1a04 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     chapters::c20_multithreaded_web_server::templates::tests::test_get
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "9db61f822a05f598ba43f8d08470f620b8e9b642b5205a0b0b63ec8b6521202b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9db61f822a05f598ba43f8d08470f620b8e9b642b5205a0b0b63ec8b6521202b", kill_on_drop: false }`
[INFO] [stdout] 9db61f822a05f598ba43f8d08470f620b8e9b642b5205a0b0b63ec8b6521202b
[INFO] testing c4collins/the-rust-programming-language-rust-2021 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc4collins%2Fthe-rust-programming-language-rust-2021" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/c4collins/the-rust-programming-language-rust-2021
[INFO] finished tweaking git repo https://github.com/c4collins/the-rust-programming-language-rust-2021
[INFO] tweaked toml for git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] adb4ccccd414b8235a7ed8f3c0c2568ddb7ae29c87e46428f44ed3f8cb68fe37
[INFO] running `Command { std: "docker" "start" "-a" "adb4ccccd414b8235a7ed8f3c0c2568ddb7ae29c87e46428f44ed3f8cb68fe37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adb4ccccd414b8235a7ed8f3c0c2568ddb7ae29c87e46428f44ed3f8cb68fe37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adb4ccccd414b8235a7ed8f3c0c2568ddb7ae29c87e46428f44ed3f8cb68fe37", kill_on_drop: false }`
[INFO] [stdout] adb4ccccd414b8235a7ed8f3c0c2568ddb7ae29c87e46428f44ed3f8cb68fe37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f58e9b243cf050c43c726af48b13ca3354c83586a928a500fab7d5a71a33176
[INFO] running `Command { std: "docker" "start" "-a" "3f58e9b243cf050c43c726af48b13ca3354c83586a928a500fab7d5a71a33176", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling strum_macros v0.25.1
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.94s
[INFO] running `Command { std: "docker" "inspect" "3f58e9b243cf050c43c726af48b13ca3354c83586a928a500fab7d5a71a33176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f58e9b243cf050c43c726af48b13ca3354c83586a928a500fab7d5a71a33176", kill_on_drop: false }`
[INFO] [stdout] 3f58e9b243cf050c43c726af48b13ca3354c83586a928a500fab7d5a71a33176
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d667a8f8ec81e425514cb4237107d7154d97d84886f092bd3a2790677d4513db
[INFO] running `Command { std: "docker" "start" "-a" "d667a8f8ec81e425514cb4237107d7154d97d84886f092bd3a2790677d4513db", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Rectangle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `can_hold` is never used
[INFO] [stdout]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Rectangle {
[INFO] [stdout]   | -------------- method in this implementation
[INFO] [stdout] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shoe` is never constructed
[INFO] [stdout]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Shoe {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shoes_in_size` is never used
[INFO] [stdout]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Messenger` is never used
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/limit_tracker.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/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stdout] 12 | | where
[INFO] [stdout] 13 | |     T: Messenger,
[INFO] [stdout]    | |_________________- associated items in this implementation
[INFO] [stdout] 14 |   {
[INFO] [stdout] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     thread,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stdout]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let r = address as *const i32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(()),
[INFO] [stdout]   |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(i32),
[INFO] [stdout]    |         --- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Int(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(f64),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Float(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(String),
[INFO] [stdout]    |         ---- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Text(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location` and `content` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NewsArticle {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 14 |     pub headline: String,
[INFO] [stdout] 15 |     pub location: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub author: String,
[INFO] [stdout] 17 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stdout]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tweet {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 38 |     pub username: String,
[INFO] [stdout] 39 |     pub content: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub reply: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub retweet: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons(i32, Box<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Cons((), ()),
[INFO] [stdout]   |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Cons((), ()),
[INFO] [stdout]    |          ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons(i32, CycleRefCell),
[INFO] [stdout]    |     ---- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Cons((), CycleRefCell),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `y` and `z` are never read
[INFO] [stdout]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     struct Point {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 186 |         x: i32,
[INFO] [stdout] 187 |         y: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 188 |         z: i32,
[INFO] [stdout]     |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(u32),
[INFO] [stdout]    |         ----- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Value(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stdout]   |        ----- ^^^
[INFO] [stdout]   |        |
[INFO] [stdout]   |        field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Foo` is never used
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 | unsafe trait Foo {}
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum HttpMethod {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHeader` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct HttpHeader {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] running `Command { std: "docker" "inspect" "d667a8f8ec81e425514cb4237107d7154d97d84886f092bd3a2790677d4513db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d667a8f8ec81e425514cb4237107d7154d97d84886f092bd3a2790677d4513db", kill_on_drop: false }`
[INFO] [stdout] d667a8f8ec81e425514cb4237107d7154d97d84886f092bd3a2790677d4513db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 44daf8f0872e30297e7e5b03fc6ddc64be2d94fed86b7dcd909ff9c8010a67c4
[INFO] running `Command { std: "docker" "start" "-a" "44daf8f0872e30297e7e5b03fc6ddc64be2d94fed86b7dcd909ff9c8010a67c4", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Display`, `Formatter`, `Result`
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/http.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{Display, Formatter, Result};
[INFO] [stderr]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thread`
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/server.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     thread,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `post`
[INFO] [stderr]   --> src/chapters/c17_object_orientation_in_rust/blog.rs:46:27
[INFO] [stderr]    |
[INFO] [stderr] 46 |     fn content<'a>(&self, post: &'a Post) -> &'a str {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_post`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stderr]    |                 ^ help: try ignoring the field: `x: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/chapters/c18_patterns_and_matching/matching.rs:88:20
[INFO] [stderr]    |
[INFO] [stderr] 88 |         Point { x, y } => println!("On neither axis (x, y)"),
[INFO] [stderr]    |                    ^ help: try ignoring the field: `y: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `z`
[INFO] [stderr]    --> src/chapters/c18_patterns_and_matching/matching.rs:171:9
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let z = 30; // Will get a warning because it's unused
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:27:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     let r = address as *const i32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 |     V4(String),
[INFO] [stderr]   |     -- ^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 3 |     V4(()),
[INFO] [stderr]   |        ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c06_enums_and_pattern_matching/enums/mod.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 |     V6(String),
[INFO] [stderr]   |     -- ^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     field in this variant
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 4 |     V6(()),
[INFO] [stderr]   |        ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:46:13
[INFO] [stderr]    |
[INFO] [stderr] 46 |         Int(i32),
[INFO] [stderr]    |         --- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 46 |         Int(()),
[INFO] [stderr]    |             ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:47:15
[INFO] [stderr]    |
[INFO] [stderr] 47 |         Float(f64),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 47 |         Float(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c08_common_collections/vectors/mod.rs:48:14
[INFO] [stderr]    |
[INFO] [stderr] 48 |         Text(String),
[INFO] [stderr]    |         ---- ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 48 |         Text(()),
[INFO] [stderr]    |              ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `location` and `content` are never read
[INFO] [stderr]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct NewsArticle {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 14 |     pub headline: String,
[INFO] [stderr] 15 |     pub location: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 16 |     pub author: String,
[INFO] [stderr] 17 |     pub content: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `content`, `reply`, and `retweet` are never read
[INFO] [stderr]   --> src/chapters/c10_generic_types_traits_and_lifetimes/generics/summaries/mod.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct Tweet {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 38 |     pub username: String,
[INFO] [stderr] 39 |     pub content: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 40 |     pub reply: bool,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 41 |     pub retweet: bool,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Rectangle` is never constructed
[INFO] [stderr]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub struct Rectangle {
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `can_hold` is never used
[INFO] [stderr]  --> src/chapters/c11_writing_automated_tests/rectangle/mod.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | impl Rectangle {
[INFO] [stderr]   | -------------- method in this implementation
[INFO] [stderr] 8 |     pub fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shoe` is never constructed
[INFO] [stderr]  --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | struct Shoe {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `shoes_in_size` is never used
[INFO] [stderr]   --> src/chapters/c13_iterators_and_closures/iterators/mod.rs:22:4
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn shoes_in_size(shoes: Vec<Shoe>, shoe_size: u32) -> Vec<Shoe> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Messenger` is never used
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/limit_tracker.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub trait Messenger {
[INFO] [stderr]   |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LimitTracker` is never constructed
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/limit_tracker.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct LimitTracker<'a, T: Messenger> {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `set_value` are never used
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/limit_tracker.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | / impl<'a, T> LimitTracker<'a, T>
[INFO] [stderr] 12 | | where
[INFO] [stderr] 13 | |     T: Messenger,
[INFO] [stderr]    | |_________________- associated items in this implementation
[INFO] [stderr] 14 |   {
[INFO] [stderr] 15 |       pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |       pub fn set_value(&mut self, value: usize) {
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/list.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Cons(i32, Box<List>),
[INFO] [stderr]   |     ---- ^^^  ^^^^^^^^^
[INFO] [stderr]   |     |
[INFO] [stderr]   |     fields in this variant
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Cons((), ()),
[INFO] [stderr]   |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Cons(i32, Rc<RefCountList>),
[INFO] [stderr]    |     ---- ^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Cons((), ()),
[INFO] [stderr]    |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `0` and `1` are never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 |     Cons(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[INFO] [stderr]    |     ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stderr]    |
[INFO] [stderr] 18 |     Cons((), ()),
[INFO] [stderr]    |          ~~  ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c15_smart_pointers/list.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Cons(i32, CycleRefCell),
[INFO] [stderr]    |     ---- ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Cons((), CycleRefCell),
[INFO] [stderr]    |          ~~
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]  --> src/chapters/c15_smart_pointers/tree_graph.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Node {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 6 |     pub value: i32,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 7 |     pub children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `y` and `z` are never read
[INFO] [stderr]    --> src/chapters/c18_patterns_and_matching/matching.rs:187:9
[INFO] [stderr]     |
[INFO] [stderr] 185 |     struct Point {
[INFO] [stderr]     |            ----- fields in this struct
[INFO] [stderr] 186 |         x: i32,
[INFO] [stderr] 187 |         y: i32,
[INFO] [stderr]     |         ^
[INFO] [stderr] 188 |         z: i32,
[INFO] [stderr]     |         ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/chapters/c19_advanced_features/advanced_functions_and_closures.rs:37:15
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Value(u32),
[INFO] [stderr]    |         ----- ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 37 |         Value(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/chapters/c19_advanced_features/advanced_types.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Metre(u32); // Thin wrapper around type
[INFO] [stderr]   |        ----- ^^^
[INFO] [stderr]   |        |
[INFO] [stderr]   |        field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Metre(()); // Thin wrapper around type
[INFO] [stderr]   |              ~~
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Foo` is never used
[INFO] [stderr]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:98:14
[INFO] [stderr]    |
[INFO] [stderr] 98 | unsafe trait Foo {}
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `HttpMethod` is never used
[INFO] [stderr]  --> src/chapters/c20_multithreaded_web_server/http.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | enum HttpMethod {
[INFO] [stderr]   |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HttpHeader` is never constructed
[INFO] [stderr]   --> src/chapters/c20_multithreaded_web_server/http.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct HttpHeader {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HttpRequest` is never constructed
[INFO] [stderr]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub struct HttpRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-book` (lib) generated 33 warnings (run `cargo fix --lib -p rust-book` to apply 2 suggestions)
[INFO] [stderr] warning: `rust-book` (lib test) generated 26 warnings (26 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book") generated 33 warnings (33 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book" test) generated 26 warnings (26 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_book-34d3412d5025bea6)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::larger_can_hold_smaller ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::smaller_cannot_hold_larger ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::expensive_test ... ignored
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::exploration ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_three_and_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::greeting_contains_name ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_two_and_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::it_adds_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::one_hundred ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::test_adding ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_pass ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_filters_by_size ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_demonstration ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_sum ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterators_that_produce_iterators ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c15_smart_pointers::limit_tracker::tests::test_it_sends_an_over_75_percent_warning_message ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::another_test - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::guess::tests::greater_than_100 - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_fail - should panic ... ok
[INFO] [stdout] test chapters::c20_multithreaded_web_server::templates::tests::test_get ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- chapters::c20_multithreaded_web_server::templates::tests::test_get stdout ----
[INFO] [stdout] Got `hello.html`, getting `/home/tasty/Development/rust-book/src/chapters/c20_multithreaded_web_server/templates/html/hello.html`
[INFO] [stdout] thread 'chapters::c20_multithreaded_web_server::templates::tests::test_get' panicked at src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:50:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x563b1fdad8b5 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x563b1fdad8b5 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x563b1fdad8b5 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x563b1fdad8b5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x563b1fdd48eb - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x563b1fdd48eb - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x563b1fdab19f - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x563b1fdad68e - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x563b1fdad68e - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x563b1fdaeff9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x563b1fdaed4c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x563b1fd7df5f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x563b1fd7df5f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x563b1fdaf5fb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x563b1fdaf5fb - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x563b1fdaf374 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x563b1fdadd79 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x563b1fdaf0a7 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x563b1fd36883 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x563b1fd36db6 - core::result::unwrap_failed::h52f3bbb78b59f71d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x563b1fd46366 - core::result::Result<T,E>::unwrap::h2c401fa7c62971a2
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x563b1fd46366 - rust_book::chapters::c20_multithreaded_web_server::templates::get::hd220a057809b6d82
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:20
[INFO] [stdout]   22:     0x563b1fd431ad - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::h058fa42b4b44935d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:24:30
[INFO] [stdout]   23:     0x563b1fd43177 - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::{{closure}}::hb7772d9217237558
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:21:18
[INFO] [stdout]   24:     0x563b1fd3fa96 - core::ops::function::FnOnce::call_once::h007fc3f50d09c9dc
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x563b1fd8287b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x563b1fd8287b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   27:     0x563b1fd81f41 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   28:     0x563b1fd81f41 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x563b1fd81f41 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   30:     0x563b1fd81f41 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   31:     0x563b1fd81f41 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   32:     0x563b1fd81f41 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   33:     0x563b1fd81f41 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   34:     0x563b1fd4a914 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   35:     0x563b1fd4a914 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x563b1fd4f3e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   37:     0x563b1fd4f3e2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x563b1fd4f3e2 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   39:     0x563b1fd4f3e2 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   40:     0x563b1fd4f3e2 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   41:     0x563b1fd4f3e2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   42:     0x563b1fd4f3e2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x563b1fdb37cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x563b1fdb37cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   45:     0x563b1fdb37cb - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f2413570ac3 - <unknown>
[INFO] [stdout]   47:     0x7f2413601a04 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     chapters::c20_multithreaded_web_server::templates::tests::test_get
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "44daf8f0872e30297e7e5b03fc6ddc64be2d94fed86b7dcd909ff9c8010a67c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44daf8f0872e30297e7e5b03fc6ddc64be2d94fed86b7dcd909ff9c8010a67c4", kill_on_drop: false }`
[INFO] [stdout] 44daf8f0872e30297e7e5b03fc6ddc64be2d94fed86b7dcd909ff9c8010a67c4
