[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 master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuacoles%2FCoursework-2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshuacoles/Coursework-2 on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded array2d v0.2.1 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded libc v0.2.91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb02c61b082f658c92aecaa18bf86bc27296fa57b71777268cc79846c1cc255 [INFO] running `Command { std: "docker" "start" "-a" "edb02c61b082f658c92aecaa18bf86bc27296fa57b71777268cc79846c1cc255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb02c61b082f658c92aecaa18bf86bc27296fa57b71777268cc79846c1cc255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb02c61b082f658c92aecaa18bf86bc27296fa57b71777268cc79846c1cc255", kill_on_drop: false }` [INFO] [stdout] edb02c61b082f658c92aecaa18bf86bc27296fa57b71777268cc79846c1cc255 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3b6734b081158911863f615ca3096792308530d7bc121237cc99ad4c326e92 [INFO] running `Command { std: "docker" "start" "-a" "4e3b6734b081158911863f615ca3096792308530d7bc121237cc99ad4c326e92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking array2d v0.2.1 [INFO] [stderr] Checking maplit v1.0.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)]` 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, expected: usize) -> HashSet { [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, expected: usize) -> HashSet { [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 { [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 { [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)]` 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, expected: usize) -> HashSet { [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, expected: usize) -> HashSet { [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 { [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 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "4e3b6734b081158911863f615ca3096792308530d7bc121237cc99ad4c326e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3b6734b081158911863f615ca3096792308530d7bc121237cc99ad4c326e92", kill_on_drop: false }` [INFO] [stdout] 4e3b6734b081158911863f615ca3096792308530d7bc121237cc99ad4c326e92