[INFO] cloning repository https://github.com/fraugho/maze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fraugho/maze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraugho%2Fmaze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraugho%2Fmaze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e84a7b45fe42e5f9dc4a039a9aca1d321f61f75b [INFO] testing fraugho/maze against 1.91.0 for beta-1.92-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraugho%2Fmaze" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fraugho/maze [INFO] finished tweaking git repo https://github.com/fraugho/maze [INFO] tweaked toml for git repo https://github.com/fraugho/maze written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fraugho/maze on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fraugho/maze 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tract-onnx-opl v0.19.16 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded scan_fmt v0.2.6 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded primal-check v0.3.4 [INFO] [stderr] Downloaded anymap2 v0.13.0 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded tract-hir v0.19.16 [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded liquid-lib v0.26.9 [INFO] [stderr] Downloaded liquid-core v0.26.9 [INFO] [stderr] Downloaded tract-linalg v0.19.16 [INFO] [stderr] Downloaded tract-core v0.19.16 [INFO] [stderr] Downloaded tract-nnef v0.19.16 [INFO] [stderr] Downloaded kstring v2.0.2 [INFO] [stderr] Downloaded liquid-derive v0.26.8 [INFO] [stderr] Downloaded transpose v0.2.3 [INFO] [stderr] Downloaded liquid v0.26.9 [INFO] [stderr] Downloaded string-interner v0.14.0 [INFO] [stderr] Downloaded tract-data v0.19.16 [INFO] [stderr] Downloaded tract-onnx v0.19.16 [INFO] [stderr] Downloaded rustfft v6.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69efed95da49d70468b8210db1ef4472364d2d2dd78fc24f46b7044419ebefd6 [INFO] running `Command { std: "docker" "start" "-a" "69efed95da49d70468b8210db1ef4472364d2d2dd78fc24f46b7044419ebefd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69efed95da49d70468b8210db1ef4472364d2d2dd78fc24f46b7044419ebefd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69efed95da49d70468b8210db1ef4472364d2d2dd78fc24f46b7044419ebefd6", kill_on_drop: false }` [INFO] [stdout] 69efed95da49d70468b8210db1ef4472364d2d2dd78fc24f46b7044419ebefd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b2e609066e4e6a86578c6ead5d92212c457e76e07f72d1ebccdddf819314129 [INFO] running `Command { std: "docker" "start" "-a" "2b2e609066e4e6a86578c6ead5d92212c457e76e07f72d1ebccdddf819314129", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling liquid-derive v0.26.8 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling scan_fmt v0.2.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling kstring v2.0.2 [INFO] [stderr] Compiling string-interner v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling liquid-core v0.26.9 [INFO] [stderr] Compiling tract-data v0.19.16 [INFO] [stderr] Compiling liquid-lib v0.26.9 [INFO] [stderr] Compiling liquid v0.26.9 [INFO] [stderr] Compiling tract-linalg v0.19.16 [INFO] [stderr] Compiling tract-core v0.19.16 [INFO] [stderr] Compiling tract-nnef v0.19.16 [INFO] [stderr] Compiling tract-hir v0.19.16 [INFO] [stderr] Compiling tract-onnx-opl v0.19.16 [INFO] [stderr] Compiling tract-onnx v0.19.16 [INFO] [stderr] Compiling maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write, BufWriter}; [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: `Arc` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `const_random::const_random` [INFO] [stdout] --> src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use const_random::const_random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maze_r` should have an upper camel case name [INFO] [stdout] --> src/maze_logic.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Maze_r { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `MazeR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maze_ro` should have an upper camel case name [INFO] [stdout] --> src/maze_logic.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct Maze_ro { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MazeRo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..size { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 96 | for _i in 0..size { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_MAZE_SIZE` [INFO] [stdout] | [INFO] [stdout] 96 - for i in 0..size { [INFO] [stdout] 96 + for MAX_MAZE_SIZE in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [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: constant `MAX_MAZE_SIZE` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_MAZE_SIZE: usize = 10; [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 `print_maze` is never used [INFO] [stdout] --> src/print.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_o` is never used [INFO] [stdout] --> src/print.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_o2` is never used [INFO] [stdout] --> src/print.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn print_maze_o2(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_oo` is never used [INFO] [stdout] --> src/print.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_ooo` is never used [INFO] [stdout] --> src/print.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_maze_ooo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze` is never used [INFO] [stdout] --> src/print.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn branched_print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze_o` is never used [INFO] [stdout] --> src/print.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn branched_print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze_oo` is never used [INFO] [stdout] --> src/print.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn branched_print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detailed_maze_print` is never used [INFO] [stdout] --> src/print.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn detailed_maze_print(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_real_maze_uo` is never used [INFO] [stdout] --> src/print.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn print_real_maze_uo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maze_print_speed_test` is never used [INFO] [stdout] --> src/print.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn maze_print_speed_test(maze: &[[(bool, [bool; 4]); WIDTH]; HEIGHT], times: u128){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_speed_test` is never used [INFO] [stdout] --> src/print.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn print_speed_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const WIDTH: usize = 10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEIGHT: usize = 10; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_pos`, `can_move_path`, `can_follow_path`, `print`, and `z_print` are never used [INFO] [stdout] --> src/maze_logic.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Maze { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn print_pos(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn can_move_path(&self, pos: (u8, u8), direction: (i8, i8)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn can_follow_path(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn z_print(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze_r` is never constructed [INFO] [stdout] --> src/maze_logic.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Maze_r { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stdout] --> src/maze_logic.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 308 | impl Maze_r { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 309 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze_ro` is never constructed [INFO] [stdout] --> src/maze_logic.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct Maze_ro { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stdout] --> src/maze_logic.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 349 | impl Maze_ro { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 350 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "2b2e609066e4e6a86578c6ead5d92212c457e76e07f72d1ebccdddf819314129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b2e609066e4e6a86578c6ead5d92212c457e76e07f72d1ebccdddf819314129", kill_on_drop: false }` [INFO] [stdout] 2b2e609066e4e6a86578c6ead5d92212c457e76e07f72d1ebccdddf819314129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2187240f0414ce3b8bda50c34f1540c5a58543093d7ba3629ab4906979c0878 [INFO] running `Command { std: "docker" "start" "-a" "f2187240f0414ce3b8bda50c34f1540c5a58543093d7ba3629ab4906979c0878", kill_on_drop: false }` [INFO] [stderr] Compiling maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write, BufWriter}; [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: `Arc` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `const_random::const_random` [INFO] [stdout] --> src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use const_random::const_random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maze_r` should have an upper camel case name [INFO] [stdout] --> src/maze_logic.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Maze_r { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `MazeR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Maze_ro` should have an upper camel case name [INFO] [stdout] --> src/maze_logic.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct Maze_ro { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MazeRo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constants::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use constants::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for i in 0..size { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 96 | for _i in 0..size { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_MAZE_SIZE` [INFO] [stdout] | [INFO] [stdout] 96 - for i in 0..size { [INFO] [stdout] 96 + for MAX_MAZE_SIZE in 0..size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [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: constant `MAX_MAZE_SIZE` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_MAZE_SIZE: usize = 10; [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 `print_maze` is never used [INFO] [stdout] --> src/print.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_o` is never used [INFO] [stdout] --> src/print.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_o2` is never used [INFO] [stdout] --> src/print.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn print_maze_o2(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_oo` is never used [INFO] [stdout] --> src/print.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_maze_ooo` is never used [INFO] [stdout] --> src/print.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_maze_ooo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze` is never used [INFO] [stdout] --> src/print.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn branched_print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze_o` is never used [INFO] [stdout] --> src/print.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn branched_print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `branched_print_maze_oo` is never used [INFO] [stdout] --> src/print.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn branched_print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `detailed_maze_print` is never used [INFO] [stdout] --> src/print.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn detailed_maze_print(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_real_maze_uo` is never used [INFO] [stdout] --> src/print.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn print_real_maze_uo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maze_print_speed_test` is never used [INFO] [stdout] --> src/print.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn maze_print_speed_test(maze: &[[(bool, [bool; 4]); WIDTH]; HEIGHT], times: u128){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_speed_test` is never used [INFO] [stdout] --> src/print.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn print_speed_test(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WIDTH` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const WIDTH: usize = 10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEIGHT: usize = 10; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_pos`, `can_move_path`, `can_follow_path`, `print`, and `z_print` are never used [INFO] [stdout] --> src/maze_logic.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Maze { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn print_pos(&self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn can_move_path(&self, pos: (u8, u8), direction: (i8, i8)) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn can_follow_path(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn z_print(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze_r` is never constructed [INFO] [stdout] --> src/maze_logic.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Maze_r { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stdout] --> src/maze_logic.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 308 | impl Maze_r { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 309 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Maze_ro` is never constructed [INFO] [stdout] --> src/maze_logic.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct Maze_ro { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stdout] --> src/maze_logic.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 349 | impl Maze_ro { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 350 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "f2187240f0414ce3b8bda50c34f1540c5a58543093d7ba3629ab4906979c0878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2187240f0414ce3b8bda50c34f1540c5a58543093d7ba3629ab4906979c0878", kill_on_drop: false }` [INFO] [stdout] f2187240f0414ce3b8bda50c34f1540c5a58543093d7ba3629ab4906979c0878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e43c53c6885a748b638235a5860228c6547d7a764a72f8076bcde9299374d1e6 [INFO] running `Command { std: "docker" "start" "-a" "e43c53c6885a748b638235a5860228c6547d7a764a72f8076bcde9299374d1e6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{self, Write, BufWriter}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Arc` [INFO] [stderr] --> src/main.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::{Arc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `const_random::const_random` [INFO] [stderr] --> src/constants.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use const_random::const_random; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Maze_r` should have an upper camel case name [INFO] [stderr] --> src/maze_logic.rs:301:12 [INFO] [stderr] | [INFO] [stderr] 301 | pub struct Maze_r { [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `MazeR` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `Maze_ro` should have an upper camel case name [INFO] [stderr] --> src/maze_logic.rs:342:12 [INFO] [stderr] | [INFO] [stderr] 342 | pub struct Maze_ro { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `MazeRo` [INFO] [stderr] [INFO] [stderr] warning: unused import: `constants::*` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use constants::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rng` [INFO] [stderr] --> src/main.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | for i in 0..size { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 96 | for _i in 0..size { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_MAZE_SIZE` [INFO] [stderr] | [INFO] [stderr] 96 - for i in 0..size { [INFO] [stderr] 96 + for MAX_MAZE_SIZE in 0..size { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:92:9 [INFO] [stderr] | [INFO] [stderr] 92 | let mut rng = thread_rng(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_MAZE_SIZE` is never used [INFO] [stderr] --> src/main.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | const MAX_MAZE_SIZE: usize = 10; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `print_maze` is never used [INFO] [stderr] --> src/print.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_maze_o` is never used [INFO] [stderr] --> src/print.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_maze_o2` is never used [INFO] [stderr] --> src/print.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn print_maze_o2(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_maze_oo` is never used [INFO] [stderr] --> src/print.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_maze_ooo` is never used [INFO] [stderr] --> src/print.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn print_maze_ooo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `branched_print_maze` is never used [INFO] [stderr] --> src/print.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn branched_print_maze(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `branched_print_maze_o` is never used [INFO] [stderr] --> src/print.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn branched_print_maze_o(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `branched_print_maze_oo` is never used [INFO] [stderr] --> src/print.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn branched_print_maze_oo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `detailed_maze_print` is never used [INFO] [stderr] --> src/print.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn detailed_maze_print(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_real_maze_uo` is never used [INFO] [stderr] --> src/print.rs:141:8 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn print_real_maze_uo(arr: &[[(bool, [bool; 4]); WIDTH]; HEIGHT]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `maze_print_speed_test` is never used [INFO] [stderr] --> src/print.rs:171:8 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn maze_print_speed_test(maze: &[[(bool, [bool; 4]); WIDTH]; HEIGHT], times: u128){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_speed_test` is never used [INFO] [stderr] --> src/print.rs:217:8 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn print_speed_test(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `WIDTH` is never used [INFO] [stderr] --> src/constants.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const WIDTH: usize = 10; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HEIGHT` is never used [INFO] [stderr] --> src/constants.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const HEIGHT: usize = 10; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `print_pos`, `can_move_path`, `can_follow_path`, `print`, and `z_print` are never used [INFO] [stderr] --> src/maze_logic.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 38 | impl Maze { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn print_pos(&self){ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | fn can_move_path(&self, pos: (u8, u8), direction: (i8, i8)) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn can_follow_path(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | pub fn z_print(&self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Maze_r` is never constructed [INFO] [stderr] --> src/maze_logic.rs:301:12 [INFO] [stderr] | [INFO] [stderr] 301 | pub struct Maze_r { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stderr] --> src/maze_logic.rs:309:12 [INFO] [stderr] | [INFO] [stderr] 308 | impl Maze_r { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 309 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub fn get_size(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Maze_ro` is never constructed [INFO] [stderr] --> src/maze_logic.rs:342:12 [INFO] [stderr] | [INFO] [stderr] 342 | pub struct Maze_ro { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_size`, and `print` are never used [INFO] [stderr] --> src/maze_logic.rs:350:12 [INFO] [stderr] | [INFO] [stderr] 349 | impl Maze_ro { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 350 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 358 | pub fn get_size(&self) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 361 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `maze` (bin "maze" test) generated 29 warnings (run `cargo fix --bin "maze" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/maze-7fd0655f57652574) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e43c53c6885a748b638235a5860228c6547d7a764a72f8076bcde9299374d1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e43c53c6885a748b638235a5860228c6547d7a764a72f8076bcde9299374d1e6", kill_on_drop: false }` [INFO] [stdout] e43c53c6885a748b638235a5860228c6547d7a764a72f8076bcde9299374d1e6