[INFO] cloning repository https://github.com/gordonglas/rustlang-book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gordonglas/rustlang-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordonglas%2Frustlang-book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordonglas%2Frustlang-book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e11ad1b56c580d571be301714a2157bc62ab19eb
[INFO] checking gordonglas/rustlang-book against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordonglas%2Frustlang-book" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gordonglas/rustlang-book
[INFO] finished tweaking git repo https://github.com/gordonglas/rustlang-book
[INFO] tweaked toml for git repo https://github.com/gordonglas/rustlang-book written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gordonglas/rustlang-book on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gordonglas/rustlang-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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a
[INFO] running `Command { std: "docker" "start" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a", 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" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a", 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" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking enums v0.1.0 (/opt/rustwide/workdir/Chapter06/enums)
[INFO] [stderr]     Checking rectangle v0.1.0 (/opt/rustwide/workdir/Chapter05/rectangle)
[INFO] [stderr]     Checking restaurant v0.1.0 (/opt/rustwide/workdir/Chapter07/restaurant)
[INFO] [stdout] warning: unused import: `std::io::Result as IoResult`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::io::Result as IoResult;
[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: `std::io::Result as IoResult`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::io::Result as IoResult;
[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: `ip_kind`
[INFO] [stdout]   --> Chapter06/enums/src/main.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn route(ip_kind: IpAddrKind) {}
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip_kind`
[INFO] [stdout]   --> Chapter06/enums/src/main.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn route(ip_kind: IpAddrKind) {}
[INFO] [stdout]    |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_kind`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order1`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let order1 = back_of_house::Appetizer::Soup;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order2`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let order2 = back_of_house::Appetizer::Salad;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deliver_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn deliver_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 `take_order` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn take_order() {}
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn serve_order() {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn take_payment() {}
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order1`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let order1 = back_of_house::Appetizer::Soup;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn fix_incorrect_order() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn cook_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub struct Breakfast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 72 |         pub toast: String,
[INFO] [stdout] 73 |         seasonal_fruit: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order2`
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let order2 = back_of_house::Appetizer::Salad;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_order2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deliver_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn deliver_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 `take_order` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn take_order() {}
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_order` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn serve_order() {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_payment` is never used
[INFO] [stdout]  --> Chapter07/restaurant/src/front_of_house.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn take_payment() {}
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fix_incorrect_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn fix_incorrect_order() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cook_order` is never used
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn cook_order() {}
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> Chapter07/restaurant/src/lib.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub struct Breakfast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 72 |         pub toast: String,
[INFO] [stdout] 73 |         seasonal_fruit: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking guessing_game v0.1.0 (/opt/rustwide/workdir/Chapter02/guessing_game)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s
[INFO] running `Command { std: "docker" "inspect" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a", kill_on_drop: false }`
[INFO] [stdout] 1885cee02c6f7397b2c922547d96abe27e644080f9818250c644ba0329018f3a
