[INFO] cloning repository https://github.com/seun-ja/growing-tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seun-ja/growing-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseun-ja%2Fgrowing-tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseun-ja%2Fgrowing-tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42e705fa7be10d539565487888912a626d35c018
[INFO] checking seun-ja/growing-tree against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseun-ja%2Fgrowing-tree" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/seun-ja/growing-tree
[INFO] finished tweaking git repo https://github.com/seun-ja/growing-tree
[INFO] tweaked toml for git repo https://github.com/seun-ja/growing-tree written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/seun-ja/growing-tree on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/seun-ja/growing-tree 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `growing_tree` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-5-tc2/source/target/.../growing_tree
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `growing-tree`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:6:8
[INFO] [stderr]    |
[INFO] [stderr]  6 - name = "growing_tree"
[INFO] [stderr]  6 + name = "growing-tree"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `growing-tree`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:7:19
[INFO] [stderr]    |
[INFO] [stderr]  7 ~ version = "0.1.0"
[INFO] [stderr]  8 + [[bin]]
[INFO] [stderr]  9 + name = "growing-tree"
[INFO] [stderr] 10 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `growing_tree` (manifest) generated 1 warning
[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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a
[INFO] running `Command { std: "docker" "start" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a", 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" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a", 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" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `growing_tree` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../growing_tree
[INFO] [stderr]    |                          ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `growing-tree`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:6:8
[INFO] [stderr]    |
[INFO] [stderr]  6 - name = "growing_tree"
[INFO] [stderr]  6 + name = "growing-tree"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `growing-tree`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:7:19
[INFO] [stderr]    |
[INFO] [stderr]  7 ~ version = "0.1.0"
[INFO] [stderr]  8 + [[bin]]
[INFO] [stderr]  9 + name = "growing-tree"
[INFO] [stderr] 10 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `growing_tree` (manifest) generated 1 warning
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking growing_tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ops::Deref`
[INFO] [stdout]  --> src/lib.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, ops::Deref};
[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: `ops::Deref`
[INFO] [stdout]  --> src/lib.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, ops::Deref};
[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: `scene`
[INFO] [stdout]   --> src/lib.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn get_index(&self, scene: Scene) -> u16 {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]   --> src/lib.rs:86:25
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn cell_move(&self, direction: Directions) {
[INFO] [stdout]    |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELLS` is never used
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CELLS: usize = 25; 
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cells` is never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 17 |     cells: Arc<RwLock<Vec<Cell>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create_maze`, `choose_index`, `choose_next`, `delete_cell`, and `empty` are never used
[INFO] [stdout]   --> src/lib.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Scene {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     fn new() -> Scene {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn create_maze() -> Scene {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn choose_index(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn choose_next(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn delete_cell(&self, index: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `passage` and `get_position` are never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Scene {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 61 |     fn passage(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_position(&self) -> (u16, u16) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct Cell (u16, u16);
[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: associated items `new`, `get_index`, and `cell_move` are never used
[INFO] [stdout]   --> src/lib.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Cell {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 75 |     fn new(scene_height: u16) -> Cell {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn get_index(&self, scene: Scene) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn cell_move(&self, direction: Directions) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_num` is never used
[INFO] [stdout]   --> src/lib.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn generate_num(max: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]   --> src/lib.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn get_index(&self, scene: Scene) -> u16 {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | /         self.cells.write().map(
[INFO] [stdout] 43 | |             |mut cells| {
[INFO] [stdout] 44 | |                 cells.remove(index)
[INFO] [stdout] 45 | |             }
[INFO] [stdout] 46 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 42 |         let _ = self.cells.write().map(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `direction`
[INFO] [stdout]   --> src/lib.rs:86:25
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn cell_move(&self, direction: Directions) {
[INFO] [stdout]    |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CELLS` is never used
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const CELLS: usize = 25; 
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cells` is never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Scene {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 17 |     cells: Arc<RwLock<Vec<Cell>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create_maze`, `choose_index`, `choose_next`, `delete_cell`, and `empty` are never used
[INFO] [stdout]   --> src/lib.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Scene {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     fn new() -> Scene {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn create_maze() -> Scene {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn choose_index(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn choose_next(&self) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn delete_cell(&self, index: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn empty(&self) -> bool {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `passage` and `get_position` are never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Scene {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 61 |     fn passage(&self) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_position(&self) -> (u16, u16) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/lib.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct Cell (u16, u16);
[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: associated items `new`, `get_index`, and `cell_move` are never used
[INFO] [stdout]   --> src/lib.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl Cell {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 75 |     fn new(scene_height: u16) -> Cell {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn get_index(&self, scene: Scene) -> u16 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn cell_move(&self, direction: Directions) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_num` is never used
[INFO] [stdout]   --> src/lib.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn generate_num(max: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 | /         self.cells.write().map(
[INFO] [stdout] 43 | |             |mut cells| {
[INFO] [stdout] 44 | |                 cells.remove(index)
[INFO] [stdout] 45 | |             }
[INFO] [stdout] 46 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 42 |         let _ = self.cells.write().map(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.04s
[INFO] running `Command { std: "docker" "inspect" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a", kill_on_drop: false }`
[INFO] [stdout] 78a719b495da39dfec3f00196dcaabb29440052d4cbc5edb2b7ea28fb0b28f5a
