[INFO] cloning repository https://github.com/Crypec/bake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Crypec/bake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrypec%2Fbake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrypec%2Fbake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8bb85562b26023878814c9b056153cab942cf6b4
[INFO] checking Crypec/bake/8bb85562b26023878814c9b056153cab942cf6b4 against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrypec%2Fbake" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Crypec/bake
[INFO] finished tweaking git repo https://github.com/Crypec/bake
[INFO] tweaked toml for git repo https://github.com/Crypec/bake written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Crypec/bake on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Crypec/bake 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs_extra v1.2.0
[INFO] [stderr]   Downloaded wayland-sys v0.23.6
[INFO] [stderr]   Downloaded ndk-glue v0.1.0
[INFO] [stderr]   Downloaded wayland-commons v0.23.6
[INFO] [stderr]   Downloaded jemallocator v0.3.2
[INFO] [stderr]   Downloaded wayland-scanner v0.23.6
[INFO] [stderr]   Downloaded net2 v0.2.35
[INFO] [stderr]   Downloaded libloading v0.6.3
[INFO] [stderr]   Downloaded ndk v0.1.0
[INFO] [stderr]   Downloaded coffee v0.4.1
[INFO] [stderr]   Downloaded derivative v2.1.1
[INFO] [stderr]   Downloaded cc v1.0.60
[INFO] [stderr]   Downloaded rayon-core v1.8.1
[INFO] [stderr]   Downloaded serde v1.0.116
[INFO] [stderr]   Downloaded wayland-client v0.23.6
[INFO] [stderr]   Downloaded glutin v0.24.1
[INFO] [stderr]   Downloaded wayland-protocols v0.23.6
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.6.6
[INFO] [stderr]   Downloaded serde_derive v1.0.116
[INFO] [stderr]   Downloaded ndk-sys v0.1.0
[INFO] [stderr]   Downloaded rayon v1.4.1
[INFO] [stderr]   Downloaded serde_json v1.0.58
[INFO] [stderr]   Downloaded anyhow v1.0.33
[INFO] [stderr]   Downloaded backtrace v0.3.51
[INFO] [stderr]   Downloaded syn v1.0.42
[INFO] [stderr]   Downloaded winit v0.22.2
[INFO] [stderr]   Downloaded jemalloc-sys v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a
[INFO] running `Command { std: "docker" "start" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]     Checking linked-hash-map v0.5.3
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling rayon-core v1.8.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling rayon v1.4.1
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking wayland-sys v0.23.6
[INFO] [stderr]     Checking xi-unicode v0.2.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking instant v0.1.7
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling coffee v0.4.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling jemalloc-sys v0.3.2
[INFO] [stderr]     Checking ahash v0.4.6
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.1.0
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking sid v0.5.2
[INFO] [stderr]     Checking stretch v0.2.2
[INFO] [stderr]     Checking png v0.14.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking getrandom v0.1.15
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking glyph_brush_layout v0.1.9
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking backtrace v0.3.51
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]     Checking twox-hash v1.5.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking glyph_brush v0.6.3
[INFO] [stderr]    Compiling euclid_macros v0.1.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking nalgebra v0.18.1
[INFO] [stderr]     Checking glyph_brush v0.5.4
[INFO] [stderr]     Checking gfx_glyph v0.15.0
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking euclid v0.19.9
[INFO] [stderr]     Checking calloop v0.4.4
[INFO] [stderr]     Checking wayland-commons v0.23.6
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking lyon_geom v0.12.7
[INFO] [stderr]     Checking image v0.21.3
[INFO] [stderr]     Checking lyon_path v0.13.2
[INFO] [stderr]     Checking lyon_tessellation v0.13.5
[INFO] [stderr]     Checking gilrs-core v0.2.6
[INFO] [stderr]     Checking gilrs v0.7.4
[INFO] [stderr]     Checking smithay-client-toolkit v0.6.6
[INFO] [stderr]     Checking winit v0.22.2
[INFO] [stderr]     Checking glutin v0.24.1
[INFO] [stderr]     Checking jemallocator v0.3.2
[INFO] [stderr]     Checking bake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `deque_range` has been stable since 1.51.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(deque_range)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `deque_range` has been stable since 1.51.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![feature(deque_range)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]   --> src/search.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let cursor = self.inc_cursor();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `apple`
[INFO] [stdout]   --> src/search.rs:58:46
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn make_move(&mut self, tail: &Tail, apple: Position) -> Option<Direction> {
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_apple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PATH_COLOR` is never used
[INFO] [stdout]   --> src/game.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PATH_COLOR: Color = Color {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `speed`, `tick`, and `dump_index` are never read
[INFO] [stdout]   --> src/game.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SnakeGame {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     speed: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 60 |     tick: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     dump_index: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SnakeGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_path` is never used
[INFO] [stdout]    --> src/game.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl SnakeGame {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn draw_path(&self, path: &Tail, mesh: &mut Mesh) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `searcher` is never read
[INFO] [stdout]   --> src/search.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Solver {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 18 |     pub board: Board,
[INFO] [stdout] 19 |     pub searcher: Searcher,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent_id`, `id`, `g_cost`, and `h_cost` are never read
[INFO] [stdout]    --> src/search.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 130 |     pos: Position,
[INFO] [stdout] 131 |     parent_id: Option<usize>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 132 |     id: usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 133 |     g_cost: isize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 134 |     h_cost: isize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_link`, `cursor`, `open`, `closed`, `obstacles`, and `childs` are never read
[INFO] [stdout]    --> src/search.rs:185:5
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct Searcher {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 185 |     node_link: Vec<Node>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 186 |     cursor: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 187 |     open: BTreeSet<Node>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 188 |     closed: HashSet<Position>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 189 |     obstacles: HashSet<Position>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 190 |     childs: [Node; ROTATION_MATRIX.len()],
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Searcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_obs_cache`, `reset`, `a_star`, `backtrack_path`, `new_gen_childs`, and `gen_id` are never used
[INFO] [stdout]    --> src/search.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl Searcher {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn update_obs_cache(&mut self, obstacles: &VecDeque<Position>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn a_star(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     fn backtrack_path(&self, current: Node) -> Vec<Position> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_gen_childs(&mut self, current: &Node) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn gen_id(&mut self) -> usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mhtn_dist` is never used
[INFO] [stdout]    --> src/snake.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Position {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 121 |     pub const fn mhtn_dist(self, rhs: Self) -> isize {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `eaten` is never read
[INFO] [stdout]    --> src/snake.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Apple {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 160 |     pub pos: Position,
[INFO] [stdout] 161 |     pub eaten: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Apple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game.rs:350:15
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn layout(&mut self, window: &Window) -> Element<Self::Message> {
[INFO] [stdout]     |               ^^^^^^^^^                      ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn layout(&mut self, window: &Window) -> Element<'_, Self::Message> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `test` is declared but not used
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![feature(test)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]   --> src/search.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let cursor = self.inc_cursor();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `apple`
[INFO] [stdout]   --> src/search.rs:58:46
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn make_move(&mut self, tail: &Tail, apple: Position) -> Option<Direction> {
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_apple`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PATH_COLOR` is never used
[INFO] [stdout]   --> src/game.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const PATH_COLOR: Color = Color {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `speed`, `tick`, and `dump_index` are never read
[INFO] [stdout]   --> src/game.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct SnakeGame {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     speed: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 60 |     tick: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     dump_index: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SnakeGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_path` is never used
[INFO] [stdout]    --> src/game.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl SnakeGame {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn draw_path(&self, path: &Tail, mesh: &mut Mesh) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `searcher` is never read
[INFO] [stdout]   --> src/search.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Solver {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 18 |     pub board: Board,
[INFO] [stdout] 19 |     pub searcher: Searcher,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent_id`, `id`, `g_cost`, and `h_cost` are never read
[INFO] [stdout]    --> src/search.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 130 |     pos: Position,
[INFO] [stdout] 131 |     parent_id: Option<usize>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 132 |     id: usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 133 |     g_cost: isize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 134 |     h_cost: isize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `node_link`, `cursor`, `open`, `closed`, `obstacles`, and `childs` are never read
[INFO] [stdout]    --> src/search.rs:185:5
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct Searcher {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 185 |     node_link: Vec<Node>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 186 |     cursor: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 187 |     open: BTreeSet<Node>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 188 |     closed: HashSet<Position>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 189 |     obstacles: HashSet<Position>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 190 |     childs: [Node; ROTATION_MATRIX.len()],
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Searcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_obs_cache`, `reset`, `a_star`, `backtrack_path`, `new_gen_childs`, and `gen_id` are never used
[INFO] [stdout]    --> src/search.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl Searcher {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn update_obs_cache(&mut self, obstacles: &VecDeque<Position>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn a_star(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     fn backtrack_path(&self, current: Node) -> Vec<Position> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_gen_childs(&mut self, current: &Node) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn gen_id(&mut self) -> usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mhtn_dist` is never used
[INFO] [stdout]    --> src/snake.rs:121:18
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl Position {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 121 |     pub const fn mhtn_dist(self, rhs: Self) -> isize {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `eaten` is never read
[INFO] [stdout]    --> src/snake.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Apple {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 160 |     pub pos: Position,
[INFO] [stdout] 161 |     pub eaten: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Apple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game.rs:350:15
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn layout(&mut self, window: &Window) -> Element<Self::Message> {
[INFO] [stdout]     |               ^^^^^^^^^                      ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 350 |     fn layout(&mut self, window: &Window) -> Element<'_, Self::Message> {
[INFO] [stdout]     |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `test` is declared but not used
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![feature(test)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a", kill_on_drop: false }`
[INFO] [stdout] 2432d590ed7792c569c6839108a52c30ccc9a2d5331126065a5f3266532d143a
