[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] checking fraugho/maze against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffraugho%2Fmaze" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fraugho/maze on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "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" "+ca77504943887037504c7fc0b9bf06dab3910373" "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 tract-onnx v0.19.16 [INFO] [stderr] Downloaded liquid v0.26.9 [INFO] [stderr] Downloaded tract-hir v0.19.16 [INFO] [stderr] Downloaded liquid-lib v0.26.9 [INFO] [stderr] Downloaded liquid-core v0.26.9 [INFO] [stderr] Downloaded tract-nnef v0.19.16 [INFO] [stderr] Downloaded liquid-derive v0.26.8 [INFO] [stderr] Downloaded tract-core v0.19.16 [INFO] [stderr] Downloaded scan_fmt v0.2.6 [INFO] [stderr] Downloaded tract-data v0.19.16 [INFO] [stderr] Downloaded tract-linalg v0.19.16 [INFO] [stderr] Downloaded string-interner v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f2b1748ea8136b596453a125b1a8cfb1dd6fb047879072a188c6c6d21d343b5 [INFO] running `Command { std: "docker" "start" "-a" "1f2b1748ea8136b596453a125b1a8cfb1dd6fb047879072a188c6c6d21d343b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f2b1748ea8136b596453a125b1a8cfb1dd6fb047879072a188c6c6d21d343b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2b1748ea8136b596453a125b1a8cfb1dd6fb047879072a188c6c6d21d343b5", kill_on_drop: false }` [INFO] [stdout] 1f2b1748ea8136b596453a125b1a8cfb1dd6fb047879072a188c6c6d21d343b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f441cf0d46ef05102acf2632d617c0d1757cfdadc62b847f36234bbed2253526 [INFO] running `Command { std: "docker" "start" "-a" "f441cf0d46ef05102acf2632d617c0d1757cfdadc62b847f36234bbed2253526", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ahash v0.7.8 [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 crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling liquid-derive v0.26.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tar v0.4.41 [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] Checking tiff v0.9.1 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking tract-data v0.19.16 [INFO] [stderr] Compiling kstring v2.0.2 [INFO] [stderr] Compiling liquid-core v0.26.9 [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] Checking tract-core v0.19.16 [INFO] [stderr] Checking tract-nnef v0.19.16 [INFO] [stderr] Checking tract-hir v0.19.16 [INFO] [stderr] Checking tract-onnx-opl v0.19.16 [INFO] [stderr] Checking tract-onnx v0.19.16 [INFO] [stderr] Checking 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)]` 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)]` 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 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)]` 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)]` 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)]` 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] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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)]` 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)]` 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] [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)]` 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] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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)]` 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)]` 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 54.04s [INFO] running `Command { std: "docker" "inspect" "f441cf0d46ef05102acf2632d617c0d1757cfdadc62b847f36234bbed2253526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f441cf0d46ef05102acf2632d617c0d1757cfdadc62b847f36234bbed2253526", kill_on_drop: false }` [INFO] [stdout] f441cf0d46ef05102acf2632d617c0d1757cfdadc62b847f36234bbed2253526