[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] a21fa10a147af0898615d7706e29a64e9691149c
[INFO] testing grajnikanth/rust_book_exs against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/grajnikanth/rust_book_exs on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f5645c766cffae1b2a6324449a035b1f9ec8679aa68aeb7161cf4eed89006de
[INFO] running `Command { std: "docker" "start" "-a" "2f5645c766cffae1b2a6324449a035b1f9ec8679aa68aeb7161cf4eed89006de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f5645c766cffae1b2a6324449a035b1f9ec8679aa68aeb7161cf4eed89006de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f5645c766cffae1b2a6324449a035b1f9ec8679aa68aeb7161cf4eed89006de", kill_on_drop: false }`
[INFO] [stdout] 2f5645c766cffae1b2a6324449a035b1f9ec8679aa68aeb7161cf4eed89006de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cfdf9b4341d7fbe8c2355559967f6b113e652ac19f4b81dd2c5e8ab1a6bb01d
[INFO] running `Command { std: "docker" "start" "-a" "1cfdf9b4341d7fbe8c2355559967f6b113e652ac19f4b81dd2c5e8ab1a6bb01d", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_book_exs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/lib.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct Pair<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn new(x: T, y: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compare_display` is never used
[INFO] [stdout]   --> src/lib.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn compare_display(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_spaces`
[INFO] [stdout]   --> src/bin/12_match_catchAll_ex1.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/bin/87_smrt_ptr_drop.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let c = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/bin/87_smrt_ptr_drop.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let d = CustomSmartPointer {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `12_match_catchAll_ex1` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `12_match_catch_all_ex1`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `84_refCell_RefMut` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `84_ref_cell_ref_mut`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]  --> src/bin/83_refcell_ex1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 5 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 6 |     username: String,
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Alabama` is never constructed
[INFO] [stdout]  --> src/bin/11_match_ex3.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum UsState {
[INFO] [stdout]   |      ------- variant in this enum
[INFO] [stdout] 8 |     Alabama,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed
[INFO] [stdout]   --> src/bin/11_match_ex3.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 14 |     Penny,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     Nickel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     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: unused variable: `f`
[INFO] [stdout]   --> src/bin/47_errors_6.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let f = File::open("hello.txt").expect("Failed to open hello.txt");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/bin/18_struct_display.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Rectangle {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 9  |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/26_vectors_4.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let first = &v[0]; // immutable borrow occurs here
[INFO] [stdout]    |                  - immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 17 |     v.push(6); // mutable borrow here
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 18 |     println!("The first element is: {}", first);
[INFO] [stdout]    |                                          ----- immutable borrow later used here
[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 E0502`.
[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] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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" "1cfdf9b4341d7fbe8c2355559967f6b113e652ac19f4b81dd2c5e8ab1a6bb01d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cfdf9b4341d7fbe8c2355559967f6b113e652ac19f4b81dd2c5e8ab1a6bb01d", kill_on_drop: false }`
[INFO] [stdout] 1cfdf9b4341d7fbe8c2355559967f6b113e652ac19f4b81dd2c5e8ab1a6bb01d
