[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 try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseun-ja%2Fgrowing-tree" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/seun-ja/growing-tree on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62adb9ddd5e8d3645b16341266cef755b70e53ce3d8ced825b60846857280dde
[INFO] running `Command { std: "docker" "start" "-a" "62adb9ddd5e8d3645b16341266cef755b70e53ce3d8ced825b60846857280dde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62adb9ddd5e8d3645b16341266cef755b70e53ce3d8ced825b60846857280dde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62adb9ddd5e8d3645b16341266cef755b70e53ce3d8ced825b60846857280dde", kill_on_drop: false }`
[INFO] [stdout] 62adb9ddd5e8d3645b16341266cef755b70e53ce3d8ced825b60846857280dde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6989abfba3d09d82b626550ccb66f55dea0c16070b3b6710b4f71e80b077c36
[INFO] running `Command { std: "docker" "start" "-a" "a6989abfba3d09d82b626550ccb66f55dea0c16070b3b6710b4f71e80b077c36", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking getrandom v0.2.8
[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 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 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] error: struct `Scene` is never constructed
[INFO] [stdout]   --> src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Scene {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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] error: could not compile `growing_tree` (lib test) due to 1 previous error; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] error: struct `Scene` is never constructed
[INFO] [stdout]   --> src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Scene {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[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] error: could not compile `growing_tree` (lib) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a6989abfba3d09d82b626550ccb66f55dea0c16070b3b6710b4f71e80b077c36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6989abfba3d09d82b626550ccb66f55dea0c16070b3b6710b4f71e80b077c36", kill_on_drop: false }`
[INFO] [stdout] a6989abfba3d09d82b626550ccb66f55dea0c16070b3b6710b4f71e80b077c36
