[INFO] cloning repository https://github.com/Panadero1/goblins [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Panadero1/goblins" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fgoblins", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fgoblins'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b339c2adb1d585371b6339fa45a464647fa7db0b [INFO] checking Panadero1/goblins against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fgoblins" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Panadero1/goblins on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Panadero1/goblins [INFO] finished tweaking git repo https://github.com/Panadero1/goblins [INFO] tweaked toml for git repo https://github.com/Panadero1/goblins written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Panadero1/goblins 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded speedy2d v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa82870fc7b603fe4ba484609bf2c5283415ebc94224b28dab67964f97c23fae [INFO] running `Command { std: "docker" "start" "-a" "fa82870fc7b603fe4ba484609bf2c5283415ebc94224b28dab67964f97c23fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa82870fc7b603fe4ba484609bf2c5283415ebc94224b28dab67964f97c23fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa82870fc7b603fe4ba484609bf2c5283415ebc94224b28dab67964f97c23fae", kill_on_drop: false }` [INFO] [stdout] fa82870fc7b603fe4ba484609bf2c5283415ebc94224b28dab67964f97c23fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 465fe6b7532b11aa18dd41de02510a730b56b072fec06e6bbc90614a66e85dfa [INFO] running `Command { std: "docker" "start" "-a" "465fe6b7532b11aa18dd41de02510a730b56b072fec06e6bbc90614a66e85dfa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking speedy2d v1.1.1 [INFO] [stderr] Checking goblins v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use screen::RESOLUTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/goblin.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/player.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/entity/tile.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/tile.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use speedy2d::{Graphics2D, color::Color, image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, shape::Rectangle}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Weak` [INFO] [stdout] --> src/screen/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Weak, sync::atomic::{AtomicU32, Ordering}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `sync::atomic::Ordering` [INFO] [stdout] --> src/screen/title.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | sync::atomic::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, `shape::Rectangle` [INFO] [stdout] --> src/screen/title.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | shape::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/screen/title.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | screen::RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedirectHandler` [INFO] [stdout] --> src/screen/title.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use super::{RedirectHandler, Screen, game::GameScreen, options::OptionsScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::shape::Rectangle` [INFO] [stdout] --> src/screen/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use speedy2d::shape::Rectangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `sync::atomic::Ordering` [INFO] [stdout] --> src/screen/options.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | sync::atomic::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, `shape::Rectangle` [INFO] [stdout] --> src/screen/options.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | shape::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/screen/options.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | screen::RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RedirectHandler`, `game::GameScreen` [INFO] [stdout] --> src/screen/options.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use super::{RedirectHandler, Screen, game::GameScreen, title::TitleScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ui/button.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageDataType` [INFO] [stdout] --> src/utility/animation.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageHandle}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use screen::RESOLUTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/goblin.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/player.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/entity/tile.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageDataType`, `ImageHandle` [INFO] [stdout] --> src/entity/tile.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use speedy2d::{Graphics2D, color::Color, image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, shape::Rectangle}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Weak` [INFO] [stdout] --> src/screen/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Weak, sync::atomic::{AtomicU32, Ordering}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `sync::atomic::Ordering` [INFO] [stdout] --> src/screen/title.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | sync::atomic::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, `shape::Rectangle` [INFO] [stdout] --> src/screen/title.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | shape::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/screen/title.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | screen::RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RedirectHandler` [INFO] [stdout] --> src/screen/title.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use super::{RedirectHandler, Screen, game::GameScreen, options::OptionsScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::shape::Rectangle` [INFO] [stdout] --> src/screen/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use speedy2d::shape::Rectangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `sync::atomic::Ordering` [INFO] [stdout] --> src/screen/options.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | sync::atomic::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, `shape::Rectangle` [INFO] [stdout] --> src/screen/options.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | shape::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `screen::RESOLUTION` [INFO] [stdout] --> src/screen/options.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | screen::RESOLUTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RedirectHandler`, `game::GameScreen` [INFO] [stdout] --> src/screen/options.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use super::{RedirectHandler, Screen, game::GameScreen, title::TitleScreen}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/ui/button.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageDataType` [INFO] [stdout] --> src/utility/animation.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | image::{ImageDataType, ImageHandle}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_name` [INFO] [stdout] --> src/entity/tile.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_name` [INFO] [stdout] --> src/entity/tile.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn intercept_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector` [INFO] [stdout] --> src/entity/tile.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn accelerate(&mut self, vector: GamePos) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_name` [INFO] [stdout] --> src/entity/tile.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn set_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_name` [INFO] [stdout] --> src/entity/tile.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn intercept_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector` [INFO] [stdout] --> src/entity/tile.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn accelerate(&mut self, vector: GamePos) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/screen/title.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/screen/title.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/screen/title.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/screen/options.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/screen/title.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/screen/options.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/screen/options.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/screen/title.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/title.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/screen/title.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/screen/options.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/screen/options.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/screen/options.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/screen/options.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/screen/options.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/options.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moove` is never used [INFO] [stdout] --> src/entity/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 10 | fn draw(&mut self, graphics: &mut Graphics2D, camera: &Camera); [INFO] [stdout] 11 | fn moove(&mut self, change_pos: (f32, f32)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/entity/tile.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> src/screen/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | velocity: GamePos, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moove` is never used [INFO] [stdout] --> src/screen/camera.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn moove(&mut self, change_pos: (f32, f32)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `abs` is never used [INFO] [stdout] --> src/world/space.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl GamePos { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn abs(&self) -> GamePos { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moove` is never used [INFO] [stdout] --> src/entity/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 10 | fn draw(&mut self, graphics: &mut Graphics2D, camera: &Camera); [INFO] [stdout] 11 | fn moove(&mut self, change_pos: (f32, f32)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/entity/tile.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> src/screen/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | velocity: GamePos, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moove` is never used [INFO] [stdout] --> src/screen/camera.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn moove(&mut self, change_pos: (f32, f32)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `abs` is never used [INFO] [stdout] --> src/world/space.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl GamePos { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn abs(&self) -> GamePos { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.56s [INFO] running `Command { std: "docker" "inspect" "465fe6b7532b11aa18dd41de02510a730b56b072fec06e6bbc90614a66e85dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465fe6b7532b11aa18dd41de02510a730b56b072fec06e6bbc90614a66e85dfa", kill_on_drop: false }` [INFO] [stdout] 465fe6b7532b11aa18dd41de02510a730b56b072fec06e6bbc90614a66e85dfa