[INFO] cloning repository https://github.com/joshuacoles/Coursework-2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshuacoles/Coursework-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacoles%2FCoursework-2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacoles%2FCoursework-2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 425716e6bb139a7fc9cec94133dd075bcdf734cd
[INFO] checking joshuacoles/Coursework-2 against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacoles%2FCoursework-2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joshuacoles/Coursework-2
[INFO] finished tweaking git repo https://github.com/joshuacoles/Coursework-2
[INFO] tweaked toml for git repo https://github.com/joshuacoles/Coursework-2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joshuacoles/Coursework-2 on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joshuacoles/Coursework-2 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded array2d v0.2.1
[INFO] [stderr]   Downloaded libc v0.2.91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cf486213858b7f8fc1e92a91665a0d0a7d7638d01bafcd61ce1f4838abd88f7
[INFO] running `Command { std: "docker" "start" "-a" "2cf486213858b7f8fc1e92a91665a0d0a7d7638d01bafcd61ce1f4838abd88f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cf486213858b7f8fc1e92a91665a0d0a7d7638d01bafcd61ce1f4838abd88f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf486213858b7f8fc1e92a91665a0d0a7d7638d01bafcd61ce1f4838abd88f7", kill_on_drop: false }`
[INFO] [stdout] 2cf486213858b7f8fc1e92a91665a0d0a7d7638d01bafcd61ce1f4838abd88f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3c1d6e15744e71eca95e714cbe2efe80adb9bcdd85cac2a5899fd3eaa0d8dfc
[INFO] running `Command { std: "docker" "start" "-a" "c3c1d6e15744e71eca95e714cbe2efe80adb9bcdd85cac2a5899fd3eaa0d8dfc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking array2d v0.2.1
[INFO] [stderr]     Checking getrandom v0.2.2
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking cw-2-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]  --> src/q1a.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Grid {
[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 `random_indexes_in_range` is never used
[INFO] [stdout]   --> src/q1a.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn random_indexes_in_range(range: Range<usize>, expected: usize) -> HashSet<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/q1a.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Grid {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(lx: usize, ly: usize, n: usize) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q1a.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]   --> src/q2a.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Grid {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GridCell` is never used
[INFO] [stdout]   --> src/q2a.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum GridCell {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_indexes_in_range` is never used
[INFO] [stdout]   --> src/q2a.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn random_indexes_in_range(range: Range<usize>, expected: usize) -> HashSet<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `directly_reachable_from` are never used
[INFO] [stdout]   --> src/q2a.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Grid {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 46 |     fn new(lx: usize, ly: usize, n: usize, p_super: f64) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn directly_reachable_from(&self, pos: (usize, usize)) -> HashSet<Pos> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Pos` is never used
[INFO] [stdout]    --> src/q2a.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | type Pos = (usize, usize);
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClusterFinder` is never constructed
[INFO] [stdout]    --> src/q2a.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 | struct ClusterFinder {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `search`, and `step` are never used
[INFO] [stdout]    --> src/q2a.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl ClusterFinder {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 130 |     fn new(grid: Grid) -> ClusterFinder {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn search(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/q2a.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cluster` is never used
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl <'a> ClusterFinder<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn cluster(&self) -> &HashSet<Pos> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(grid: &Grid) -> ClusterFinder {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(grid: &Grid) -> ClusterFinder<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new_with_starting_point(grid: &Grid, initial_point: Pos) -> ClusterFinder {
[INFO] [stdout]    |                                          ^^^^^                         ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new_with_starting_point(grid: &Grid, initial_point: Pos) -> ClusterFinder<'_> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]  --> src/q1a.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Grid {
[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 `random_indexes_in_range` is never used
[INFO] [stdout]   --> src/q1a.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn random_indexes_in_range(range: Range<usize>, expected: usize) -> HashSet<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/q1a.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Grid {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 27 |     fn new(lx: usize, ly: usize, n: usize) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/q1a.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn main() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Grid` is never constructed
[INFO] [stdout]   --> src/q2a.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Grid {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GridCell` is never used
[INFO] [stdout]   --> src/q2a.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | enum GridCell {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_indexes_in_range` is never used
[INFO] [stdout]   --> src/q2a.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn random_indexes_in_range(range: Range<usize>, expected: usize) -> HashSet<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `directly_reachable_from` are never used
[INFO] [stdout]   --> src/q2a.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Grid {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 46 |     fn new(lx: usize, ly: usize, n: usize, p_super: f64) -> Grid {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn directly_reachable_from(&self, pos: (usize, usize)) -> HashSet<Pos> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Pos` is never used
[INFO] [stdout]    --> src/q2a.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | type Pos = (usize, usize);
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClusterFinder` is never constructed
[INFO] [stdout]    --> src/q2a.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 | struct ClusterFinder {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `search`, and `step` are never used
[INFO] [stdout]    --> src/q2a.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl ClusterFinder {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 130 |     fn new(grid: Grid) -> ClusterFinder {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn search(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/q2a.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cluster` is never used
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl <'a> ClusterFinder<'a> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn cluster(&self) -> &HashSet<Pos> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(grid: &Grid) -> ClusterFinder {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(grid: &Grid) -> ClusterFinder<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/q2b/cluster_finder.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new_with_starting_point(grid: &Grid, initial_point: Pos) -> ClusterFinder {
[INFO] [stdout]    |                                          ^^^^^                         ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn new_with_starting_point(grid: &Grid, initial_point: Pos) -> ClusterFinder<'_> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.75s
[INFO] running `Command { std: "docker" "inspect" "c3c1d6e15744e71eca95e714cbe2efe80adb9bcdd85cac2a5899fd3eaa0d8dfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3c1d6e15744e71eca95e714cbe2efe80adb9bcdd85cac2a5899fd3eaa0d8dfc", kill_on_drop: false }`
[INFO] [stdout] c3c1d6e15744e71eca95e714cbe2efe80adb9bcdd85cac2a5899fd3eaa0d8dfc
