[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] building Crypec/bake against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrypec%2Fbake" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Crypec/bake 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded instant v0.1.7 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded ahash v0.4.6 [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded backtrace v0.3.51 [INFO] [stderr] Downloaded gfx_glyph v0.15.0 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded image v0.21.3 [INFO] [stderr] Downloaded coffee v0.4.1 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded rayon v1.4.1 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded stretch v0.2.2 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85003fd8788436561432984cd5b6c780986fd9cb0f67b32672629e8a13214d26 [INFO] running `Command { std: "docker" "start" "-a" "85003fd8788436561432984cd5b6c780986fd9cb0f67b32672629e8a13214d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85003fd8788436561432984cd5b6c780986fd9cb0f67b32672629e8a13214d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85003fd8788436561432984cd5b6c780986fd9cb0f67b32672629e8a13214d26", kill_on_drop: false }` [INFO] [stdout] 85003fd8788436561432984cd5b6c780986fd9cb0f67b32672629e8a13214d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 3a234be024da61fabe99b2c96d187c1302fd738386c2e3687d0db4eccd4a358f [INFO] running `Command { std: "docker" "start" "-a" "3a234be024da61fabe99b2c96d187c1302fd738386c2e3687d0db4eccd4a358f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling coffee v0.4.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling stretch v0.2.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.51 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling gfx_glyph v0.15.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling 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: unused variable: `cursor` [INFO] [stdout] --> src/search.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let cursor = self.inc_cursor(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 54 | let _cursor = self.inc_cursor(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 54 - let cursor = self.inc_cursor(); [INFO] [stdout] 54 + let _ = self.inc_cursor(); [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 58 | pub fn make_move(&mut self, tail: &Tail, _apple: Position) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GAME_UPPER_BOUND` [INFO] [stdout] | [INFO] [stdout] 58 - pub fn make_move(&mut self, tail: &Tail, apple: Position) -> Option { [INFO] [stdout] 58 + pub fn make_move(&mut self, tail: &Tail, game::GAME_UPPER_BOUND: Position) -> Option { [INFO] [stdout] | [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, [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, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 186 | cursor: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 187 | open: BTreeSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | closed: HashSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 189 | obstacles: HashSet, [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) { [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 { [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 { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [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 3` [INFO] running `Command { std: "docker" "inspect" "3a234be024da61fabe99b2c96d187c1302fd738386c2e3687d0db4eccd4a358f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a234be024da61fabe99b2c96d187c1302fd738386c2e3687d0db4eccd4a358f", kill_on_drop: false }` [INFO] [stdout] 3a234be024da61fabe99b2c96d187c1302fd738386c2e3687d0db4eccd4a358f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 39ec5975099db61ace99f4233351652c2eb23c21e7eae9e921807d6e701bdfc3 [INFO] running `Command { std: "docker" "start" "-a" "39ec5975099db61ace99f4233351652c2eb23c21e7eae9e921807d6e701bdfc3", kill_on_drop: false }` [INFO] [stderr] Compiling 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: unused variable: `cursor` [INFO] [stdout] --> src/search.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let cursor = self.inc_cursor(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 54 | let _cursor = self.inc_cursor(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 54 - let cursor = self.inc_cursor(); [INFO] [stdout] 54 + let _ = self.inc_cursor(); [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 58 | pub fn make_move(&mut self, tail: &Tail, _apple: Position) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `GAME_UPPER_BOUND` [INFO] [stdout] | [INFO] [stdout] 58 - pub fn make_move(&mut self, tail: &Tail, apple: Position) -> Option { [INFO] [stdout] 58 + pub fn make_move(&mut self, tail: &Tail, game::GAME_UPPER_BOUND: Position) -> Option { [INFO] [stdout] | [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, [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, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 186 | cursor: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 187 | open: BTreeSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] 188 | closed: HashSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 189 | obstacles: HashSet, [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) { [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 { [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 { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [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 3` [INFO] running `Command { std: "docker" "inspect" "39ec5975099db61ace99f4233351652c2eb23c21e7eae9e921807d6e701bdfc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ec5975099db61ace99f4233351652c2eb23c21e7eae9e921807d6e701bdfc3", kill_on_drop: false }` [INFO] [stdout] 39ec5975099db61ace99f4233351652c2eb23c21e7eae9e921807d6e701bdfc3