[INFO] cloning repository https://github.com/sebastian-navarro/the_rust_programming_language
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebastian-navarro/the_rust_programming_language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian-navarro%2Fthe_rust_programming_language", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian-navarro%2Fthe_rust_programming_language'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f28ac3d67048d5b48d5fc3176c4ceaa8cb9cc45
[INFO] checking sebastian-navarro/the_rust_programming_language against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebastian-navarro%2Fthe_rust_programming_language" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sebastian-navarro/the_rust_programming_language
[INFO] finished tweaking git repo https://github.com/sebastian-navarro/the_rust_programming_language
[INFO] tweaked toml for git repo https://github.com/sebastian-navarro/the_rust_programming_language written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sebastian-navarro/the_rust_programming_language on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sebastian-navarro/the_rust_programming_language 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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `the_rust_programming_language` should have a kebab-case name
[INFO] [stderr]   |
[INFO] [stderr] 1 | /workspace/builds/worker-3-tc2/source/target/.../the_rust_programming_language
[INFO] [stderr]   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `the-rust-programming-language`, convert `package.name`
[INFO] [stderr]  --> Cargo.toml:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 - name = "the_rust_programming_language"
[INFO] [stderr] 5 + name = "the-rust-programming-language"
[INFO] [stderr]   |
[INFO] [stderr] help: to change the binary name to `the-rust-programming-language`, specify `bin.name`
[INFO] [stderr]  --> Cargo.toml:6:19
[INFO] [stderr]   |
[INFO] [stderr] 6 ~ version = "0.1.0"
[INFO] [stderr] 7 + [[bin]]
[INFO] [stderr] 8 + name = "the-rust-programming-language"
[INFO] [stderr] 9 + path = "src/main.rs"
[INFO] [stderr]   |
[INFO] [stderr] warning: `the_rust_programming_language` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466
[INFO] running `Command { std: "docker" "start" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `the_rust_programming_language` should have a kebab-case name
[INFO] [stderr]   |
[INFO] [stderr] 1 | /opt/rustwide/target/.../the_rust_programming_language
[INFO] [stderr]   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `the-rust-programming-language`, convert `package.name`
[INFO] [stderr]  --> Cargo.toml:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 - name = "the_rust_programming_language"
[INFO] [stderr] 5 + name = "the-rust-programming-language"
[INFO] [stderr]   |
[INFO] [stderr] help: to change the binary name to `the-rust-programming-language`, specify `bin.name`
[INFO] [stderr]  --> Cargo.toml:6:19
[INFO] [stderr]   |
[INFO] [stderr] 6 ~ version = "0.1.0"
[INFO] [stderr] 7 + [[bin]]
[INFO] [stderr] 8 + name = "the-rust-programming-language"
[INFO] [stderr] 9 + path = "src/main.rs"
[INFO] [stderr]   |
[INFO] [stderr] warning: `the_rust_programming_language` (manifest) generated 1 warning
[INFO] [stderr]     Checking the_rust_programming_language v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `active`, `username`, and `sign_in_count` are never read
[INFO] [stdout]  --> examples/5_1_structs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 4 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout] 6 |     sign_in_count : u64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_user` is never used
[INFO] [stdout]  --> examples/5_1_structs.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn build_user(email: String, username: String) -> User {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]  --> examples/13_9_closures_fnmut.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        --------- field in this struct
[INFO] [stdout] 3 |     width: u32,
[INFO] [stdout] 4 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel`, `Dime`, and `Quarter` are never constructed
[INFO] [stdout]  --> examples/6_2_enums_example.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 3 |     Penny,
[INFO] [stdout] 4 |     Nickel,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     Dime,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Quarter,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/15_3_drop_sp.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> examples/15_3_drop_sp.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let d = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]  --> examples/13_7_closures_sort.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        --------- field in this struct
[INFO] [stdout] 3 |     width: u32,
[INFO] [stdout] 4 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> examples/15_1_box_smart_pointer.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     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]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 3 -     Cons(i32, Box<List>),
[INFO] [stdout] 3 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/15_4_rc_smartpointer.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let b = Cons(3, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/15_4_rc_smartpointer.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let c = Cons(4, Rc::clone(&a));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> examples/15_4_rc_smartpointer.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Cons(i32, Rc<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 2 -     Cons(i32, Rc<List>),
[INFO] [stdout] 2 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> examples/15_5_refcell_rc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Cons(Rc<RefCell<i32>>, Rc<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]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 3 -     Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 3 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]  --> examples/10_1_generics.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Point<T, U> {
[INFO] [stdout]   |        ----- fields in this struct
[INFO] [stdout] 2 |     x: T,
[INFO] [stdout]   |     ^
[INFO] [stdout] 3 |     y: U,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/8_1_vectors.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     First(String),
[INFO] [stdout]   |     ----- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Types` 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 -     First(String),
[INFO] [stdout] 3 +     First(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/8_1_vectors.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Second(i8),
[INFO] [stdout]   |     ------ ^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Types` 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 -     Second(i8),
[INFO] [stdout] 4 +     Second(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/8_1_vectors.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Third(char),
[INFO] [stdout]   |     ----- ^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Types` 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] 5 -     Third(char),
[INFO] [stdout] 5 +     Third(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `label` are never read
[INFO] [stdout]   --> examples/17_2_oop_traits.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Button {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |     width:u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 19 |     height:u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     label: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `options` are never read
[INFO] [stdout]   --> examples/17_2_oop_traits.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct SelectBox {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 31 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 32 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 33 |     options: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> examples/10_2_traits.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn some_function<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> examples/10_2_traits.rs:65:31
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn some_function<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_function` is never used
[INFO] [stdout]   --> examples/10_2_traits.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn some_function<T, U>(t: &T, u: &U) -> i32
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `approve` found for unit type `()` in the current scope
[INFO] [stdout]   --> examples/17_3_state_patter_opp.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn approve(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    |                      --------- the method might not be found because of this arbitrary self type
[INFO] [stdout] ...
[INFO] [stdout] 93 |     let post = post.approve();
[INFO] [stdout]    |                     ^^^^^^^ method not found in `()`
[INFO] [stdout]    |
[INFO] [stdout] note: there's an earlier shadowed binding `post` of type `Post` that has method `approve` available
[INFO] [stdout]   --> examples/17_3_state_patter_opp.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut post = Post::new();
[INFO] [stdout]    |         ^^^^^^^^ `post` of type `Post` that has method `approve` defined earlier here
[INFO] [stdout] ...
[INFO] [stdout] 91 |     let post = post.request_review();
[INFO] [stdout]    |         ---- earlier `post` shadowed here with type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> examples/17_3_state_patter_opp.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `the_rust_programming_language` (example "17_3_state_patter_opp") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466", kill_on_drop: false }`
[INFO] [stdout] 244dab0cab9b58baca6e570ba360971b6a3dac150d41d31ff6829d1e97d13466
