[INFO] cloning repository https://github.com/ysissoko/pacman-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ysissoko/pacman-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysissoko%2Fpacman-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysissoko%2Fpacman-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3606c0a08add4322eccd38fa4c24d303dee648cc
[INFO] building ysissoko/pacman-rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysissoko%2Fpacman-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ysissoko/pacman-rust
[INFO] finished tweaking git repo https://github.com/ysissoko/pacman-rust
[INFO] tweaked toml for git repo https://github.com/ysissoko/pacman-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ysissoko/pacman-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ysissoko/pacman-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded find_folder v0.3.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.54.0
[INFO] [stderr]   Downloaded libloading v0.8.7
[INFO] [stderr]   Downloaded piston v0.54.0
[INFO] [stderr]   Downloaded spin_sleep v1.3.1
[INFO] [stderr]   Downloaded piston_window v0.130.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 680fb2409a4799f4734849789a9ccc1526b85f530e4a907a3affee3b4898aadb
[INFO] running `Command { std: "docker" "start" "-a" "680fb2409a4799f4734849789a9ccc1526b85f530e4a907a3affee3b4898aadb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "680fb2409a4799f4734849789a9ccc1526b85f530e4a907a3affee3b4898aadb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "680fb2409a4799f4734849789a9ccc1526b85f530e4a907a3affee3b4898aadb", kill_on_drop: false }`
[INFO] [stdout] 680fb2409a4799f4734849789a9ccc1526b85f530e4a907a3affee3b4898aadb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e665a7804bab854ad1e28e8c1f95f5e36a018be3fe4a418bc4716132fbeef42e
[INFO] running `Command { std: "docker" "start" "-a" "e665a7804bab854ad1e28e8c1f95f5e36a018be3fe4a418bc4716132fbeef42e", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.26
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling libloading v0.8.7
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling piston-float v1.0.1
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling pistoncore-window v1.0.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling gfx v0.18.3
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling spin_sleep v1.3.1
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.3.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.54.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling piston2d-graphics v0.44.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling piston v0.54.0
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling find_folder v0.3.0
[INFO] [stderr]    Compiling ndarray v0.16.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling piston-gfx_texture v0.44.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.80.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.72.0
[INFO] [stderr]    Compiling piston_window v0.130.0
[INFO] [stderr]    Compiling pacman-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 _ => {
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 GhostState::Chase => match ghost.name.as_str() {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 153 |                 GhostState::Scatter => ghost.scatter_pos,
[INFO] [stdout]     |                 ------------------- matches some of the same values
[INFO] [stdout] 154 |                 GhostState::Frightened => {
[INFO] [stdout]     |                 ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 161 |                 GhostState::Eaten => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 164 |                 _ => {
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_LIVES` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_LIVES: i32 = 3;
[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 `Fruit` is never used
[INFO] [stdout]   --> src/enums.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Fruit {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/ghost.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Ghost {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub color: [f32; 4], // RGBA color
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_pos` and `get_type` are never used
[INFO] [stdout]   --> src/grid.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Tile {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_pos(&self) -> (i32, i32) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get_type(&self) -> &TileType {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_cols` and `num_rows` are never read
[INFO] [stdout]   --> src/grid.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Grid {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 73 |     tiles: Array2<Tile>,
[INFO] [stdout] 74 |     num_cols: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 75 |     num_rows: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_dim_width` and `get_dim_height` are never used
[INFO] [stdout]    --> src/grid.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl Grid {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn get_dim_width(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get_dim_height(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/player.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Pacman {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 6 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lose_life`, `get_lives`, `get_score`, and `eat_fruit` are never used
[INFO] [stdout]    --> src/player.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Pacman {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn lose_life(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_lives(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn get_score(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn eat_fruit(&mut self, fruit: Fruit) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_bounds` is never used
[INFO] [stdout]  --> src/utils.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn check_bounds(pos: (i32, i32)) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_neighbors` is never used
[INFO] [stdout]   --> src/utils.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn find_neighbors(pos: (i32, i32)) -> Vec<(i32, i32)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/pathfinding.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pathfinding.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Node {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(pos: (i32, i32)) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AStar` is never constructed
[INFO] [stdout]   --> src/pathfinding.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct AStar {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_goal`, `get_node_mut`, `get_node`, `find_path`, and `reset_path` are never used
[INFO] [stdout]    --> src/pathfinding.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl AStar {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  36 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn set_goal(&mut self, goal: (i32, i32)) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     fn get_node_mut(&mut self, pos: (i32, i32)) -> Option<&mut Node> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     fn get_node(&self, pos: (i32, i32)) -> Option<&Node> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn find_path(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn reset_path(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reconstruct_path` is never used
[INFO] [stdout]    --> src/pathfinding.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn reconstruct_path(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 23s
[INFO] running `Command { std: "docker" "inspect" "e665a7804bab854ad1e28e8c1f95f5e36a018be3fe4a418bc4716132fbeef42e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e665a7804bab854ad1e28e8c1f95f5e36a018be3fe4a418bc4716132fbeef42e", kill_on_drop: false }`
[INFO] [stdout] e665a7804bab854ad1e28e8c1f95f5e36a018be3fe4a418bc4716132fbeef42e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11610ff17d5fc181b1233a36566daf9b9067a9963e39ba0ec0931052947fbc1e
[INFO] running `Command { std: "docker" "start" "-a" "11610ff17d5fc181b1233a36566daf9b9067a9963e39ba0ec0931052947fbc1e", kill_on_drop: false }`
[INFO] [stderr]    Compiling pacman-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |                 _ => {
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 GhostState::Chase => match ghost.name.as_str() {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 153 |                 GhostState::Scatter => ghost.scatter_pos,
[INFO] [stdout]     |                 ------------------- matches some of the same values
[INFO] [stdout] 154 |                 GhostState::Frightened => {
[INFO] [stdout]     |                 ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 161 |                 GhostState::Eaten => {
[INFO] [stdout]     |                 ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 164 |                 _ => {
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_LIVES` is never used
[INFO] [stdout]  --> src/constants.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const MAX_LIVES: i32 = 3;
[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 `Fruit` is never used
[INFO] [stdout]   --> src/enums.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Fruit {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/ghost.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Ghost {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub color: [f32; 4], // RGBA color
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_pos` and `get_type` are never used
[INFO] [stdout]   --> src/grid.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Tile {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_pos(&self) -> (i32, i32) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get_type(&self) -> &TileType {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `num_cols` and `num_rows` are never read
[INFO] [stdout]   --> src/grid.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Grid {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 73 |     tiles: Array2<Tile>,
[INFO] [stdout] 74 |     num_cols: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 75 |     num_rows: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_dim_width` and `get_dim_height` are never used
[INFO] [stdout]    --> src/grid.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl Grid {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn get_dim_width(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get_dim_height(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/player.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Pacman {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 6 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `lose_life`, `get_lives`, `get_score`, and `eat_fruit` are never used
[INFO] [stdout]    --> src/player.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Pacman {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn lose_life(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_lives(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn get_score(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn eat_fruit(&mut self, fruit: Fruit) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_bounds` is never used
[INFO] [stdout]  --> src/utils.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn check_bounds(pos: (i32, i32)) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_neighbors` is never used
[INFO] [stdout]   --> src/utils.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn find_neighbors(pos: (i32, i32)) -> Vec<(i32, i32)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/pathfinding.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pathfinding.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Node {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(pos: (i32, i32)) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AStar` is never constructed
[INFO] [stdout]   --> src/pathfinding.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct AStar {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_goal`, `get_node_mut`, `get_node`, `find_path`, and `reset_path` are never used
[INFO] [stdout]    --> src/pathfinding.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl AStar {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  36 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn set_goal(&mut self, goal: (i32, i32)) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  68 |     fn get_node_mut(&mut self, pos: (i32, i32)) -> Option<&mut Node> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     fn get_node(&self, pos: (i32, i32)) -> Option<&Node> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn find_path(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn reset_path(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reconstruct_path` is never used
[INFO] [stdout]    --> src/pathfinding.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn reconstruct_path(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s
[INFO] running `Command { std: "docker" "inspect" "11610ff17d5fc181b1233a36566daf9b9067a9963e39ba0ec0931052947fbc1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11610ff17d5fc181b1233a36566daf9b9067a9963e39ba0ec0931052947fbc1e", kill_on_drop: false }`
[INFO] [stdout] 11610ff17d5fc181b1233a36566daf9b9067a9963e39ba0ec0931052947fbc1e
