[INFO] cloning repository https://github.com/grajnikanth/rust_book_exs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grajnikanth/rust_book_exs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce158f0f63a61c28f1c995cff6bdfe3b8be73df2
[INFO] testing grajnikanth/rust_book_exs against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/grajnikanth/rust_book_exs on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] finished tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] tweaked toml for git repo https://github.com/grajnikanth/rust_book_exs written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/grajnikanth/rust_book_exs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc9c794c18a37f533e8f7586d10c83d491c4030c5bc0b61d6452d44b97036aab
[INFO] running `Command { std: "docker" "start" "-a" "dc9c794c18a37f533e8f7586d10c83d491c4030c5bc0b61d6452d44b97036aab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc9c794c18a37f533e8f7586d10c83d491c4030c5bc0b61d6452d44b97036aab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc9c794c18a37f533e8f7586d10c83d491c4030c5bc0b61d6452d44b97036aab", kill_on_drop: false }`
[INFO] [stdout] dc9c794c18a37f533e8f7586d10c83d491c4030c5bc0b61d6452d44b97036aab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 484d1470ba8c59c85bacb9d5e2a01da07234720abffb5c9fae657c039ff461a2
[INFO] running `Command { std: "docker" "start" "-a" "484d1470ba8c59c85bacb9d5e2a01da07234720abffb5c9fae657c039ff461a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_book_exs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: crate `14_match_catchAll_ex3` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `14_match_catch_all_ex3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `52_Result_Option_1` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `52_result_option_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> src/bin/17_if_let_ex2.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut count = 0;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> src/bin/17_if_let_ex2.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         count += 1;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move` and `ChangeColor` are never constructed
[INFO] [stdout]  --> src/bin/7_enum_ex4.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum Message {
[INFO] [stdout]   |      ------- variants in this enum
[INFO] [stdout] 5 |     Quit,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Move {x: i32, y: i32}, // Struct data in this variant
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Write(String),
[INFO] [stdout] 8 |     ChangeColor(i32, i32, i32) //data holds three integers
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]   = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]   --> src/bin/17_if_let_ex2.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum UsState {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 15 |     Alabama,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel` and `Dime` are never constructed
[INFO] [stdout]   --> src/bin/17_if_let_ex2.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 21 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 22 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 23 |     Dime, 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/36_hashmap_2.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut scores: HashMap<_,_> = 
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/44_errors_3.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let res = match f {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/25_vectors_3.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut v = vec![1, 2, 3, 4, 5];
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distance_from_origin` found for struct `Point<{integer}>` in the current scope
[INFO] [stdout]   --> src/bin/62_generics_7.rs:28:63
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct Point<T> {
[INFO] [stdout]    | --------------- method `distance_from_origin` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 28 |     println!("Distance of p2 from origin is = {}", integer_p2.distance_from_origin());
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^ method not found in `Point<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method was found for
[INFO] [stdout]            - `Point<f32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `T`
[INFO] [stdout]   --> src/bin/57_generics_2.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         if item > largest {
[INFO] [stdout]    |            ---- ^ ------- T
[INFO] [stdout]    |            |
[INFO] [stdout]    |            T
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `T`
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn largest<T: std::cmp::PartialOrd>(list: &[T]) -> T {
[INFO] [stdout]    |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/58_generics_3.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let wont_work = Point {x: 3, y: 4.0};
[INFO] [stdout]    |                                     ^^^ expected integer, found floating-point number
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "484d1470ba8c59c85bacb9d5e2a01da07234720abffb5c9fae657c039ff461a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "484d1470ba8c59c85bacb9d5e2a01da07234720abffb5c9fae657c039ff461a2", kill_on_drop: false }`
[INFO] [stdout] 484d1470ba8c59c85bacb9d5e2a01da07234720abffb5c9fae657c039ff461a2
