[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#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[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-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum v0.25.0
[INFO] [stderr]   Downloaded num v0.4.1
[INFO] [stderr]   Downloaded num-complex v0.4.3
[INFO] [stderr]   Downloaded strum_macros v0.25.1
[INFO] [stderr]   Downloaded quote v1.0.32
[INFO] [stderr]   Downloaded syn v2.0.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2e194661548c38e207d785afcdbd679294dc1139b46b5a80b62fbbeeebc19b2
[INFO] running `Command { std: "docker" "start" "-a" "f2e194661548c38e207d785afcdbd679294dc1139b46b5a80b62fbbeeebc19b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2e194661548c38e207d785afcdbd679294dc1139b46b5a80b62fbbeeebc19b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2e194661548c38e207d785afcdbd679294dc1139b46b5a80b62fbbeeebc19b2", kill_on_drop: false }`
[INFO] [stdout] f2e194661548c38e207d785afcdbd679294dc1139b46b5a80b62fbbeeebc19b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef2f066311e47758c80ea9a939d1405a102cfb35bce35e5a029ecc1484bfa896
[INFO] running `Command { std: "docker" "start" "-a" "ef2f066311e47758c80ea9a939d1405a102cfb35bce35e5a029ecc1484bfa896", 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 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 num-complex v0.4.3
[INFO] [stderr]    Compiling rand v0.8.5
[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`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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] 
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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] 
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.12s
[INFO] running `Command { std: "docker" "inspect" "ef2f066311e47758c80ea9a939d1405a102cfb35bce35e5a029ecc1484bfa896", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef2f066311e47758c80ea9a939d1405a102cfb35bce35e5a029ecc1484bfa896", kill_on_drop: false }`
[INFO] [stdout] ef2f066311e47758c80ea9a939d1405a102cfb35bce35e5a029ecc1484bfa896
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d5de6387cf6bc78839cfceca5573510b818766c538996debcfe0c9fccda0759
[INFO] running `Command { std: "docker" "start" "-a" "5d5de6387cf6bc78839cfceca5573510b818766c538996debcfe0c9fccda0759", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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] 
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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] 
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `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)]` (part of `#[warn(unused)]`) 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`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stdout]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `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: creating a shared reference to mutable static
[INFO] [stdout]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stdout]    |
[INFO] [stdout] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "5d5de6387cf6bc78839cfceca5573510b818766c538996debcfe0c9fccda0759", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d5de6387cf6bc78839cfceca5573510b818766c538996debcfe0c9fccda0759", kill_on_drop: false }`
[INFO] [stdout] 5d5de6387cf6bc78839cfceca5573510b818766c538996debcfe0c9fccda0759
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c45fea9c2a23222a10e7d9a7afa14059b195cfe672fa890ee133a73fec3ac07d
[INFO] running `Command { std: "docker" "start" "-a" "c45fea9c2a23222a10e7d9a7afa14059b195cfe672fa890ee133a73fec3ac07d", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Display`, `Formatter`, and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `IpAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(String),
[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]   = note: `IpAddress` 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] 4 -     V6(String),
[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]    = note: `SpreadsheetCell` 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] 46 -         Int(i32),
[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]    = note: `SpreadsheetCell` 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] 47 -         Float(f64),
[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]    = note: `SpreadsheetCell` 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] 48 -         Text(String),
[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] 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]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Box<List>),
[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]    = note: `RefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(i32, Rc<RefCountList>),
[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]    = note: `RefCellRefCountList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(Rc<RefCell<i32>>, Rc<RefCellRefCountList>),
[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]    = note: `CycleList` 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] 27 -     Cons(i32, CycleRefCell),
[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]    = note: `Status` 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] 37 -         Value(u32),
[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]   = help: consider removing this field
[INFO] [stderr]   = note: `Metre` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: creating a shared reference to mutable static
[INFO] [stderr]   --> src/chapters/c19_advanced_features/unsafe_rust.rs:93:33
[INFO] [stderr]    |
[INFO] [stderr] 93 |         println!("COUNTER: {}", COUNTER);
[INFO] [stderr]    |                                 ^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-book` (lib) generated 34 warnings (run `cargo fix --lib -p rust-book` to apply 7 suggestions)
[INFO] [stderr] warning: `rust-book` (bin "rust-book" test) generated 27 warnings (27 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book") generated 34 warnings (34 duplicates)
[INFO] [stderr] warning: `rust-book` (lib test) generated 27 warnings (27 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_book-2ba3488084d256db)
[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::tests::add_three_and_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_two_and_two ... 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::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::this_test_will_pass ... 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::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::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::c11_writing_automated_tests::tests::test_adding ... 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] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test chapters::c11_writing_automated_tests::guess::tests::greater_than_100 - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::another_test - 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] 
[INFO] [stdout] thread 'chapters::c20_multithreaded_web_server::templates::tests::test_get' (47) 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:     0x58a82b6375e2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58a82b6375e2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58a82b6375e2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x58a82b6375e2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x58a82b64cc0a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58a82b64cc0a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x58a82b63c3e6 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58a82b63c3e6 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x58a82b6158ff - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x58a82b6158ff - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58a82b62f449 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x58a82b5c977e - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x58a82b5c977e - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x58a82b62f602 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x58a82b62f602 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x58a82b6159b8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x58a82b60ab39 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x58a82b61680d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x58a82b64d30c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x58a82b64d082 - core[27de1724e4349be2]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x58a82b5b6cce - <core[27de1724e4349be2]::result::Result<alloc[a57f19327c0ad893]::string::String, std[3b51380354919863]::io::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x58a82b5b6cce - rust_book[a5162b217694a62a]::chapters::c20_multithreaded_web_server::templates::get
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:50
[INFO] [stdout]   22:     0x58a82b5bcbdd - rust_book[a5162b217694a62a]::chapters::c20_multithreaded_web_server::templates::tests::test_get
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:24:30
[INFO] [stdout]   23:     0x58a82b5bc237 - rust_book[a5162b217694a62a]::chapters::c20_multithreaded_web_server::templates::tests::test_get::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:21:18
[INFO] [stdout]   24:     0x58a82b5bb776 - <rust_book[a5162b217694a62a]::chapters::c20_multithreaded_web_server::templates::tests::test_get::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x58a82b5bdb2b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x58a82b5bdb2b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x58a82b5ca38a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x58a82b5ca38a - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x58a82b5ca38a - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x58a82b5ca38a - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x58a82b5ca38a - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x58a82b5ca38a - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x58a82b5ca38a - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x58a82b5c5934 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x58a82b5c5934 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x58a82b5cce82 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x58a82b5cce82 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x58a82b5cce82 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x58a82b5cce82 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x58a82b5cce82 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x58a82b5cce82 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x58a82b5cce82 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x58a82b636aef - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x58a82b636aef - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   45:     0x7045131fbaa4 - <unknown>
[INFO] [stdout]   46:     0x704513288a64 - clone
[INFO] [stdout]   47:                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.06s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c45fea9c2a23222a10e7d9a7afa14059b195cfe672fa890ee133a73fec3ac07d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c45fea9c2a23222a10e7d9a7afa14059b195cfe672fa890ee133a73fec3ac07d", kill_on_drop: false }`
[INFO] [stdout] c45fea9c2a23222a10e7d9a7afa14059b195cfe672fa890ee133a73fec3ac07d
