[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrypec%2Fbake" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Crypec/bake 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded coffee v0.4.1 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.68 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.68 [INFO] [stderr] Downloaded serde_json v1.0.58 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded backtrace v0.3.51 [INFO] [stderr] Downloaded serde v1.0.116 [INFO] [stderr] Downloaded image v0.21.3 [INFO] [stderr] Downloaded libm v0.1.4 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded rayon v1.4.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.68 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.68 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] [stderr] Downloaded stretch v0.2.2 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded gfx_glyph v0.15.0 [INFO] [stderr] Downloaded twox-hash v1.5.0 [INFO] [stderr] Downloaded android_log-sys v0.1.2 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded instant v0.1.7 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] [stderr] Downloaded libc v0.2.79 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded ahash v0.4.6 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 63486bcdf15bf6ba9ee0c06edaca65328b0e31abcc00be3552ceaf277b06ea7d [INFO] running `Command { std: "docker" "start" "-a" "63486bcdf15bf6ba9ee0c06edaca65328b0e31abcc00be3552ceaf277b06ea7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63486bcdf15bf6ba9ee0c06edaca65328b0e31abcc00be3552ceaf277b06ea7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63486bcdf15bf6ba9ee0c06edaca65328b0e31abcc00be3552ceaf277b06ea7d", kill_on_drop: false }` [INFO] [stdout] 63486bcdf15bf6ba9ee0c06edaca65328b0e31abcc00be3552ceaf277b06ea7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 604a867ca40a443e4be5cba6474eb65a9b5041a36424550b72e1fe9c60ca3fa2 [INFO] running `Command { std: "docker" "start" "-a" "604a867ca40a443e4be5cba6474eb65a9b5041a36424550b72e1fe9c60ca3fa2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [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 gl_generator v0.14.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling coffee v0.4.1 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling stretch v0.2.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling backtrace v0.3.51 [INFO] [stderr] Compiling gfx_glyph v0.15.0 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling gilrs v0.7.4 [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 21s [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 4` [INFO] running `Command { std: "docker" "inspect" "604a867ca40a443e4be5cba6474eb65a9b5041a36424550b72e1fe9c60ca3fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604a867ca40a443e4be5cba6474eb65a9b5041a36424550b72e1fe9c60ca3fa2", kill_on_drop: false }` [INFO] [stdout] 604a867ca40a443e4be5cba6474eb65a9b5041a36424550b72e1fe9c60ca3fa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 418a69d08adbc13af743a922652b2fc209d07bc1322d2b1dd08e2d2c63b67aa6 [INFO] running `Command { std: "docker" "start" "-a" "418a69d08adbc13af743a922652b2fc209d07bc1322d2b1dd08e2d2c63b67aa6", 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.29s [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 4` [INFO] running `Command { std: "docker" "inspect" "418a69d08adbc13af743a922652b2fc209d07bc1322d2b1dd08e2d2c63b67aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418a69d08adbc13af743a922652b2fc209d07bc1322d2b1dd08e2d2c63b67aa6", kill_on_drop: false }` [INFO] [stdout] 418a69d08adbc13af743a922652b2fc209d07bc1322d2b1dd08e2d2c63b67aa6