[INFO] cloning repository https://github.com/sjsilves/island-count-iterate-collect
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjsilves/island-count-iterate-collect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjsilves%2Fisland-count-iterate-collect", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjsilves%2Fisland-count-iterate-collect'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7473101d1bfccd520720f23d265044be93e6edca
[INFO] checking sjsilves/island-count-iterate-collect against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjsilves%2Fisland-count-iterate-collect" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sjsilves/island-count-iterate-collect
[INFO] finished tweaking git repo https://github.com/sjsilves/island-count-iterate-collect
[INFO] tweaked toml for git repo https://github.com/sjsilves/island-count-iterate-collect written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sjsilves/island-count-iterate-collect on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sjsilves/island-count-iterate-collect 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.91
[INFO] [stderr]   Downloaded serde_derive v1.0.91
[INFO] [stderr]   Downloaded libc v0.2.55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749
[INFO] running `Command { std: "docker" "start" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749", 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" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749", 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" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.55
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking variables v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 let mut new_island: Island;
[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]   --> src/iterate_2.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut islands: Vec<Vec<Point>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate_2.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let mut new_island: Vec<Point>;
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `new_island` is assigned to, but never used
[INFO] [stdout]   --> src/iterate_2.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let mut new_island: Vec<Point>;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_new_island` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_island` is never read
[INFO] [stdout]   --> src/iterate_2.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |                     new_island = merge_islands(found_islands);
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/iterate_2.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             .map(|(j, y)| Point{x:i as i32, y:j as i32}).collect::<Vec<Point>>()))
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate_2.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut found_islands: Vec<Vec<Point>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate_2.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut new_lands: Vec<Point> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `islands`
[INFO] [stdout]    --> src/iterate_2.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn merge_islands (islands: Vec<Vec<Point>>) -> Vec<Point> {
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_islands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/recurse.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |             .map(|(j, y)| Point{x: i as i32, y: j as i32}).collect::<Vec<Point>>()))
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lands`
[INFO] [stdout]   --> src/recurse.rs:64:47
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn check_adjacent_land (all_land: Vec<Point>, lands: HashSet<Point>, land: &Point, max_size: &i32) -> HashSet<Point> {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_lands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `counter` is assigned to, but never used
[INFO] [stdout]   --> src/recurse.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut counter = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `counter` is never read
[INFO] [stdout]   --> src/recurse.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             counter += 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `land`
[INFO] [stdout]   --> src/recurse.rs:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn check_bounds (max_size: &i32, land: &Point, test_land: &Point) -> bool {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_land`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_b` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn iterate_b(ocean: &[&[bool]], test_num: usize) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_islands` is never used
[INFO] [stdout]   --> src/iterate_2.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn count_islands(ocean: &[&[bool]]) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flatten_all_land` is never used
[INFO] [stdout]   --> src/iterate_2.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn flatten_all_land(ocean: &[&[bool]]) -> Vec<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_adjacent_land` is never used
[INFO] [stdout]   --> src/iterate_2.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn get_adjacent_land (ocean: &[&[bool]], land: &Point) -> HashSet<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn find_islands (islands: Vec<Vec<Point>>, land: &Point, adjacent_land: HashSet<Point>) -> Vec<Vec<Point>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn merge_islands (islands: Vec<Vec<Point>>) -> Vec<Point> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn remove_islands (islands: &[Island], islands_to_remove: &[Island]) -> Vec<Island> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_index_by_island_id` is never used
[INFO] [stdout]    --> src/iterate_2.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn find_index_by_island_id(islands: &[Island], id: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_next_island_id` is never used
[INFO] [stdout]    --> src/iterate_2.rs:158:4
[INFO] [stdout]     |
[INFO] [stdout] 158 | fn get_next_island_id(islands: &[Island]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_ocean` is never used
[INFO] [stdout]    --> src/iterate_2.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn validate_ocean(ocean: &[&[bool]]) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/iterate/tests.rs:34:51
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let islands: HashSet<Island> = HashSet::new();;
[INFO] [stdout]    |                                                   ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate/tests.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut land1: Vec<Point> = [Point { x: 1, y: 4 }, Point { x: 2, y: 3 }, Point { x: 0, y: 0 }, Point { x: 0, y: 1 }, Point { x: ...
[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]   --> src/iterate/tests.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut land2: Vec<Point> = [Point { x: 3, y: 6 }].to_vec();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate/tests.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut land3: Vec<Point> = [Point { x: 4, y: 1 }, Point { x: 5, y: 1 }, Point { x: 5, y: 2 }].to_vec();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate/tests.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |     let mut new_x: Vec<usize>;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 let mut new_island: Island;
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate_2/tests.rs:469:9
[INFO] [stdout]     |
[INFO] [stdout] 469 |     let mut new_x: Vec<usize>;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate_2.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut islands: Vec<Vec<Point>> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/iterate_2.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let mut new_island: Vec<Point>;
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `new_island` is assigned to, but never used
[INFO] [stdout]   --> src/iterate_2.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let mut new_island: Vec<Point>;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_new_island` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_island` is never read
[INFO] [stdout]   --> src/iterate_2.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |                     new_island = merge_islands(found_islands);
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/iterate_2.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             .map(|(j, y)| Point{x:i as i32, y:j as i32}).collect::<Vec<Point>>()))
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate_2.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut found_islands: Vec<Vec<Point>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/iterate_2.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut new_lands: Vec<Point> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `islands`
[INFO] [stdout]    --> src/iterate_2.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn merge_islands (islands: Vec<Vec<Point>>) -> Vec<Point> {
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_islands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/recurse/tests.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut new_x: Vec<usize>;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/recurse.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |             .map(|(j, y)| Point{x: i as i32, y: j as i32}).collect::<Vec<Point>>()))
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lands`
[INFO] [stdout]   --> src/recurse.rs:64:47
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn check_adjacent_land (all_land: Vec<Point>, lands: HashSet<Point>, land: &Point, max_size: &i32) -> HashSet<Point> {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_lands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `counter` is assigned to, but never used
[INFO] [stdout]   --> src/recurse.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut counter = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `counter` is never read
[INFO] [stdout]   --> src/recurse.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             counter += 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `land`
[INFO] [stdout]   --> src/recurse.rs:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn check_bounds (max_size: &i32, land: &Point, test_land: &Point) -> bool {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_land`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_b` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn iterate_b(ocean: &[&[bool]], test_num: usize) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_islands` is never used
[INFO] [stdout]   --> src/iterate_2.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn count_islands(ocean: &[&[bool]]) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flatten_all_land` is never used
[INFO] [stdout]   --> src/iterate_2.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn flatten_all_land(ocean: &[&[bool]]) -> Vec<Point> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn find_islands (islands: Vec<Vec<Point>>, land: &Point, adjacent_land: HashSet<Point>) -> Vec<Vec<Point>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn merge_islands (islands: Vec<Vec<Point>>) -> Vec<Point> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_islands` is never used
[INFO] [stdout]    --> src/iterate_2.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn remove_islands (islands: &[Island], islands_to_remove: &[Island]) -> Vec<Island> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_index_by_island_id` is never used
[INFO] [stdout]    --> src/iterate_2.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn find_index_by_island_id(islands: &[Island], id: usize) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_ocean` is never used
[INFO] [stdout]    --> src/iterate_2.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn validate_ocean(ocean: &[&[bool]]) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `it_ABC_123` should have a snake case name
[INFO] [stdout]    --> src/recurse/tests.rs:300:4
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn it_ABC_123(){
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `it_abc_123`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.86s
[INFO] running `Command { std: "docker" "inspect" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749", kill_on_drop: false }`
[INFO] [stdout] be5aa7c7ba84082505d47e1ded668b9cf1cb375413a40234a63cd16da5fcc749
