[INFO] cloning repository https://github.com/mdtagg/the_rust_book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdtagg/the_rust_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdtagg%2Fthe_rust_book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdtagg%2Fthe_rust_book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d191599c007486c7f7718dfb7c52280d95ed498
[INFO] checking mdtagg/the_rust_book against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdtagg%2Fthe_rust_book" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mdtagg/the_rust_book
[INFO] finished tweaking git repo https://github.com/mdtagg/the_rust_book
[INFO] tweaked toml for git repo https://github.com/mdtagg/the_rust_book written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mdtagg/the_rust_book on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mdtagg/the_rust_book 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3
[INFO] running `Command { std: "docker" "start" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3", 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" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3", 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" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]     Checking ch_8 v0.1.0 (/opt/rustwide/workdir/ch_8)
[INFO] [stderr]     Checking ch_7 v0.1.0 (/opt/rustwide/workdir/ch_7)
[INFO] [stderr]     Checking app v0.1.0 (/opt/rustwide/workdir/app)
[INFO] [stderr]     Checking ch_4 v0.1.0 (/opt/rustwide/workdir/ch_4)
[INFO] [stderr]     Checking ch_3 v0.1.0 (/opt/rustwide/workdir/ch_3)
[INFO] [stderr]     Checking ch_1 v0.1.0 (/opt/rustwide/workdir/ch_1)
[INFO] [stderr]     Checking ch_6 v0.1.0 (/opt/rustwide/workdir/ch_6)
[INFO] [stderr]     Checking ch_5 v0.1.0 (/opt/rustwide/workdir/ch_5)
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn add_fancy_hat() {};
[INFO] [stdout]     |                          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn remove_fancy_hat() {};
[INFO] [stdout]     |                             ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn move_player(num_spaces: u8) {};
[INFO] [stdout]     |                                      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_6/src/main.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> ch_7/src/lib.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) fn add(left: u64, right: u64) -> u64 {
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn take_order() {}
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn serve_order() {}
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn take_payment() {}
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> ch_7/src/lib.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub struct Breakfast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 50 |         pub toast: String,
[INFO] [stdout] 51 |         seasonal_fruit: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> ch_7/src/lib.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn fix_incorrect_order() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> ch_7/src/lib.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn cook_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn add_fancy_hat() {};
[INFO] [stdout]     |                          ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn remove_fancy_hat() {};
[INFO] [stdout]     |                             ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_6/src/main.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn move_player(num_spaces: u8) {};
[INFO] [stdout]     |                                      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_6/src/main.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]    --> ch_6/src/main.rs:117:20
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn move_player(num_spaces: u8) {};
[INFO] [stdout]     |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[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]  --> ch_6/src/main.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |         V4(String),
[INFO] [stdout]   |         -- ^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         field in this variant
[INFO] [stdout]   |
[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] 5 -         V4(String),
[INFO] [stdout] 5 +         V4(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> ch_6/src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |         V6(String),
[INFO] [stdout]   |         -- ^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -         V6(String),
[INFO] [stdout] 6 +         V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> ch_6/src/main.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Write(String),
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -         Write(String),
[INFO] [stdout] 40 +         Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_5/src/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_5/src/main.rs:135:6
[INFO] [stdout]     |
[INFO] [stdout] 135 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]    --> ch_6/src/main.rs:117:20
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn move_player(num_spaces: u8) {};
[INFO] [stdout]     |                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_spaces`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_5/src/main.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> ch_6/src/main.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |         V4(String),
[INFO] [stdout]   |         -- ^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         field in this variant
[INFO] [stdout]   |
[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] 5 -         V4(String),
[INFO] [stdout] 5 +         V4(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> ch_6/src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |         V6(String),
[INFO] [stdout]   |         -- ^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 6 -         V6(String),
[INFO] [stdout] 6 +         V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> ch_6/src/main.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Write(String),
[INFO] [stdout]    |         ----- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 40 -         Write(String),
[INFO] [stdout] 40 +         Write(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `s` is never read
[INFO] [stdout]   --> ch_4/src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut s = String::from("hello");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 33 |         s = String::from("ahoy");
[INFO] [stdout]    |         - `s` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `better` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn better() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_len` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn calculate_len(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_error` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn borrow_error() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn change(s: &mut String) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mulitple_muts` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn mulitple_muts() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiple_muts_2` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn multiple_muts_2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slices` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn slices() {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn first_word(s: &String) -> &str {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `username`, and `sign_in_count` are never read
[INFO] [stdout]  --> ch_5/src/main.rs:3:9
[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: `#[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]   --> ch_5/src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> ch_5/src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     struct Color(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_rectangle` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn create_rectangle() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn area(width: u32, height: u32) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debugging_structs` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn debugging_structs() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `other_debug_methods` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn other_debug_methods() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_5/src/main.rs:96:6
[INFO] [stdout]    |
[INFO] [stdout] 96 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> ch_5/src/main.rs:135:6
[INFO] [stdout]     |
[INFO] [stdout] 135 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> ch_5/src/main.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_order` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn take_order() {}
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn serve_order() {}
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> ch_7/src/front_of_house.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn take_payment() {}
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> ch_7/src/lib.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub struct Breakfast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 50 |         pub toast: String,
[INFO] [stdout] 51 |         seasonal_fruit: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> ch_7/src/lib.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn fix_incorrect_order() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> ch_7/src/lib.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn cook_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert_to_pig_latin`
[INFO] [stdout]  --> ch_8/src/main.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ch_8::{add_employee_names, convert_to_pig_latin, find_median_mode};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `username`, and `sign_in_count` are never read
[INFO] [stdout]  --> ch_5/src/main.rs:3:9
[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: `#[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]   --> ch_5/src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn build_user(email: String, username: String) -> User {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> ch_5/src/main.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |     struct Color(i32, i32, i32);
[INFO] [stdout]    |            ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_rectangle` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn create_rectangle() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `area` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn area(width: u32, height: u32) -> u32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `debugging_structs` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn debugging_structs() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `other_debug_methods` is never used
[INFO] [stdout]   --> ch_5/src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn other_debug_methods() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert_to_pig_latin`
[INFO] [stdout]  --> ch_8/src/main.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ch_8::{add_employee_names, convert_to_pig_latin, find_median_mode};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> ch_8/src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let word = String::from("apple");
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> ch_8/src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let word = String::from("apple");
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `s` is never read
[INFO] [stdout]   --> ch_4/src/main.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let mut s = String::from("hello");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 33 |         s = String::from("ahoy");
[INFO] [stdout]    |         - `s` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `better` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn better() {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_len` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn calculate_len(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_error` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn borrow_error() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]   --> ch_4/src/main.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn change(s: &mut String) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mulitple_muts` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn mulitple_muts() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiple_muts_2` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn multiple_muts_2() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `slices` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn slices() {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]    --> ch_4/src/main.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn first_word(s: &String) -> &str {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking ch_2 v0.1.0 (/opt/rustwide/workdir/ch_2)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.76s
[INFO] running `Command { std: "docker" "inspect" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3", kill_on_drop: false }`
[INFO] [stdout] 4760f18f0f2ee9010033864e10684789d9749ad125d6b19484033b3040a2e2b3
