[INFO] cloning repository https://github.com/BojanSof/maze-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BojanSof/maze-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBojanSof%2Fmaze-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBojanSof%2Fmaze-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e4f2ddf1eb5387898bf940bfe1d4a145da1b6f6
[INFO] building BojanSof/maze-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBojanSof%2Fmaze-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BojanSof/maze-rust
[INFO] finished tweaking git repo https://github.com/BojanSof/maze-rust
[INFO] tweaked toml for git repo https://github.com/BojanSof/maze-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BojanSof/maze-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BojanSof/maze-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rgb v0.8.52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3934cfd6d863f43e4ab07c6999a5461a5bba95116c9f995d5f57a30898609b18
[INFO] running `Command { std: "docker" "start" "-a" "3934cfd6d863f43e4ab07c6999a5461a5bba95116c9f995d5f57a30898609b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3934cfd6d863f43e4ab07c6999a5461a5bba95116c9f995d5f57a30898609b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3934cfd6d863f43e4ab07c6999a5461a5bba95116c9f995d5f57a30898609b18", kill_on_drop: false }`
[INFO] [stdout] 3934cfd6d863f43e4ab07c6999a5461a5bba95116c9f995d5f57a30898609b18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 213c3b7da08421318fd8bb804fe893516bcfc2f28f1ba59fcb5a3713b0b47215
[INFO] running `Command { std: "docker" "start" "-a" "213c3b7da08421318fd8bb804fe893516bcfc2f28f1ba59fcb5a3713b0b47215", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling avif-serialize v0.8.5
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling rgb v0.8.52
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.19
[INFO] [stderr]    Compiling image-webp v0.2.3
[INFO] [stderr]    Compiling gif v0.13.3
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling av1-grain v0.2.4
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling ravif v0.11.20
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling maze_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `image::Rgb`
[INFO] [stdout]  --> src/gif_generator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use image::Rgb;
[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: `rand::Rng`
[INFO] [stdout]  --> src/maze.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rgb`
[INFO] [stdout]  --> src/maze_image.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use image::{ImageBuffer, Rgb, RgbImage};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/kruskal.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/prims.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/recursive_backtracker.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/maze.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut current_y = rng.gen_range(0..height / 2) * 2 + 1;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut current_x = rng.gen_range(0..width / 2) * 2 + 1;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:45:50
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (next_y, next_x) = neighbors[rng.gen_range(0..neighbors.len())];
[INFO] [stdout]    |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             rng.gen_range(1..height / 2) * 2 + 1,
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |             rng.gen_range(1..width / 2) * 2 + 1,
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let idx = rng.gen_range(0..walls.len());
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_with_path_to_gif` is never used
[INFO] [stdout]   --> src/gif_generator.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn save_maze_with_path_to_gif(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MazeError` is never used
[INFO] [stdout]   --> src/maze.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum MazeError {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_file` is never used
[INFO] [stdout]   --> src/maze.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Maze {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, MazeError> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_to_image` is never used
[INFO] [stdout]  --> src/maze_image.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn save_maze_to_image(maze: &Maze, path: &str) -> Result<(), image::ImageError> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_with_path_to_image` is never used
[INFO] [stdout]   --> src/maze_image.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn save_maze_with_path_to_image(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_maze_from_image` is never used
[INFO] [stdout]   --> src/maze_image.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn load_maze_from_image(path: &str) -> Result<Maze, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_maze_from_image_scaled` is never used
[INFO] [stdout]   --> src/maze_image.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn load_maze_from_image_scaled(path: &str, scale: u32) -> Result<Maze, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_maze_with_path` is never used
[INFO] [stdout]  --> src/maze_pprint.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn display_maze_with_path(maze: &Maze, path: &[(usize, usize)]) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/priority_queue.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<T: Ord> PriorityQueue<T> {
[INFO] [stdout]    | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/queue.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/stack.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
[INFO] running `Command { std: "docker" "inspect" "213c3b7da08421318fd8bb804fe893516bcfc2f28f1ba59fcb5a3713b0b47215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "213c3b7da08421318fd8bb804fe893516bcfc2f28f1ba59fcb5a3713b0b47215", kill_on_drop: false }`
[INFO] [stdout] 213c3b7da08421318fd8bb804fe893516bcfc2f28f1ba59fcb5a3713b0b47215
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b373ccdc39376c8a84ba56c53439546a8421d572899f3297daec14e0610d625
[INFO] running `Command { std: "docker" "start" "-a" "1b373ccdc39376c8a84ba56c53439546a8421d572899f3297daec14e0610d625", kill_on_drop: false }`
[INFO] [stderr]    Compiling maze_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `image::Rgb`
[INFO] [stdout]  --> src/gif_generator.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use image::Rgb;
[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: `rand::Rng`
[INFO] [stdout]  --> src/maze.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rgb`
[INFO] [stdout]  --> src/maze_image.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use image::{ImageBuffer, Rgb, RgbImage};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/kruskal.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/prims.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/generators/recursive_backtracker.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/maze.rs:142:29
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut current_y = rng.gen_range(0..height / 2) * 2 + 1;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut current_x = rng.gen_range(0..width / 2) * 2 + 1;
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/aldous_broder.rs:45:50
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (next_y, next_x) = neighbors[rng.gen_range(0..neighbors.len())];
[INFO] [stdout]    |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             rng.gen_range(1..height / 2) * 2 + 1,
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |             rng.gen_range(1..width / 2) * 2 + 1,
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/generators/prims.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let idx = rng.gen_range(0..walls.len());
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_with_path_to_gif` is never used
[INFO] [stdout]   --> src/gif_generator.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn save_maze_with_path_to_gif(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/maze.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Io(io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MazeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 -     Io(io::Error),
[INFO] [stdout] 20 +     Io(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_to_image` is never used
[INFO] [stdout]  --> src/maze_image.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn save_maze_to_image(maze: &Maze, path: &str) -> Result<(), image::ImageError> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_maze_with_path_to_image` is never used
[INFO] [stdout]   --> src/maze_image.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn save_maze_with_path_to_image(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_maze_from_image` is never used
[INFO] [stdout]   --> src/maze_image.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn load_maze_from_image(path: &str) -> Result<Maze, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_maze_from_image_scaled` is never used
[INFO] [stdout]   --> src/maze_image.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn load_maze_from_image_scaled(path: &str, scale: u32) -> Result<Maze, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_maze_with_path` is never used
[INFO] [stdout]  --> src/maze_pprint.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn display_maze_with_path(maze: &Maze, path: &[(usize, usize)]) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/priority_queue.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<T: Ord> PriorityQueue<T> {
[INFO] [stdout]    | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/queue.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<T> Queue<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used
[INFO] [stdout]   --> src/stack.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl<T> Stack<T> {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "1b373ccdc39376c8a84ba56c53439546a8421d572899f3297daec14e0610d625", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b373ccdc39376c8a84ba56c53439546a8421d572899f3297daec14e0610d625", kill_on_drop: false }`
[INFO] [stdout] 1b373ccdc39376c8a84ba56c53439546a8421d572899f3297daec14e0610d625
