[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] testing Panadero1/goblins against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fgoblins" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Panadero1/goblins on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.76 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.76 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.76 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.76 [INFO] [stderr] Downloaded js-sys v0.3.53 [INFO] [stderr] Downloaded speedy2d v1.1.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.76 [INFO] [stderr] Downloaded web-sys v0.3.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 954c168c7db6cdcdcbdaec441622793f35f5d0dfc689f2a4728d4c0f4c1a3589 [INFO] running `Command { std: "docker" "start" "-a" "954c168c7db6cdcdcbdaec441622793f35f5d0dfc689f2a4728d4c0f4c1a3589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "954c168c7db6cdcdcbdaec441622793f35f5d0dfc689f2a4728d4c0f4c1a3589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954c168c7db6cdcdcbdaec441622793f35f5d0dfc689f2a4728d4c0f4c1a3589", kill_on_drop: false }` [INFO] [stdout] 954c168c7db6cdcdcbdaec441622793f35f5d0dfc689f2a4728d4c0f4c1a3589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f2847828f9458fb64805b7a83980d9d920f2d72b319f9d334eb4e2728c91f870 [INFO] running `Command { std: "docker" "start" "-a" "f2847828f9458fb64805b7a83980d9d920f2d72b319f9d334eb4e2728c91f870", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [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] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling speedy2d v1.1.1 [INFO] [stderr] Compiling 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` and `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` and `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` and `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` and `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`, and `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` and `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`, and `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` and `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: `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: `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] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.96s [INFO] running `Command { std: "docker" "inspect" "f2847828f9458fb64805b7a83980d9d920f2d72b319f9d334eb4e2728c91f870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2847828f9458fb64805b7a83980d9d920f2d72b319f9d334eb4e2728c91f870", kill_on_drop: false }` [INFO] [stdout] f2847828f9458fb64805b7a83980d9d920f2d72b319f9d334eb4e2728c91f870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4ff6b52ab08c5631291d53d78f75d3e35ecb3f87180e79d2fbb7052fc5b47c9 [INFO] running `Command { std: "docker" "start" "-a" "b4ff6b52ab08c5631291d53d78f75d3e35ecb3f87180e79d2fbb7052fc5b47c9", kill_on_drop: false }` [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` and `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` and `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` and `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` and `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`, and `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` and `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] [stderr] Compiling goblins v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, and `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` and `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: `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: `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] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: 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` and `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` and `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` and `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` and `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`, and `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` and `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`, and `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` and `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: `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: `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] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "b4ff6b52ab08c5631291d53d78f75d3e35ecb3f87180e79d2fbb7052fc5b47c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ff6b52ab08c5631291d53d78f75d3e35ecb3f87180e79d2fbb7052fc5b47c9", kill_on_drop: false }` [INFO] [stdout] b4ff6b52ab08c5631291d53d78f75d3e35ecb3f87180e79d2fbb7052fc5b47c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e4542fd941101bd1b2ee51820a0ccea7e89472064d37081df49f8db5ae0b49d3 [INFO] running `Command { std: "docker" "start" "-a" "e4542fd941101bd1b2ee51820a0ccea7e89472064d37081df49f8db5ae0b49d3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::atomic::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `screen::RESOLUTION` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use screen::RESOLUTION; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageDataType` and `ImageHandle` [INFO] [stderr] --> src/entity/goblin.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageDataType` and `ImageHandle` [INFO] [stderr] --> src/entity/player.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cmp::Ordering` [INFO] [stderr] --> src/entity/tile.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{cmp::Ordering, collections::HashMap}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageDataType` and `ImageHandle` [INFO] [stderr] --> src/entity/tile.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | use speedy2d::{Graphics2D, color::Color, image::{ImageDataType, ImageFileFormat, ImageHandle, ImageSmoothingMode}, shape::Rectangle}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rc::Weak` [INFO] [stderr] --> src/screen/mod.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{rc::Weak, sync::atomic::{AtomicU32, Ordering}}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashSet` and `sync::atomic::Ordering` [INFO] [stderr] --> src/screen/title.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{HashMap, HashSet}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 3 | sync::atomic::Ordering, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, and `shape::Rectangle` [INFO] [stderr] --> src/screen/title.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 9 | shape::Rectangle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `screen::RESOLUTION` [INFO] [stderr] --> src/screen/title.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | screen::RESOLUTION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RedirectHandler` [INFO] [stderr] --> src/screen/title.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use super::{RedirectHandler, Screen, game::GameScreen, options::OptionsScreen}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `speedy2d::shape::Rectangle` [INFO] [stderr] --> src/screen/camera.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use speedy2d::shape::Rectangle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashSet` and `sync::atomic::Ordering` [INFO] [stderr] --> src/screen/options.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | collections::{HashMap, HashSet}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 3 | sync::atomic::Ordering, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TextAlignment`, `TextLayout`, `TextOptions`, `VirtualKeyCode`, and `shape::Rectangle` [INFO] [stderr] --> src/screen/options.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | font::{Font, TextAlignment, TextLayout, TextOptions}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 9 | shape::Rectangle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | window::{MouseButton, UserEventSender, VirtualKeyCode, WindowHandler, WindowHelper}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `screen::RESOLUTION` [INFO] [stderr] --> src/screen/options.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | screen::RESOLUTION, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RedirectHandler` and `game::GameScreen` [INFO] [stderr] --> src/screen/options.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use super::{RedirectHandler, Screen, game::GameScreen, title::TitleScreen}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/ui/button.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ImageDataType` [INFO] [stderr] --> src/utility/animation.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | image::{ImageDataType, ImageHandle}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `anim_name` [INFO] [stderr] --> src/entity/tile.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | fn set_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `anim_name` [INFO] [stderr] --> src/entity/tile.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 44 | fn intercept_anim(&mut self, anim_name: &str) -> Result<(), AnimationSelectError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vector` [INFO] [stderr] --> src/entity/tile.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | fn accelerate(&mut self, vector: GamePos) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/title.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/screen/title.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/screen/title.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:61:40 [INFO] [stderr] | [INFO] [stderr] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/screen/title.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/options.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/screen/options.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/screen/options.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:61:40 [INFO] [stderr] | [INFO] [stderr] 61 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/screen/options.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: method `moove` is never used [INFO] [stderr] --> src/entity/mod.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait Entity { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] 10 | fn draw(&mut self, graphics: &mut Graphics2D, camera: &Camera); [INFO] [stderr] 11 | fn moove(&mut self, change_pos: (f32, f32)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Direction` is never used [INFO] [stderr] --> src/entity/tile.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | enum Direction { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `velocity` is never read [INFO] [stderr] --> src/screen/camera.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | velocity: GamePos, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `moove` is never used [INFO] [stderr] --> src/screen/camera.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Camera { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn moove(&mut self, change_pos: (f32, f32)) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `abs` is never used [INFO] [stderr] --> src/world/space.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl GamePos { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn abs(&self) -> GamePos { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `goblins` (lib) generated 45 warnings (run `cargo fix --lib -p goblins` to apply 18 suggestions) [INFO] [stderr] warning: `goblins` (lib test) generated 45 warnings (45 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/goblins-513c3f5ad916621d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/goblins-c3b12710db4bf11c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4542fd941101bd1b2ee51820a0ccea7e89472064d37081df49f8db5ae0b49d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4542fd941101bd1b2ee51820a0ccea7e89472064d37081df49f8db5ae0b49d3", kill_on_drop: false }` [INFO] [stdout] e4542fd941101bd1b2ee51820a0ccea7e89472064d37081df49f8db5ae0b49d3