[INFO] cloning repository https://github.com/Bogay/nycu-gdc-game-jam-0th [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bogay/nycu-gdc-game-jam-0th" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fnycu-gdc-game-jam-0th", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fnycu-gdc-game-jam-0th'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55e4532e9c34dcaf6c5009d8bd2ee92782ca14ac [INFO] testing Bogay/nycu-gdc-game-jam-0th against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBogay%2Fnycu-gdc-game-jam-0th" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bogay/nycu-gdc-game-jam-0th [INFO] finished tweaking git repo https://github.com/Bogay/nycu-gdc-game-jam-0th [INFO] tweaked toml for git repo https://github.com/Bogay/nycu-gdc-game-jam-0th written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bogay/nycu-gdc-game-jam-0th 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/Bogay/nycu-gdc-game-jam-0th 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui-big-text v0.7.1 [INFO] [stderr] Downloaded simple-easing v1.0.1 [INFO] [stderr] Downloaded font8x8 v0.3.1 [INFO] [stderr] Downloaded colorsys v0.6.7 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded bon v3.6.4 [INFO] [stderr] Downloaded color-spantrace v0.3.0 [INFO] [stderr] Downloaded owo-colors v4.2.1 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded image-webp v0.2.2 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded tachyonfx v0.15.0 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded bon-macros v3.6.4 [INFO] [stderr] Downloaded zune-jpeg v0.4.17 [INFO] [stderr] Downloaded color-eyre v0.6.5 [INFO] [stderr] Downloaded icy_sixel v0.1.3 [INFO] [stderr] Downloaded tui-logger v0.17.3 [INFO] [stderr] Downloaded ratatui-image v8.0.1 [INFO] [stderr] Downloaded anpa v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8617bc44596cd75279adbd3218d981bdfb6146a121f5f923e5099ee21b02bd16 [INFO] running `Command { std: "docker" "start" "-a" "8617bc44596cd75279adbd3218d981bdfb6146a121f5f923e5099ee21b02bd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8617bc44596cd75279adbd3218d981bdfb6146a121f5f923e5099ee21b02bd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8617bc44596cd75279adbd3218d981bdfb6146a121f5f923e5099ee21b02bd16", kill_on_drop: false }` [INFO] [stdout] 8617bc44596cd75279adbd3218d981bdfb6146a121f5f923e5099ee21b02bd16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0ce5f398c3c756071034ea94e95e3f07c760568cbb2142321c710632f84080b8 [INFO] running `Command { std: "docker" "start" "-a" "0ce5f398c3c756071034ea94e95e3f07c760568cbb2142321c710632f84080b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling image-webp v0.2.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling anpa v0.9.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling colorsys v0.6.7 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling font8x8 v0.3.1 [INFO] [stderr] Compiling simple-easing v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icy_sixel v0.1.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling bon-macros v3.6.4 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling tui-big-text v0.7.1 [INFO] [stderr] Compiling tui-logger v0.17.3 [INFO] [stderr] Compiling bon v3.6.4 [INFO] [stderr] Compiling tachyonfx v0.15.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ratatui-image v8.0.1 [INFO] [stderr] Compiling nycu-gdc-game-jam-0th v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AllyElement` and `Ally` [INFO] [stdout] --> src/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | game::{Ally, AllyElement, Game}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageSource` and `Protocol` [INFO] [stdout] --> src/app.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | protocol::{ImageSource, Protocol, StatefulProtocol}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/app.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use tachyonfx::{Duration, EffectManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layout::Direction` [INFO] [stdout] --> src/event.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | layout::Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Catppuccin` [INFO] [stdout] --> src/fx/effect.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::styling::{CATPPUCCIN, Catppuccin, ExabindTheme, Theme}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyCode` [INFO] [stdout] --> src/fx/effect.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crossterm::event::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/fx/effect.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::layout::{Margin, Position, Rect, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::prelude::Buffer` [INFO] [stdout] --> src/fx/effect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ratatui::prelude::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/fx/effect.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::style::{Color, Style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/fx/effect.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `effect_fn_buf`, `parallel`, `prolong_start`, `sequence`, `sleep`, and `sweep_in` [INFO] [stdout] --> src/fx/effect.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use tachyonfx::fx::{effect_fn_buf, parallel, prolong_start, sequence, sleep, sweep_in}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EffectManager`, `Interpolation`, `IntoEffect`, `RangeSampler`, and `SimpleRng` [INFO] [stdout] --> src/fx/effect.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 22 | IntoEffect, RangeSampler, SimpleRng, fx, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExabindTheme` and `Theme` [INFO] [stdout] --> src/fx/key_cap_outline.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::styling::{ExabindTheme, Theme}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyCode` [INFO] [stdout] --> src/fx/key_cap_outline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::event::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::buffer::Buffer` [INFO] [stdout] --> src/fx/key_cap_outline.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Offset`, `Position`, and `Rect` [INFO] [stdout] --> src/fx/key_cap_outline.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::layout::{Offset, Position, Rect}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::style::Style` [INFO] [stdout] --> src/fx/key_cap_outline.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ratatui::style::Style; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/fx/key_cap_outline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellFilter`, `Duration`, `Effect`, `Shader`, and `blit_buffer` [INFO] [stdout] --> src/fx/key_cap_outline.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use tachyonfx::{CellFilter, Duration, Effect, Shader, blit_buffer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::eyre::Result` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color_eyre::eyre::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui_image::protocol::Protocol` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui_image::protocol::Protocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/setup_logging.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::eyre::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/setup_logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorSpace`, `Duration`, `EffectTimer`, `Interpolation`, `Motion`, `ToRgbComponents`, and `fx` [INFO] [stdout] --> src/ui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:21:63 [INFO] [stdout] | [INFO] [stdout] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/game.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/game.rs:766:23 [INFO] [stdout] | [INFO] [stdout] 766 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:419:32 [INFO] [stdout] | [INFO] [stdout] 419 | let (h, s, l) = base_color.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | let color_l = Color::from_hsl_f32(h, s, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | let color_d = Color::from_hsl_f32(h, s, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | Color::from_hsl_f32((h - 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 435 | Color::from_hsl_f32(h, (s - 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:439:24 [INFO] [stdout] | [INFO] [stdout] 439 | Color::from_hsl_f32((h + 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | Color::from_hsl_f32(h, (s + 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/game.rs:776:34 [INFO] [stdout] | [INFO] [stdout] 776 | let spawn_time = rng.gen_range(0..=1000); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | let (h0, s0, l0) = c0.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | let (h1, s1, l1) = c1.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let color_l0 = Color::from_hsl_f32(h0, s0, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | let color_d0 = Color::from_hsl_f32(h0, s0, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | let color_l1 = Color::from_hsl_f32(h1, s1, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | let color_d1 = Color::from_hsl_f32(h1, s1, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | Color::from_hsl_f32((h0 - 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 341 | Color::from_hsl_f32(h0, (s0 - 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:345:24 [INFO] [stdout] | [INFO] [stdout] 345 | Color::from_hsl_f32((h0 + 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | Color::from_hsl_f32(h0, (s0 + 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:353:24 [INFO] [stdout] | [INFO] [stdout] 353 | Color::from_hsl_f32(h1, (s1 + 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | Color::from_hsl_f32((h1 + 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:361:24 [INFO] [stdout] | [INFO] [stdout] 361 | Color::from_hsl_f32(h1, (s1 - 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | Color::from_hsl_f32((h1 - 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IndexedRandom` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::IndexedRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stdout] --> src/game.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut nearest_enemy_idx: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nearest_dist` [INFO] [stdout] --> src/game.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_range` is never read [INFO] [stdout] --> src/game.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut ally_range = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_atk` is never read [INFO] [stdout] --> src/game.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut ally_atk = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_element` is never read [INFO] [stdout] --> src/game.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let mut first_element = AllyElement::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `second_element` is never read [INFO] [stdout] --> src/game.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let mut second_element = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stdout] --> src/game.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let mut nearest_enemy_idx: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nearest_dist` [INFO] [stdout] --> src/game.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_range` is never read [INFO] [stdout] --> src/game.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let mut ally_range = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_atk` is never read [INFO] [stdout] --> src/game.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | let mut ally_atk = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_element` is never read [INFO] [stdout] --> src/game.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut first_element = AllyElement::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `second_element` is never read [INFO] [stdout] --> src/game.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut second_element = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_cells` is never used [INFO] [stdout] --> src/fx/effect.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn clear_cells(duration: Duration) -> Effect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `state_pause` and `state_resume` are never used [INFO] [stdout] --> src/game.rs:540:8 [INFO] [stdout] | [INFO] [stdout] 163 | impl Game { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 540 | fn state_pause() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | fn state_resume() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/ui.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn lerp(a: u8, b: u8, t: f32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ally_AOE_damage` should have a snake case name [INFO] [stdout] --> src/game.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn ally_AOE_damage(&mut self, _pos: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ally_aoe_damage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "0ce5f398c3c756071034ea94e95e3f07c760568cbb2142321c710632f84080b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce5f398c3c756071034ea94e95e3f07c760568cbb2142321c710632f84080b8", kill_on_drop: false }` [INFO] [stdout] 0ce5f398c3c756071034ea94e95e3f07c760568cbb2142321c710632f84080b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4efc49b7255b3a6b40e6117b6ea630529bd19db3236baf40e87c2c82d8c6c291 [INFO] running `Command { std: "docker" "start" "-a" "4efc49b7255b3a6b40e6117b6ea630529bd19db3236baf40e87c2c82d8c6c291", kill_on_drop: false }` [INFO] [stderr] Compiling nycu-gdc-game-jam-0th v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AllyElement` and `Ally` [INFO] [stdout] --> src/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | game::{Ally, AllyElement, Game}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageSource` and `Protocol` [INFO] [stdout] --> src/app.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | protocol::{ImageSource, Protocol, StatefulProtocol}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/app.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use tachyonfx::{Duration, EffectManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layout::Direction` [INFO] [stdout] --> src/event.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | layout::Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Catppuccin` [INFO] [stdout] --> src/fx/effect.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::styling::{CATPPUCCIN, Catppuccin, ExabindTheme, Theme}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyCode` [INFO] [stdout] --> src/fx/effect.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crossterm::event::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/fx/effect.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | use ratatui::layout::{Margin, Position, Rect, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::prelude::Buffer` [INFO] [stdout] --> src/fx/effect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ratatui::prelude::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/fx/effect.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::style::{Color, Style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/fx/effect.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `effect_fn_buf`, `parallel`, `prolong_start`, `sequence`, `sleep`, and `sweep_in` [INFO] [stdout] --> src/fx/effect.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use tachyonfx::fx::{effect_fn_buf, parallel, prolong_start, sequence, sleep, sweep_in}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EffectManager`, `Interpolation`, `IntoEffect`, `RangeSampler`, and `SimpleRng` [INFO] [stdout] --> src/fx/effect.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 22 | IntoEffect, RangeSampler, SimpleRng, fx, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExabindTheme` and `Theme` [INFO] [stdout] --> src/fx/key_cap_outline.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::styling::{ExabindTheme, Theme}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::event::KeyCode` [INFO] [stdout] --> src/fx/key_cap_outline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::event::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::buffer::Buffer` [INFO] [stdout] --> src/fx/key_cap_outline.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Offset`, `Position`, and `Rect` [INFO] [stdout] --> src/fx/key_cap_outline.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use ratatui::layout::{Offset, Position, Rect}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::style::Style` [INFO] [stdout] --> src/fx/key_cap_outline.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ratatui::style::Style; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/fx/key_cap_outline.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellFilter`, `Duration`, `Effect`, `Shader`, and `blit_buffer` [INFO] [stdout] --> src/fx/key_cap_outline.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use tachyonfx::{CellFilter, Duration, Effect, Shader, blit_buffer}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::eyre::Result` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color_eyre::eyre::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui_image::protocol::Protocol` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui_image::protocol::Protocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/setup_logging.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::eyre::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/setup_logging.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorSpace`, `Duration`, `EffectTimer`, `Interpolation`, `Motion`, `ToRgbComponents`, and `fx` [INFO] [stdout] --> src/ui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/ui.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:21:63 [INFO] [stdout] | [INFO] [stdout] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/game.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/game.rs:766:23 [INFO] [stdout] | [INFO] [stdout] 766 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:419:32 [INFO] [stdout] | [INFO] [stdout] 419 | let (h, s, l) = base_color.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | let color_l = Color::from_hsl_f32(h, s, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | let color_d = Color::from_hsl_f32(h, s, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | Color::from_hsl_f32((h - 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 435 | Color::from_hsl_f32(h, (s - 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:439:24 [INFO] [stdout] | [INFO] [stdout] 439 | Color::from_hsl_f32((h + 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/fx/effect.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | Color::from_hsl_f32(h, (s + 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/game.rs:776:34 [INFO] [stdout] | [INFO] [stdout] 776 | let spawn_time = rng.gen_range(0..=1000); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | let (h0, s0, l0) = c0.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:323:27 [INFO] [stdout] | [INFO] [stdout] 323 | let (h1, s1, l1) = c1.to_hsl_f32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | let color_l0 = Color::from_hsl_f32(h0, s0, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:326:27 [INFO] [stdout] | [INFO] [stdout] 326 | let color_d0 = Color::from_hsl_f32(h0, s0, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | let color_l1 = Color::from_hsl_f32(h1, s1, 80.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | let color_d1 = Color::from_hsl_f32(h1, s1, 40.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | Color::from_hsl_f32((h0 - 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 341 | Color::from_hsl_f32(h0, (s0 - 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:345:24 [INFO] [stdout] | [INFO] [stdout] 345 | Color::from_hsl_f32((h0 + 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | Color::from_hsl_f32(h0, (s0 + 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:353:24 [INFO] [stdout] | [INFO] [stdout] 353 | Color::from_hsl_f32(h1, (s1 + 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | Color::from_hsl_f32((h1 + 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:361:24 [INFO] [stdout] | [INFO] [stdout] 361 | Color::from_hsl_f32(h1, (s1 - 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stdout] --> src/ui.rs:365:24 [INFO] [stdout] | [INFO] [stdout] 365 | Color::from_hsl_f32((h1 - 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IndexedRandom` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::seq::IndexedRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stdout] --> src/game.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut nearest_enemy_idx: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nearest_dist` [INFO] [stdout] --> src/game.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_range` is never read [INFO] [stdout] --> src/game.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut ally_range = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_atk` is never read [INFO] [stdout] --> src/game.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut ally_atk = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_element` is never read [INFO] [stdout] --> src/game.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let mut first_element = AllyElement::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `second_element` is never read [INFO] [stdout] --> src/game.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let mut second_element = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stdout] --> src/game.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | let mut nearest_enemy_idx: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nearest_dist` [INFO] [stdout] --> src/game.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_range` is never read [INFO] [stdout] --> src/game.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let mut ally_range = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ally_atk` is never read [INFO] [stdout] --> src/game.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | let mut ally_atk = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_element` is never read [INFO] [stdout] --> src/game.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut first_element = AllyElement::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `second_element` is never read [INFO] [stdout] --> src/game.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut second_element = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_cells` is never used [INFO] [stdout] --> src/fx/effect.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn clear_cells(duration: Duration) -> Effect { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `state_pause` and `state_resume` are never used [INFO] [stdout] --> src/game.rs:540:8 [INFO] [stdout] | [INFO] [stdout] 163 | impl Game { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 540 | fn state_pause() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | fn state_resume() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/ui.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn lerp(a: u8, b: u8, t: f32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ally_AOE_damage` should have a snake case name [INFO] [stdout] --> src/game.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn ally_AOE_damage(&mut self, _pos: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ally_aoe_damage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.64s [INFO] running `Command { std: "docker" "inspect" "4efc49b7255b3a6b40e6117b6ea630529bd19db3236baf40e87c2c82d8c6c291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efc49b7255b3a6b40e6117b6ea630529bd19db3236baf40e87c2c82d8c6c291", kill_on_drop: false }` [INFO] [stdout] 4efc49b7255b3a6b40e6117b6ea630529bd19db3236baf40e87c2c82d8c6c291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 112a163f738862ed0f9868108699c5459fcdbfe82d6585ea5dbf5d0ff3f95488 [INFO] running `Command { std: "docker" "start" "-a" "112a163f738862ed0f9868108699c5459fcdbfe82d6585ea5dbf5d0ff3f95488", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AllyElement` and `Ally` [INFO] [stderr] --> src/app.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | game::{Ally, AllyElement, Game}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageSource` and `Protocol` [INFO] [stderr] --> src/app.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | protocol::{ImageSource, Protocol, StatefulProtocol}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/app.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | use tachyonfx::{Duration, EffectManager}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `layout::Direction` [INFO] [stderr] --> src/event.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | layout::Direction, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Catppuccin` [INFO] [stderr] --> src/fx/effect.rs:8:34 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::styling::{CATPPUCCIN, Catppuccin, ExabindTheme, Theme}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crossterm::event::KeyCode` [INFO] [stderr] --> src/fx/effect.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crossterm::event::KeyCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Size` [INFO] [stderr] --> src/fx/effect.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | use ratatui::layout::{Margin, Position, Rect, Size}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui::prelude::Buffer` [INFO] [stderr] --> src/fx/effect.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use ratatui::prelude::Buffer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Style` [INFO] [stderr] --> src/fx/effect.rs:14:29 [INFO] [stderr] | [INFO] [stderr] 14 | use ratatui::style::{Color, Style}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stderr] --> src/fx/effect.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::mpsc::Sender; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `effect_fn_buf`, `parallel`, `prolong_start`, `sequence`, `sleep`, and `sweep_in` [INFO] [stderr] --> src/fx/effect.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | use tachyonfx::fx::{effect_fn_buf, parallel, prolong_start, sequence, sleep, sweep_in}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EffectManager`, `Interpolation`, `IntoEffect`, `RangeSampler`, and `SimpleRng` [INFO] [stderr] --> src/fx/effect.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 22 | IntoEffect, RangeSampler, SimpleRng, fx, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExabindTheme` and `Theme` [INFO] [stderr] --> src/fx/key_cap_outline.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::styling::{ExabindTheme, Theme}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crossterm::event::KeyCode` [INFO] [stderr] --> src/fx/key_cap_outline.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crossterm::event::KeyCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui::buffer::Buffer` [INFO] [stderr] --> src/fx/key_cap_outline.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use ratatui::buffer::Buffer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Offset`, `Position`, and `Rect` [INFO] [stderr] --> src/fx/key_cap_outline.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | use ratatui::layout::{Offset, Position, Rect}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui::style::Style` [INFO] [stderr] --> src/fx/key_cap_outline.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use ratatui::style::Style; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/fx/key_cap_outline.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CellFilter`, `Duration`, `Effect`, `Shader`, and `blit_buffer` [INFO] [stderr] --> src/fx/key_cap_outline.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | use tachyonfx::{CellFilter, Duration, Effect, Shader, blit_buffer}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `color_eyre::eyre::Result` [INFO] [stderr] --> src/game.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use color_eyre::eyre::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui_image::protocol::Protocol` [INFO] [stderr] --> src/game.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ratatui_image::protocol::Protocol; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/game.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/game.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/setup_logging.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use color_eyre::eyre::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::error` [INFO] [stderr] --> src/setup_logging.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ColorSpace`, `Duration`, `EffectTimer`, `Interpolation`, `Motion`, `ToRgbComponents`, and `fx` [INFO] [stderr] --> src/ui.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/ui.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:21:63 [INFO] [stderr] | [INFO] [stderr] 21 | CellFilter, Duration, Effect, EffectManager, EffectTimer, HslConvertable, Interpolation, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/game.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::thread_rng; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> src/game.rs:766:23 [INFO] [stderr] | [INFO] [stderr] 766 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tachyonfx::HslConvertable`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | ColorSpace, Duration, EffectTimer, HslConvertable, Interpolation, Motion, ToRgbComponents, fx, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:419:32 [INFO] [stderr] | [INFO] [stderr] 419 | let (h, s, l) = base_color.to_hsl_f32(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:421:26 [INFO] [stderr] | [INFO] [stderr] 421 | let color_l = Color::from_hsl_f32(h, s, 80.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:422:26 [INFO] [stderr] | [INFO] [stderr] 422 | let color_d = Color::from_hsl_f32(h, s, 40.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:431:24 [INFO] [stderr] | [INFO] [stderr] 431 | Color::from_hsl_f32((h - 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:435:24 [INFO] [stderr] | [INFO] [stderr] 435 | Color::from_hsl_f32(h, (s - 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:439:24 [INFO] [stderr] | [INFO] [stderr] 439 | Color::from_hsl_f32((h + 25.0) % 360.0, s, (l + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/fx/effect.rs:443:24 [INFO] [stderr] | [INFO] [stderr] 443 | Color::from_hsl_f32(h, (s + 20.0).max(0.0), (l + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> src/game.rs:776:34 [INFO] [stderr] | [INFO] [stderr] 776 | let spawn_time = rng.gen_range(0..=1000); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:322:27 [INFO] [stderr] | [INFO] [stderr] 322 | let (h0, s0, l0) = c0.to_hsl_f32(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tachyonfx::HslConvertable::to_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:323:27 [INFO] [stderr] | [INFO] [stderr] 323 | let (h1, s1, l1) = c1.to_hsl_f32(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:325:27 [INFO] [stderr] | [INFO] [stderr] 325 | let color_l0 = Color::from_hsl_f32(h0, s0, 80.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:326:27 [INFO] [stderr] | [INFO] [stderr] 326 | let color_d0 = Color::from_hsl_f32(h0, s0, 40.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:327:27 [INFO] [stderr] | [INFO] [stderr] 327 | let color_l1 = Color::from_hsl_f32(h1, s1, 80.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:328:27 [INFO] [stderr] | [INFO] [stderr] 328 | let color_d1 = Color::from_hsl_f32(h1, s1, 40.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:337:24 [INFO] [stderr] | [INFO] [stderr] 337 | Color::from_hsl_f32((h0 - 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:341:24 [INFO] [stderr] | [INFO] [stderr] 341 | Color::from_hsl_f32(h0, (s0 - 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:345:24 [INFO] [stderr] | [INFO] [stderr] 345 | Color::from_hsl_f32((h0 + 25.0) % 360.0, s0, (l0 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:349:24 [INFO] [stderr] | [INFO] [stderr] 349 | Color::from_hsl_f32(h0, (s0 + 20.0).max(0.0), (l0 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:353:24 [INFO] [stderr] | [INFO] [stderr] 353 | Color::from_hsl_f32(h1, (s1 + 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | Color::from_hsl_f32((h1 + 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:361:24 [INFO] [stderr] | [INFO] [stderr] 361 | Color::from_hsl_f32(h1, (s1 - 20.0).max(0.0), (l1 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tachyonfx::HslConvertable::from_hsl_f32`: Replaced by ColorSpace and associated functions [INFO] [stderr] --> src/ui.rs:365:24 [INFO] [stderr] | [INFO] [stderr] 365 | Color::from_hsl_f32((h1 - 25.0) % 360.0, s1, (l1 + 10.0).min(100.0)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::seq::IndexedRandom` [INFO] [stderr] --> src/app.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rand::seq::IndexedRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stderr] --> src/game.rs:283:17 [INFO] [stderr] | [INFO] [stderr] 283 | let mut nearest_enemy_idx: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nearest_dist` [INFO] [stderr] --> src/game.rs:284:17 [INFO] [stderr] | [INFO] [stderr] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ally_range` is never read [INFO] [stderr] --> src/game.rs:285:17 [INFO] [stderr] | [INFO] [stderr] 285 | let mut ally_range = 1; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ally_atk` is never read [INFO] [stderr] --> src/game.rs:286:17 [INFO] [stderr] | [INFO] [stderr] 286 | let mut ally_atk = 0; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `first_element` is never read [INFO] [stderr] --> src/game.rs:287:17 [INFO] [stderr] | [INFO] [stderr] 287 | let mut first_element = AllyElement::Basic; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `second_element` is never read [INFO] [stderr] --> src/game.rs:288:17 [INFO] [stderr] | [INFO] [stderr] 288 | let mut second_element = None; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game.rs:284:13 [INFO] [stderr] | [INFO] [stderr] 284 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `nearest_enemy_idx` is never read [INFO] [stderr] --> src/game.rs:372:17 [INFO] [stderr] | [INFO] [stderr] 372 | let mut nearest_enemy_idx: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nearest_dist` [INFO] [stderr] --> src/game.rs:373:17 [INFO] [stderr] | [INFO] [stderr] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nearest_dist` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ally_range` is never read [INFO] [stderr] --> src/game.rs:374:17 [INFO] [stderr] | [INFO] [stderr] 374 | let mut ally_range = 1; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ally_atk` is never read [INFO] [stderr] --> src/game.rs:375:17 [INFO] [stderr] | [INFO] [stderr] 375 | let mut ally_atk = 0; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `first_element` is never read [INFO] [stderr] --> src/game.rs:376:17 [INFO] [stderr] | [INFO] [stderr] 376 | let mut first_element = AllyElement::Basic; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `second_element` is never read [INFO] [stderr] --> src/game.rs:377:17 [INFO] [stderr] | [INFO] [stderr] 377 | let mut second_element = None; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game.rs:373:13 [INFO] [stderr] | [INFO] [stderr] 373 | let mut nearest_dist: f32 = f32::MAX; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `clear_cells` is never used [INFO] [stderr] --> src/fx/effect.rs:392:4 [INFO] [stderr] | [INFO] [stderr] 392 | fn clear_cells(duration: Duration) -> Effect { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `state_pause` and `state_resume` are never used [INFO] [stderr] --> src/game.rs:540:8 [INFO] [stderr] | [INFO] [stderr] 163 | impl Game { [INFO] [stderr] | --------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 540 | fn state_pause() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 544 | fn state_resume() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `lerp` is never used [INFO] [stderr] --> src/ui.rs:373:4 [INFO] [stderr] | [INFO] [stderr] 373 | fn lerp(a: u8, b: u8, t: f32) -> u8 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `ally_AOE_damage` should have a snake case name [INFO] [stderr] --> src/game.rs:367:8 [INFO] [stderr] | [INFO] [stderr] 367 | fn ally_AOE_damage(&mut self, _pos: (usize, usize)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ally_aoe_damage` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nycu-gdc-game-jam-0th` (bin "nycu-gdc-game-jam-0th" test) generated 72 warnings (run `cargo fix --bin "nycu-gdc-game-jam-0th" --tests` to apply 29 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/nycu_gdc_game_jam_0th-5a49d0c4f3aa23c2) [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" "112a163f738862ed0f9868108699c5459fcdbfe82d6585ea5dbf5d0ff3f95488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112a163f738862ed0f9868108699c5459fcdbfe82d6585ea5dbf5d0ff3f95488", kill_on_drop: false }` [INFO] [stdout] 112a163f738862ed0f9868108699c5459fcdbfe82d6585ea5dbf5d0ff3f95488