[INFO] cloning repository https://github.com/yzhs/sokoban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yzhs/sokoban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70e98e14a0304cc565dd20ed2e28a6f93de80fb0 [INFO] checking yzhs/sokoban against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yzhs/sokoban on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yzhs/sokoban [INFO] finished tweaking git repo https://github.com/yzhs/sokoban [INFO] tweaked toml for git repo https://github.com/yzhs/sokoban written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yzhs/sokoban 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded natord v1.0.9 [INFO] [stderr] Downloaded colog v1.2.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.2 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded anstream v0.6.5 [INFO] [stderr] Downloaded colored v2.0.4 [INFO] [stderr] Downloaded clap_builder v4.4.14 [INFO] [stderr] Downloaded clap v4.4.14 [INFO] [stderr] Downloaded exr v1.7.0 [INFO] [stderr] Downloaded quick-xml v0.23.1 [INFO] [stderr] Downloaded pin-project v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8b35bebdbbd849befc11d8fbff3cfe5b68609add3c0fe918ba534e95da053d3 [INFO] running `Command { std: "docker" "start" "-a" "a8b35bebdbbd849befc11d8fbff3cfe5b68609add3c0fe918ba534e95da053d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b35bebdbbd849befc11d8fbff3cfe5b68609add3c0fe918ba534e95da053d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b35bebdbbd849befc11d8fbff3cfe5b68609add3c0fe918ba534e95da053d3", kill_on_drop: false }` [INFO] [stdout] a8b35bebdbbd849befc11d8fbff3cfe5b68609add3c0fe918ba534e95da053d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45386a78bf744e9371f7be983405c1d091add67a91d2f78b1e9007fb5aa0e2a8 [INFO] running `Command { std: "docker" "start" "-a" "45386a78bf744e9371f7be983405c1d091add67a91d2f78b1e9007fb5aa0e2a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking clap_builder v4.4.14 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking quick-xml v0.23.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking natord v1.0.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking clap v4.4.14 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking colog v1.2.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking smithay-client-toolkit v0.16.0 [INFO] [stderr] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking glutin v0.29.1 [INFO] [stderr] Checking sokoban v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Event` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `Event` is already imported here [INFO] [stdout] 5 | use crate::direction::*; [INFO] [stdout] 6 | use crate::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Move` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `Move` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::move_::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Event` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `Event` is already imported here [INFO] [stdout] 5 | use crate::direction::*; [INFO] [stdout] 6 | use crate::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Move` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::current_level::*; [INFO] [stdout] | ----------------------- the item `Move` is already imported here [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::move_::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/current_level/pathfinding.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `Position` is already imported here [INFO] [stdout] 206 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Receiver` is imported redundantly [INFO] [stdout] --> src/game.rs:449:36 [INFO] [stdout] | [INFO] [stdout] 448 | use super::*; [INFO] [stdout] | -------- the item `Receiver` is already imported here [INFO] [stdout] 449 | use std::sync::mpsc::{channel, Receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn move_worker(&mut self, direction: Direction) -> Event { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn move_worker(&mut self, direction: Direction) -> Event { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/gui/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::{self, backend::Facade, texture::Texture2d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate glium; [INFO] [stdout] | ------------------- the item `glium` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/gui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate glium; [INFO] [stdout] | ------------------- the item `glium` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/gui/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use glium::{self, backend::Facade, texture::Texture2d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate glium; [INFO] [stdout] | ------------------- the item `glium` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glium` is imported redundantly [INFO] [stdout] --> src/gui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate glium; [INFO] [stdout] | ------------------- the item `glium` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/gui/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let text = self.statistics_text(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/gui/mod.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | fn draw_statistics_overlay(&mut self, target: &mut S) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/gui/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let text = self.statistics_text(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/gui/mod.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | fn draw_statistics_overlay(&mut self, target: &mut S) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control_flow` [INFO] [stdout] --> src/main.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control_flow` [INFO] [stdout] --> src/main.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Gui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | fn end_of_level_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_kind` is never read [INFO] [stdout] --> src/gui/sprite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tile_kind: TileKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Gui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | fn end_of_level_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_kind` is never read [INFO] [stdout] --> src/gui/sprite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tile_kind: TileKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.96s [INFO] running `Command { std: "docker" "inspect" "45386a78bf744e9371f7be983405c1d091add67a91d2f78b1e9007fb5aa0e2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45386a78bf744e9371f7be983405c1d091add67a91d2f78b1e9007fb5aa0e2a8", kill_on_drop: false }` [INFO] [stdout] 45386a78bf744e9371f7be983405c1d091add67a91d2f78b1e9007fb5aa0e2a8