[INFO] cloning repository https://github.com/Hilaire-Bouaddi/a-mazing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hilaire-Bouaddi/a-mazing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHilaire-Bouaddi%2Fa-mazing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHilaire-Bouaddi%2Fa-mazing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4aa84b76d527a6999faef315016a3099b7e624f [INFO] building Hilaire-Bouaddi/a-mazing against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHilaire-Bouaddi%2Fa-mazing" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hilaire-Bouaddi/a-mazing [INFO] finished tweaking git repo https://github.com/Hilaire-Bouaddi/a-mazing [INFO] tweaked toml for git repo https://github.com/Hilaire-Bouaddi/a-mazing written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hilaire-Bouaddi/a-mazing on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hilaire-Bouaddi/a-mazing 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.6 [INFO] [stderr] Downloaded macroquad v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3cee3d1ce2a5eac544e4de76846ccdd324446a33fe9114ba56fdb7590371d5d [INFO] running `Command { std: "docker" "start" "-a" "a3cee3d1ce2a5eac544e4de76846ccdd324446a33fe9114ba56fdb7590371d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3cee3d1ce2a5eac544e4de76846ccdd324446a33fe9114ba56fdb7590371d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3cee3d1ce2a5eac544e4de76846ccdd324446a33fe9114ba56fdb7590371d5d", kill_on_drop: false }` [INFO] [stdout] a3cee3d1ce2a5eac544e4de76846ccdd324446a33fe9114ba56fdb7590371d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 867da2934fb7d61cca2cfe3fdafeab23df04785fbe62be49176c600a8f32726d [INFO] running `Command { std: "docker" "start" "-a" "867da2934fb7d61cca2cfe3fdafeab23df04785fbe62be49176c600a8f32726d", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling explorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::cell::Cell` [INFO] [stdout] --> src/maze_generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cell::Cell; [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 import: `std::collections::HashMap` [INFO] [stdout] --> src/maze_generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/mouse.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mouse.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if (absolute_path_to_current_pos.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - if (absolute_path_to_current_pos.len() > 0) { [INFO] [stdout] 72 + if absolute_path_to_current_pos.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mouse.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if (next_pos == end_pos) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - if (next_pos == end_pos) { [INFO] [stdout] 119 + if next_pos == end_pos { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/maze_generator.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | fn loop_erased_path(path: &Path, grid: &Grid) -> Path { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/maze_generator.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | 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/maze_generator.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | counter += 1; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x: isize = pos.x as isize; [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/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut y: isize = pos.y as isize; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/main.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | async fn animate_maze_creation(grid: &model::grid::Grid, internals: &MazeGenerationInternals) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internals` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let internals = maze_generator::mazify(&mut grid); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_path_loop_erasure` is never used [INFO] [stdout] --> src/main.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | async fn display_path_loop_erasure( [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 `animate_maze_creation` is never used [INFO] [stdout] --> src/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn animate_maze_creation(grid: &model::grid::Grid, internals: &MazeGenerationInternals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_RATE_MS` is never used [INFO] [stdout] --> src/constants/game_constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const REFRESH_RATE_MS: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEP_PATH_COLOR` is never used [INFO] [stdout] --> src/constants/gui_constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LEP_PATH_COLOR: Color = PURPLE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VisitingStatus` is never used [INFO] [stdout] --> src/maze_generator.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum VisitingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paths` is never read [INFO] [stdout] --> src/maze_generator.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct MazeGenerationInternals { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 186 | paths: Vec<(Path, Path, Grid)>, // Association of random walks with their loop erased counterparts [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_paths` is never used [INFO] [stdout] --> src/maze_generator.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl MazeGenerationInternals { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 190 | pub fn get_paths(&self) -> &Vec<(Path, Path, Grid)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors` is never used [INFO] [stdout] --> src/model/grid.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_neighbors(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/model/cell.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `get_x`, `get_y`, and `get_position` are never used [INFO] [stdout] --> src/model/cell.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_tuple(t: (usize, usize)) -> Cell { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_x(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_y(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_new_position` is never used [INFO] [stdout] --> src/mouse.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl BFSMouse { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 14 | fn set_new_position(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "867da2934fb7d61cca2cfe3fdafeab23df04785fbe62be49176c600a8f32726d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "867da2934fb7d61cca2cfe3fdafeab23df04785fbe62be49176c600a8f32726d", kill_on_drop: false }` [INFO] [stdout] 867da2934fb7d61cca2cfe3fdafeab23df04785fbe62be49176c600a8f32726d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 1f159d20118fd7fa11dd02d0a11168d77307dcab44048bad477dd86b7ccb6124 [INFO] running `Command { std: "docker" "start" "-a" "1f159d20118fd7fa11dd02d0a11168d77307dcab44048bad477dd86b7ccb6124", kill_on_drop: false }` [INFO] [stderr] Compiling explorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::model::cell::Cell` [INFO] [stdout] --> src/maze_generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::cell::Cell; [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 import: `std::collections::HashMap` [INFO] [stdout] --> src/maze_generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/mouse.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mouse.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | if (absolute_path_to_current_pos.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - if (absolute_path_to_current_pos.len() > 0) { [INFO] [stdout] 72 + if absolute_path_to_current_pos.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mouse.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if (next_pos == end_pos) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - if (next_pos == end_pos) { [INFO] [stdout] 119 + if next_pos == end_pos { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/maze_generator.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | fn loop_erased_path(path: &Path, grid: &Grid) -> Path { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/maze_generator.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | 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/maze_generator.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | counter += 1; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x: isize = pos.x as isize; [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/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut y: isize = pos.y as isize; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/main.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | async fn animate_maze_creation(grid: &model::grid::Grid, internals: &MazeGenerationInternals) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internals` [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let internals = maze_generator::mazify(&mut grid); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_path_loop_erasure` is never used [INFO] [stdout] --> src/main.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | async fn display_path_loop_erasure( [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 `animate_maze_creation` is never used [INFO] [stdout] --> src/main.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn animate_maze_creation(grid: &model::grid::Grid, internals: &MazeGenerationInternals) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_RATE_MS` is never used [INFO] [stdout] --> src/constants/game_constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const REFRESH_RATE_MS: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEP_PATH_COLOR` is never used [INFO] [stdout] --> src/constants/gui_constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const LEP_PATH_COLOR: Color = PURPLE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VisitingStatus` is never used [INFO] [stdout] --> src/maze_generator.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum VisitingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paths` is never read [INFO] [stdout] --> src/maze_generator.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct MazeGenerationInternals { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 186 | paths: Vec<(Path, Path, Grid)>, // Association of random walks with their loop erased counterparts [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_paths` is never used [INFO] [stdout] --> src/maze_generator.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl MazeGenerationInternals { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 190 | pub fn get_paths(&self) -> &Vec<(Path, Path, Grid)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_neighbors` is never used [INFO] [stdout] --> src/model/grid.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_neighbors(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/model/cell.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `get_x`, `get_y`, and `get_position` are never used [INFO] [stdout] --> src/model/cell.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cell { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_tuple(t: (usize, usize)) -> Cell { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_x(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_y(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_new_position` is never used [INFO] [stdout] --> src/mouse.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl BFSMouse { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 14 | fn set_new_position(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "1f159d20118fd7fa11dd02d0a11168d77307dcab44048bad477dd86b7ccb6124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f159d20118fd7fa11dd02d0a11168d77307dcab44048bad477dd86b7ccb6124", kill_on_drop: false }` [INFO] [stdout] 1f159d20118fd7fa11dd02d0a11168d77307dcab44048bad477dd86b7ccb6124