[INFO] cloning repository https://github.com/iptq/wedge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iptq/wedge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fwedge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fwedge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d63beb5152d8ad362abf6a8bbb3ee362b7463fac [INFO] checking iptq/wedge against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiptq%2Fwedge" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iptq/wedge on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iptq/wedge [INFO] finished tweaking git repo https://github.com/iptq/wedge [INFO] tweaked toml for git repo https://github.com/iptq/wedge written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate git repo https://github.com/iptq/wedge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0216f62d7cf31bd6a4c5869a52c1cc71762cbc61fb6bdf11c8f7288a21a148a [INFO] running `Command { std: "docker" "start" "-a" "c0216f62d7cf31bd6a4c5869a52c1cc71762cbc61fb6bdf11c8f7288a21a148a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0216f62d7cf31bd6a4c5869a52c1cc71762cbc61fb6bdf11c8f7288a21a148a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0216f62d7cf31bd6a4c5869a52c1cc71762cbc61fb6bdf11c8f7288a21a148a", kill_on_drop: false }` [INFO] [stdout] c0216f62d7cf31bd6a4c5869a52c1cc71762cbc61fb6bdf11c8f7288a21a148a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a24a1b70041303b3fcde403c21b2f19dc123caa31e8709367fe02597405a43df [INFO] running `Command { std: "docker" "start" "-a" "a24a1b70041303b3fcde403c21b2f19dc123caa31e8709367fe02597405a43df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.48 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling bumpalo v2.5.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.48 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking nalgebra v0.18.0 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.48 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking nalgebra-glm v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.48 [INFO] [stderr] Checking json5 v0.2.5 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.48 [INFO] [stderr] Checking image v0.21.2 [INFO] [stderr] Checking js-sys v0.3.25 [INFO] [stderr] Compiling web-sys v0.3.25 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.2 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking wedge_core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/animations.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AnimationFn = Box BlockOffsets>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(MoveResult, BlockOffsets, f32) -> BlockOffsets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> core/src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualKeyCode` [INFO] [stdout] --> core/src/game.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::glutin::{ElementState, Event, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::animations::AnimationState` [INFO] [stdout] --> core/src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::animations::AnimationState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Board`, `PushDir` [INFO] [stdout] --> core/src/game.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::enums::{Board, PushDir}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::level::Level` [INFO] [stdout] --> core/src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::level::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> core/src/screens/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/screens/mod.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | let mut stack = Vec::>::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/animations.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub type AnimationFn = Box BlockOffsets>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(MoveResult, BlockOffsets, f32) -> BlockOffsets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> core/src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualKeyCode` [INFO] [stdout] --> core/src/game.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::glutin::{ElementState, Event, VirtualKeyCode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::animations::AnimationState` [INFO] [stdout] --> core/src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::animations::AnimationState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Board`, `PushDir` [INFO] [stdout] --> core/src/game.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::enums::{Board, PushDir}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::level::Level` [INFO] [stdout] --> core/src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::level::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> core/src/screens/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/screens/mod.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | let mut stack = Vec::>::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Screen` [INFO] [stdout] --> core/src/game.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::screens::{MenuScreen, Screen, ScreenStack}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let delta = now - prev; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> core/src/lib.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_with(platform: P) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> core/src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let window = gl_window.window(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/screens/mod.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymap` [INFO] [stdout] --> core/src/screens/mod.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> core/src/screens/mod.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn render(&self, renderer: &mut Renderer) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> core/src/screens/mod.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | ScreenAction::Pop(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> core/src/screens/editor.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn render(&self, renderer: &mut Renderer) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/screens/menu.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut closed = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut prev = Instant::now(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Screen` [INFO] [stdout] --> core/src/game.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::screens::{MenuScreen, Screen, ScreenStack}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let delta = now - prev; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> core/src/lib.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn run_with(platform: P) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> core/src/lib.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let window = gl_window.window(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/screens/mod.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymap` [INFO] [stdout] --> core/src/screens/mod.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> core/src/screens/mod.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn render(&self, renderer: &mut Renderer) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> core/src/screens/mod.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | ScreenAction::Pop(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `renderer` [INFO] [stdout] --> core/src/screens/editor.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn render(&self, renderer: &mut Renderer) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_renderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/screens/menu.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn update(&mut self, delta: Duration, keymap: &Keymap) -> ScreenAction { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut closed = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut prev = Instant::now(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `move_stack` [INFO] [stdout] --> core/src/level/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | move_stack: VecDeque<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> core/src/screens/editor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | level: LevelData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEGMENT_VERT` [INFO] [stdout] --> core/src/game.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SEGMENT_VERT: &str = include_str!("../shaders/segment.vert"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEGMENT_FRAG` [INFO] [stdout] --> core/src/game.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SEGMENT_FRAG: &str = include_str!("../shaders/segment.frag"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_VERT` [INFO] [stdout] --> core/src/game.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const CELL_VERT: &str = include_str!("../shaders/cell.vert"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_FRAG` [INFO] [stdout] --> core/src/game.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const CELL_FRAG: &str = include_str!("../shaders/cell.frag"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEGMENT_IMAGE` [INFO] [stdout] --> core/src/game.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const SEGMENT_IMAGE: &[u8] = include_bytes!("../textures/segment.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Game` [INFO] [stdout] --> core/src/game.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Game<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/game.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(display: &'a Display) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_event` [INFO] [stdout] --> core/src/game.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn handle_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_renderer` [INFO] [stdout] --> core/src/game.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_renderer<'b>(&self, target: &'b mut Frame) -> Renderer<'b, '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> core/src/game.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update(&mut self, delta: Duration) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> core/src/game.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn render(&self, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/keymap.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pressed` [INFO] [stdout] --> core/src/keymap.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pressed(&mut self, code: VirtualKeyCode) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `release` [INFO] [stdout] --> core/src/keymap.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn release(&mut self, code: VirtualKeyCode) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `move_stack` [INFO] [stdout] --> core/src/level/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | move_stack: VecDeque<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/renderer.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &'b Game, target: &'a mut Frame) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textures` [INFO] [stdout] --> core/src/resources.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | textures: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `shaders` [INFO] [stdout] --> core/src/resources.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shaders: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_image_from_memory` [INFO] [stdout] --> core/src/resources.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn load_image_from_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_image` [INFO] [stdout] --> core/src/resources.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn load_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_texture` [INFO] [stdout] --> core/src/resources.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_texture(&self, name: impl AsRef) -> Option<&Texture2d> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_shader` [INFO] [stdout] --> core/src/resources.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn load_shader( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shader` [INFO] [stdout] --> core/src/resources.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_shader(&self, name: impl AsRef) -> Option<&Program> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> core/src/screens/editor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | level: LevelData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/src/screens/menu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new() -> MenuScreen { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScreenStack` [INFO] [stdout] --> core/src/screens/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ScreenStack(Vec>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with` [INFO] [stdout] --> core/src/screens/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with(screen: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> core/src/screens/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn top(&self) -> impl AsRef + '_ { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top_mut` [INFO] [stdout] --> core/src/screens/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn top_mut(&mut self) -> impl AsMut + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> core/src/screens/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn update(&mut self, delta: Duration, keymap: &Keymap) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> core/src/screens/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn render(&self, renderer: &mut Renderer) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GAME_WIDTH` [INFO] [stdout] --> core/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const GAME_WIDTH: u32 = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GAME_HEIGHT` [INFO] [stdout] --> core/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const GAME_HEIGHT: u32 = 768; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> core/src/lib.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wedge_desktop v0.1.0 (/opt/rustwide/workdir/desktop) [INFO] [stderr] Checking wedge_web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "a24a1b70041303b3fcde403c21b2f19dc123caa31e8709367fe02597405a43df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a24a1b70041303b3fcde403c21b2f19dc123caa31e8709367fe02597405a43df", kill_on_drop: false }` [INFO] [stdout] a24a1b70041303b3fcde403c21b2f19dc123caa31e8709367fe02597405a43df