[INFO] cloning repository https://github.com/HarrisDePerceptron/space-invader-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarrisDePerceptron/space-invader-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Fspace-invader-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Fspace-invader-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb691a7a8d28c15d19313868767f19afdd039caa [INFO] building HarrisDePerceptron/space-invader-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrisDePerceptron%2Fspace-invader-rust" "/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/HarrisDePerceptron/space-invader-rust [INFO] finished tweaking git repo https://github.com/HarrisDePerceptron/space-invader-rust [INFO] tweaked toml for git repo https://github.com/HarrisDePerceptron/space-invader-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HarrisDePerceptron/space-invader-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HarrisDePerceptron/space-invader-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.57 [INFO] [stderr] Downloaded num-complex v0.4.5 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded enable-ansi-support v0.2.1 [INFO] [stderr] Downloaded windows-result v0.1.0 [INFO] [stderr] Downloaded system-deps v6.2.1 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded cfonts v1.1.4 [INFO] [stderr] Downloaded toml_edit v0.22.8 [INFO] [stderr] Downloaded imageproc v0.24.0 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] [stderr] Downloaded wide v0.7.15 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded bindgen v0.69.4 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded alsa v0.9.0 [INFO] [stderr] Downloaded cfg-expr v0.15.7 [INFO] [stderr] Downloaded syn v2.0.52 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.57 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded nalgebra v0.32.4 [INFO] [stderr] Downloaded windows-sys v0.42.0 [INFO] [stderr] Downloaded image v0.25.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af923f1f48f9dcaabc65174c3fe8de52a704c0a2a9d52469ae768168cafa281b [INFO] running `Command { std: "docker" "start" "-a" "af923f1f48f9dcaabc65174c3fe8de52a704c0a2a9d52469ae768168cafa281b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af923f1f48f9dcaabc65174c3fe8de52a704c0a2a9d52469ae768168cafa281b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af923f1f48f9dcaabc65174c3fe8de52a704c0a2a9d52469ae768168cafa281b", kill_on_drop: false }` [INFO] [stdout] af923f1f48f9dcaabc65174c3fe8de52a704c0a2a9d52469ae768168cafa281b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9def1854eac8f2d016966b3031ee2231c18e8fb4d4d41a6d6f20d3f7185f7bbd [INFO] running `Command { std: "docker" "start" "-a" "9def1854eac8f2d016966b3031ee2231c18e8fb4d4d41a6d6f20d3f7185f7bbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wide v0.7.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling enable-ansi-support v0.2.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling nalgebra v0.32.4 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling cfonts v1.1.4 [INFO] [stderr] Compiling image v0.25.0 [INFO] [stderr] Compiling imageproc v0.24.0 [INFO] [stderr] Compiling invader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/audio.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> src/audio.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enemy::{self, SmallAlien}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameAudio` [INFO] [stdout] --> src/weapon.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | audio::{GameAudio, GameObjectSound}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutableCommand` [INFO] [stdout] --> src/renderer.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crossterm::{cursor, execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `Point` [INFO] [stdout] --> src/game_buffer.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/game_buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/game_buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutableCommand` and `execute` [INFO] [stdout] --> src/keyboard.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::{execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/keyboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container` and `Point` [INFO] [stdout] --> src/keyboard.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_buffer::GameBuffer` [INFO] [stdout] --> src/keyboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::game_buffer::GameBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/ship.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/ship.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GrayImage` [INFO] [stdout] --> src/text_processing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image::GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/text_processing.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_width` [INFO] [stdout] --> src/text_processing.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let target_width = canvas_container.get_width() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_height` [INFO] [stdout] --> src/text_processing.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let target_height = canvas_container.get_height() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increase_life` is never used [INFO] [stdout] --> src/game.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn increase_life(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_window_size` is never read [INFO] [stdout] --> src/renderer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TerminalRenderer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | window_container: Container, [INFO] [stdout] 17 | prev_window_size: Container, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ship_position` is never read [INFO] [stdout] --> src/keyboard.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyboardHandler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ship_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `fire_sound` are never read [INFO] [stdout] --> src/ship.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ship { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | gobj: GameObject, [INFO] [stdout] 12 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fire_sound: GameObjectSound, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container`, `Point`, and `audio` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | audio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | container::{Container, Point}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut gb = GameBuffer::new(&game); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut key_handler = KeyboardHandler::new(&mut tr); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `game_condition` is never read [INFO] [stdout] --> src/main.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut game_condition = GameCondition::Ended; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_game` is never read [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut last_game = GameCondition::Ended; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_lives` [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let max_lives = self.game.get_max_lives(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lives` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_toogle` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct GameManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | raw_toogle: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "9def1854eac8f2d016966b3031ee2231c18e8fb4d4d41a6d6f20d3f7185f7bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9def1854eac8f2d016966b3031ee2231c18e8fb4d4d41a6d6f20d3f7185f7bbd", kill_on_drop: false }` [INFO] [stdout] 9def1854eac8f2d016966b3031ee2231c18e8fb4d4d41a6d6f20d3f7185f7bbd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff7c44e1a2b52e4a4989b48b40478c2bd2cd3296eb4703dfbf3f9841a22d8700 [INFO] running `Command { std: "docker" "start" "-a" "ff7c44e1a2b52e4a4989b48b40478c2bd2cd3296eb4703dfbf3f9841a22d8700", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/audio.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> src/audio.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enemy::{self, SmallAlien}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameAudio` [INFO] [stdout] --> src/weapon.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | audio::{GameAudio, GameObjectSound}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutableCommand` [INFO] [stdout] --> src/renderer.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crossterm::{cursor, execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `Point` [INFO] [stdout] --> src/game_buffer.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/game_buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/game_buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutableCommand` and `execute` [INFO] [stdout] --> src/keyboard.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::{execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/keyboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container` and `Point` [INFO] [stdout] --> src/keyboard.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_buffer::GameBuffer` [INFO] [stdout] --> src/keyboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::game_buffer::GameBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/ship.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/ship.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling invader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::GrayImage` [INFO] [stdout] --> src/text_processing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image::GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/text_processing.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_width` [INFO] [stdout] --> src/text_processing.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let target_width = canvas_container.get_width() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_height` [INFO] [stdout] --> src/text_processing.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let target_height = canvas_container.get_height() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increase_life` is never used [INFO] [stdout] --> src/game.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn increase_life(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_window_size` is never read [INFO] [stdout] --> src/renderer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TerminalRenderer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | window_container: Container, [INFO] [stdout] 17 | prev_window_size: Container, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ship_position` is never read [INFO] [stdout] --> src/keyboard.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyboardHandler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ship_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `fire_sound` are never read [INFO] [stdout] --> src/ship.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ship { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | gobj: GameObject, [INFO] [stdout] 12 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fire_sound: GameObjectSound, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container`, `Point`, and `audio` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | audio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | container::{Container, Point}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut gb = GameBuffer::new(&game); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut key_handler = KeyboardHandler::new(&mut tr); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source::Source` [INFO] [stdout] --> src/audio.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{source::Source, Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `game_condition` is never read [INFO] [stdout] --> src/main.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut game_condition = GameCondition::Ended; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow as error` [INFO] [stdout] --> src/audio.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{anyhow as error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::enemy::{self, SmallAlien}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameAudio` [INFO] [stdout] --> src/weapon.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | audio::{GameAudio, GameObjectSound}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutableCommand` [INFO] [stdout] --> src/renderer.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crossterm::{cursor, execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `Point` [INFO] [stdout] --> src/game_buffer.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/game_buffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/game_buffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutableCommand` and `execute` [INFO] [stdout] --> src/keyboard.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::{execute, ExecutableCommand}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::audio` [INFO] [stdout] --> src/keyboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::audio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Container` and `Point` [INFO] [stdout] --> src/keyboard.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::container::{Container, Direction, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_buffer::GameBuffer` [INFO] [stdout] --> src/keyboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::game_buffer::GameBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::weapon::Bullet` [INFO] [stdout] --> src/ship.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::weapon::Bullet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_game` is never read [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let mut last_game = GameCondition::Ended; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/ship.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_lives` [INFO] [stdout] --> src/main.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let max_lives = self.game.get_max_lives(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lives` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GrayImage` [INFO] [stdout] --> src/text_processing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use image::GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_toogle` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct GameManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | raw_toogle: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/text_processing.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/text_processing.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let (w, h) = imageproc::drawing::text_size(scale, &font, text); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_width` [INFO] [stdout] --> src/text_processing.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let target_width = canvas_container.get_width() as u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_height` [INFO] [stdout] --> src/text_processing.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let target_height = canvas_container.get_height() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `increase_life` is never used [INFO] [stdout] --> src/game.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn increase_life(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_window_size` is never read [INFO] [stdout] --> src/renderer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TerminalRenderer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 16 | window_container: Container, [INFO] [stdout] 17 | prev_window_size: Container, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ship_position` is never read [INFO] [stdout] --> src/keyboard.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyboardHandler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | ship_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `fire_sound` are never read [INFO] [stdout] --> src/ship.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Ship { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | gobj: GameObject, [INFO] [stdout] 12 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fire_sound: GameObjectSound, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "ff7c44e1a2b52e4a4989b48b40478c2bd2cd3296eb4703dfbf3f9841a22d8700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7c44e1a2b52e4a4989b48b40478c2bd2cd3296eb4703dfbf3f9841a22d8700", kill_on_drop: false }` [INFO] [stdout] ff7c44e1a2b52e4a4989b48b40478c2bd2cd3296eb4703dfbf3f9841a22d8700