[INFO] cloning repository https://github.com/erewok/milos-mazes-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erewok/milos-mazes-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferewok%2Fmilos-mazes-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferewok%2Fmilos-mazes-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b10c30fb3e0d3c0912195491a3769949ee15527c [INFO] checking erewok/milos-mazes-rs against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferewok%2Fmilos-mazes-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erewok/milos-mazes-rs on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erewok/milos-mazes-rs [INFO] finished tweaking git repo https://github.com/erewok/milos-mazes-rs [INFO] tweaked toml for git repo https://github.com/erewok/milos-mazes-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/erewok/milos-mazes-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbf5672c0d84103501f374518d99e506156a01a8a065188367ccefa79a86df41 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbf5672c0d84103501f374518d99e506156a01a8a065188367ccefa79a86df41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbf5672c0d84103501f374518d99e506156a01a8a065188367ccefa79a86df41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf5672c0d84103501f374518d99e506156a01a8a065188367ccefa79a86df41", kill_on_drop: false }` [INFO] [stdout] cbf5672c0d84103501f374518d99e506156a01a8a065188367ccefa79a86df41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 746a4c1b323a02df23a08d958fa0d0eedf8fbe99c635491c2cdceacab784bd9d [INFO] running `Command { std: "docker" "start" "-a" "746a4c1b323a02df23a08d958fa0d0eedf8fbe99c635491c2cdceacab784bd9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking sw-composite v0.7.10 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking euclid v0.20.7 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking lyon_geom v0.15.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking font-kit v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking raqote v0.8.0 [INFO] [stderr] Checking milos-mazes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base_from_coords` [INFO] [stdout] --> src/graph.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | use super::{base_from_coords, from_grid}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Dot` [INFO] [stdout] --> src/graph.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | use petgraph::dot::{Dot, Config}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/algorithms.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let weight = graph.node_weight(*nd); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut node: Option<&NodeIndex> = all_node_indices.choose(&mut rand::thread_rng()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> src/algorithms.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let weight = graph.node_weight(*nd); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut node: Option<&NodeIndex> = all_node_indices.choose(&mut rand::thread_rng()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aldous_broder` [INFO] [stdout] --> src/algorithms.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn aldous_broder(graph: &mut UnGraph<(i32, i32), ()>) -> &mut UnGraph<(i32, i32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aldous_broder` [INFO] [stdout] --> src/algorithms.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn aldous_broder(graph: &mut UnGraph<(i32, i32), ()>) -> &mut UnGraph<(i32, i32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `neighbor_cells` [INFO] [stdout] --> src/cell.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn neighbor_cells(coords: (i32, i32)) -> collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/grid.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell` [INFO] [stdout] --> src/grid.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn random_cell(&self) -> &cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell_cloned` [INFO] [stdout] --> src/grid.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn random_cell_cloned(&self) -> cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell_mut` [INFO] [stdout] --> src/grid.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn random_cell_mut(&mut self) -> &mut cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_png` [INFO] [stdout] --> src/grid.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn to_png(&self, cell_size: i32, filename: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/grid.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | next: Option<&'a cell::Cell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base_from_coords` [INFO] [stdout] --> src/graph.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn base_from_coords(rows: i32, columns: i32) -> UnGraph<(i32, i32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Neighbors` [INFO] [stdout] --> src/hash_grid.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Neighbors { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_neighbor_coords` [INFO] [stdout] --> src/hash_grid.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_neighbor_coords(current: (i32, i32)) -> Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/hash_grid.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(rows: i32, columns: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_cells` [INFO] [stdout] --> src/hash_grid.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_cells(cells: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_grid` [INFO] [stdout] --> src/hash_grid.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn prepare_grid(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `configure_cells` [INFO] [stdout] --> src/hash_grid.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn configure_cells(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_item` [INFO] [stdout] --> src/hash_grid.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_item(&self, row_col: (i32, i32)) -> Option<&cell::Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_cell` [INFO] [stdout] --> src/hash_grid.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn replace_cell(&mut self, cll: cell::Cell) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/hash_grid.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell` [INFO] [stdout] --> src/hash_grid.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn random_cell(&self) -> Option<&cell::Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_png` [INFO] [stdout] --> src/hash_grid.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_png(&self, cell_size: i32, filename: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | graph::to_png(&sidewinder_graph, 50, 12, 12, "sidewinder_from_graph.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graph.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | new_grid.replace_cell(c1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graph.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | new_grid.replace_cell(c2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graph.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | new_grid.replace_cell(c3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `neighbor_cells` [INFO] [stdout] --> src/cell.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn neighbor_cells(coords: (i32, i32)) -> collections::HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_cell` [INFO] [stdout] --> src/grid.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn replace_cell(&mut self, cll: cell::Cell) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/grid.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell` [INFO] [stdout] --> src/grid.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn random_cell(&self) -> &cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell_cloned` [INFO] [stdout] --> src/grid.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn random_cell_cloned(&self) -> cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell_mut` [INFO] [stdout] --> src/grid.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn random_cell_mut(&mut self) -> &mut cell::Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_png` [INFO] [stdout] --> src/grid.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn to_png(&self, cell_size: i32, filename: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/grid.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | next: Option<&'a cell::Cell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base_from_coords` [INFO] [stdout] --> src/graph.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn base_from_coords(rows: i32, columns: i32) -> UnGraph<(i32, i32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Neighbors` [INFO] [stdout] --> src/hash_grid.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Neighbors { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_neighbor_coords` [INFO] [stdout] --> src/hash_grid.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_neighbor_coords(current: (i32, i32)) -> Neighbors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/hash_grid.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(rows: i32, columns: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_cells` [INFO] [stdout] --> src/hash_grid.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_cells(cells: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepare_grid` [INFO] [stdout] --> src/hash_grid.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn prepare_grid(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `configure_cells` [INFO] [stdout] --> src/hash_grid.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn configure_cells(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_item` [INFO] [stdout] --> src/hash_grid.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_item(&self, row_col: (i32, i32)) -> Option<&cell::Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_cell` [INFO] [stdout] --> src/hash_grid.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn replace_cell(&mut self, cll: cell::Cell) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/hash_grid.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn size(&self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_cell` [INFO] [stdout] --> src/hash_grid.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn random_cell(&self) -> Option<&cell::Cell> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_png` [INFO] [stdout] --> src/hash_grid.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_png(&self, cell_size: i32, filename: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | graph::to_png(&sidewinder_graph, 50, 12, 12, "sidewinder_from_graph.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.92s [INFO] running `Command { std: "docker" "inspect" "746a4c1b323a02df23a08d958fa0d0eedf8fbe99c635491c2cdceacab784bd9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746a4c1b323a02df23a08d958fa0d0eedf8fbe99c635491c2cdceacab784bd9d", kill_on_drop: false }` [INFO] [stdout] 746a4c1b323a02df23a08d958fa0d0eedf8fbe99c635491c2cdceacab784bd9d