[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 beta-2026-03-05 for beta-1.95-1
[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-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/c4collins/the-rust-programming-language-rust-2021 on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "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" "+beta-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d9ab4d4dd2b2f94d9f2886bcc4f70ca4b19de4ae1d448dd8f3594c3fe7bc880
[INFO] running `Command { std: "docker" "start" "-a" "7d9ab4d4dd2b2f94d9f2886bcc4f70ca4b19de4ae1d448dd8f3594c3fe7bc880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d9ab4d4dd2b2f94d9f2886bcc4f70ca4b19de4ae1d448dd8f3594c3fe7bc880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d9ab4d4dd2b2f94d9f2886bcc4f70ca4b19de4ae1d448dd8f3594c3fe7bc880", kill_on_drop: false }`
[INFO] [stdout] 7d9ab4d4dd2b2f94d9f2886bcc4f70ca4b19de4ae1d448dd8f3594c3fe7bc880
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 201161e464cbe869e4f2ddad6d5968d1ba2e2be70927c7cfa0b62a7fc38f0821
[INFO] running `Command { std: "docker" "start" "-a" "201161e464cbe869e4f2ddad6d5968d1ba2e2be70927c7cfa0b62a7fc38f0821", 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 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 proc-macro2 v1.0.66
[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 strum_macros v0.25.1
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 7.83s
[INFO] running `Command { std: "docker" "inspect" "201161e464cbe869e4f2ddad6d5968d1ba2e2be70927c7cfa0b62a7fc38f0821", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "201161e464cbe869e4f2ddad6d5968d1ba2e2be70927c7cfa0b62a7fc38f0821", kill_on_drop: false }`
[INFO] [stdout] 201161e464cbe869e4f2ddad6d5968d1ba2e2be70927c7cfa0b62a7fc38f0821
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ccdf7417a693bd42f196be2957881064715c1afd12dc4e297431e91bae56d30
[INFO] running `Command { std: "docker" "start" "-a" "1ccdf7417a693bd42f196be2957881064715c1afd12dc4e297431e91bae56d30", 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] [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] [stderr]    Compiling rust-book v0.14.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/chapters/c20_multithreaded_web_server/http.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: 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: 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: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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.14s
[INFO] running `Command { std: "docker" "inspect" "1ccdf7417a693bd42f196be2957881064715c1afd12dc4e297431e91bae56d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ccdf7417a693bd42f196be2957881064715c1afd12dc4e297431e91bae56d30", kill_on_drop: false }`
[INFO] [stdout] 1ccdf7417a693bd42f196be2957881064715c1afd12dc4e297431e91bae56d30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 362aa89e0c940a6abe87e0dadf844504c34bf556800307200046598499f5a717
[INFO] running `Command { std: "docker" "start" "-a" "362aa89e0c940a6abe87e0dadf844504c34bf556800307200046598499f5a717", 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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` (lib test) generated 27 warnings (27 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book") generated 34 warnings (34 duplicates)
[INFO] [stderr] warning: `rust-book` (bin "rust-book" test) generated 27 warnings (27 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_book-8c6bee6f972bea46)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::larger_can_hold_smaller ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::smaller_cannot_hold_larger ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::expensive_test ... ignored
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::add_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::tests::exploration ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::greeting_contains_name ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::it_adds_two ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::one_hundred ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::test_adding ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_pass ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c12_an_io_project::minigrep::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_filters_by_size ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_demonstration ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterator_sum ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_sensitive ... ok
[INFO] [stdout] test chapters::c15_smart_pointers::limit_tracker::tests::test_it_sends_an_over_75_percent_warning_message ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::iterators::tests::test_iterators_that_produce_iterators ... ok
[INFO] [stdout] test chapters::c13_iterators_and_closures::minigrep_plus::tests::case_insensitive ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::tests::this_test_will_fail - should panic ... ok
[INFO] [stdout] test chapters::c11_writing_automated_tests::guess::tests::greater_than_100 - should panic ... ok
[INFO] [stdout] test chapters::c20_multithreaded_web_server::templates::tests::test_get ... FAILED
[INFO] [stdout] test chapters::c11_writing_automated_tests::rectangle::tests::another_test - should panic ... ok
[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:     0x5f33a06ed2fa - std[b80a194dd3c418bb]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f33a06ed2fa - std[b80a194dd3c418bb]::backtrace_rs::backtrace::trace_unsynchronized::<std[b80a194dd3c418bb]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f33a06ed2fa - std[b80a194dd3c418bb]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f33a06ed2fa - <<std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[10b6fa85044e1869]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f33a0701d8a - <core[10b6fa85044e1869]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f33a0701d8a - core[10b6fa85044e1869]::fmt::write
[INFO] [stdout]    6:     0x5f33a06f1b82 - std[b80a194dd3c418bb]::io::default_write_fmt::<alloc[dd269455e567d8e9]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f33a06f1b82 - <alloc[dd269455e567d8e9]::vec::Vec<u8> as std[b80a194dd3c418bb]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f33a06cc14f - <std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f33a06cc14f - std[b80a194dd3c418bb]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f33a06e54a9 - std[b80a194dd3c418bb]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f33a068105c - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5f33a068105c - test[826cbc6ef54ab466]::test_main_with_exit_callback::<test[826cbc6ef54ab466]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f33a06e5662 - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5f33a06e5662 - std[b80a194dd3c418bb]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f33a06cc208 - std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5f33a06c3a59 - std[b80a194dd3c418bb]::sys::backtrace::__rust_end_short_backtrace::<std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f33a06ccf1d - __rustc[9698a3e60dd14283]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f33a070262c - core[10b6fa85044e1869]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f33a07023a2 - core[10b6fa85044e1869]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5f33a0674dae - core::result::Result<T,E>::unwrap::h88c177d963f682de
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5f33a0674dae - rust_book::chapters::c20_multithreaded_web_server::templates::get::hdb3f53bba06e783e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:8:50
[INFO] [stdout]   22:     0x5f33a0674f8d - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::h3e57a166bcda52f7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:24:30
[INFO] [stdout]   23:     0x5f33a06750c7 - rust_book::chapters::c20_multithreaded_web_server::templates::tests::test_get::{{closure}}::h7689d3b7b21c0a3e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chapters/c20_multithreaded_web_server/templates/mod.rs:21:18
[INFO] [stdout]   24:     0x5f33a0667456 - core::ops::function::FnOnce::call_once::hcb8ad1229100bac7
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f33a067513b - <fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5f33a067513b - test[826cbc6ef54ab466]::__rust_begin_short_backtrace::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x5f33a0681b2b - test[826cbc6ef54ab466]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x5f33a0681b2b - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x5f33a0681b2b - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5f33a0681b2b - std[b80a194dd3c418bb]::panicking::catch_unwind::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5f33a0681b2b - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5f33a0681b2b - test[826cbc6ef54ab466]::run_test_in_process
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x5f33a0681b2b - test[826cbc6ef54ab466]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x5f33a067d244 - test[826cbc6ef54ab466]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x5f33a067d244 - std[b80a194dd3c418bb]::sys::backtrace::__rust_begin_short_backtrace::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5f33a0684732 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x5f33a0684732 - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x5f33a0684732 - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5f33a0684732 - std[b80a194dd3c418bb]::panicking::catch_unwind::<(), core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5f33a0684732 - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5f33a0684732 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x5f33a0684732 - <std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1} as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5f33a06ec8af - <alloc[dd269455e567d8e9]::boxed::Box<dyn core[10b6fa85044e1869]::ops::function::FnOnce<(), Output = ()> + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   44:     0x5f33a06ec8af - <std[b80a194dd3c418bb]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7307b374daa4 - <unknown>
[INFO] [stdout]   46:     0x7307b37daa64 - 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.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "362aa89e0c940a6abe87e0dadf844504c34bf556800307200046598499f5a717", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "362aa89e0c940a6abe87e0dadf844504c34bf556800307200046598499f5a717", kill_on_drop: false }`
[INFO] [stdout] 362aa89e0c940a6abe87e0dadf844504c34bf556800307200046598499f5a717
