[INFO] cloning repository https://github.com/obrienalaribe/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/obrienalaribe/rust-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobrienalaribe%2Frust-book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobrienalaribe%2Frust-book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c5b7a15e3b419e660b2372dd8db849e459ec2bd
[INFO] checking obrienalaribe/rust-book against 5b237c915528dadada3f674b90c7c80368b632be for pr-133502-29
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobrienalaribe%2Frust-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/obrienalaribe/rust-book
[INFO] finished tweaking git repo https://github.com/obrienalaribe/rust-book
[INFO] tweaked toml for git repo https://github.com/obrienalaribe/rust-book written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/obrienalaribe/rust-book on toolchain 5b237c915528dadada3f674b90c7c80368b632be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/obrienalaribe/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" "+5b237c915528dadada3f674b90c7c80368b632be" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking obrienalaribe/rust-book against 5b237c915528dadada3f674b90c7c80368b632be for pr-133502-29
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobrienalaribe%2Frust-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/obrienalaribe/rust-book
[INFO] finished tweaking git repo https://github.com/obrienalaribe/rust-book
[INFO] tweaked toml for git repo https://github.com/obrienalaribe/rust-book written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/obrienalaribe/rust-book on toolchain 5b237c915528dadada3f674b90c7c80368b632be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/obrienalaribe/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" "+5b237c915528dadada3f674b90c7c80368b632be" "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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442
[INFO] running `Command { std: "docker" "start" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442", 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" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442", 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" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442" "/opt/rustwide/cargo-home/bin/cargo" "+5b237c915528dadada3f674b90c7c80368b632be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]     Checking rust-book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0107]: missing generics for struct `BitCredit`
[INFO] [stdout]   --> examples/traits.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl BitCredit{
[INFO] [stdout]    |      ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/traits.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BitCredit<T>{
[INFO] [stdout]    |        ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl BitCredit<T>{
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `BitCredit`
[INFO] [stdout]   --> examples/traits.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Into<BitCredit> for u8 {
[INFO] [stdout]    |           ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/traits.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BitCredit<T>{
[INFO] [stdout]    |        ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Into<BitCredit<T>> for u8 {
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `BitCredit`
[INFO] [stdout]   --> examples/traits.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl CreditCharge for BitCredit {
[INFO] [stdout]    |                       ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/traits.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BitCredit<T>{
[INFO] [stdout]    |        ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl CreditCharge for BitCredit<T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `BitCredit`
[INFO] [stdout]   --> examples/traits.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn into(self) -> BitCredit {
[INFO] [stdout]    |                      ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> examples/traits.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct BitCredit<T>{
[INFO] [stdout]    |        ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn into(self) -> BitCredit<T> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryInto`
[INFO] [stdout]  --> examples/nandos.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto};
[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::convert::TryInto`
[INFO] [stdout]   --> examples/path.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found `0`
[INFO] [stdout]   --> examples/binary.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | 0 3 2
[INFO] [stdout]    | ^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-book` (example "binary") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-book` (example "traits") due to 4 previous errors
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> examples/path.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn try_from(s: String) -> Result<Trail, ()> {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `kelly` in this scope
[INFO] [stdout]   --> examples/christina.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |         println!("{}", kelly);
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the binding `kelly` is available in a different scope in the same function
[INFO] [stdout]   --> examples/christina.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |             let kelly = "Kelly";
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> examples/path.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         for (i, c) in value.chars().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `distance` is never read
[INFO] [stdout]    --> examples/path.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 184 | struct TravelTime<'a> {
[INFO] [stdout]     |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 187 |     distance: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TravelTime` 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: unused borrow that must be used
[INFO] [stdout]    --> examples/path.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 &word.push(c);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 let _ = &word.push(c);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> examples/path.rs:162:17
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 &items.push(word.trim().to_string());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let _ = &items.push(word.trim().to_string());
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function, tuple struct or tuple variant `NandosOrder` in this scope
[INFO] [stdout]    --> examples/nandos.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout]  67 | / struct NandosOrder {
[INFO] [stdout]  68 | |     main: String,
[INFO] [stdout]  69 | |     side: String,
[INFO] [stdout]  70 | |     drink: String
[INFO] [stdout]  71 | | }
[INFO] [stdout]     | |_- `NandosOrder` defined here
[INFO] [stdout] ...
[INFO] [stdout] 103 |       let order = NandosOrder(main, side, drink);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: a struct named `NandosOrder` exists in another namespace
[INFO] [stdout] help: use struct literal syntax instead of calling
[INFO] [stdout]     |
[INFO] [stdout] 103 -     let order = NandosOrder(main, side, drink);
[INFO] [stdout] 103 +     let order = NandosOrder{main: main, side: side, drink: drink};
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-book` (example "nandos") due to 1 previous error; 1 warning emitted
[INFO] [stderr] error: could not compile `rust-book` (example "christina") due to 1 previous error
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> examples/func_program.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut numbers = vec![1, 2, 3, 4, 5];
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/iterators.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut skipped_collection = iterator.skip(2);
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plus_one`
[INFO] [stdout]  --> examples/func_program.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let plus_one = numbers.iter().map(|x| x + y)
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plus_one`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_ownership_sum` is never used
[INFO] [stdout]   --> examples/borrow.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn take_ownership_sum(v: Vec<i32>) -> 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[E0308]: mismatched types
[INFO] [stdout]   --> examples/variables.rs:11:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(self, other: Meters) -> Millimeters {
[INFO] [stdout]    |        ---                         ^^^^^^^^^^^ expected `Millimeters`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `self`
[INFO] [stdout]    |
[INFO] [stdout] 12 ~         self.0 + (other.0 * 1000);
[INFO] [stdout] 13 +         self
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> examples/fib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `fib`
[INFO] [stdout]   --> examples/fib.rs:63:2
[INFO] [stdout]    |
[INFO] [stdout] 63 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `examples/fib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-book` (example "fib") due to 1 previous error; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-book` (example "variables") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442", kill_on_drop: false }`
[INFO] [stdout] a5595328636b76935a75df7a7086bfe751771dec1e2ddc78efed9144242c1442
