[INFO] cloning repository https://github.com/aprimadi/ares [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aprimadi/ares" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprimadi%2Fares", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprimadi%2Fares'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 581e388de88b8d9f446eadc3ee9b4fc781361658 [INFO] building aprimadi/ares against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faprimadi%2Fares" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aprimadi/ares [INFO] finished tweaking git repo https://github.com/aprimadi/ares [INFO] tweaked toml for git repo https://github.com/aprimadi/ares written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aprimadi/ares on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aprimadi/ares 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.37 [INFO] [stderr] Downloaded macroquad_macro v0.1.5 [INFO] [stderr] Downloaded sapp-windows v0.2.18 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded ron v0.6.4 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded derive_more v0.99.16 [INFO] [stderr] Downloaded sapp-android v0.1.8 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded macroquad v0.3.8 [INFO] [stderr] Downloaded quad-snd v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4351a932f022687e3d6a0a3febf4a1262db3fbd4bbc976f8197891981602b68 [INFO] running `Command { std: "docker" "start" "-a" "f4351a932f022687e3d6a0a3febf4a1262db3fbd4bbc976f8197891981602b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4351a932f022687e3d6a0a3febf4a1262db3fbd4bbc976f8197891981602b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4351a932f022687e3d6a0a3febf4a1262db3fbd4bbc976f8197891981602b68", kill_on_drop: false }` [INFO] [stdout] f4351a932f022687e3d6a0a3febf4a1262db3fbd4bbc976f8197891981602b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] ed6ea67d2f64aea6cff860e36c038821f1eb4a4d29d93a61bf1cc55c47e748d1 [INFO] running `Command { std: "docker" "start" "-a" "ed6ea67d2f64aea6cff860e36c038821f1eb4a4d29d93a61bf1cc55c47e748d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling quad-snd v0.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling sapp-wasm v0.1.26 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling macroquad_macro v0.1.5 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.37 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling macroquad v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling zgui v0.1.0 (/opt/rustwide/workdir/zgui) [INFO] [stdout] warning: field `basic_scale` is never read [INFO] [stdout] --> zgui/src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | basic_scale: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling ares v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/screen/main_menu.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let space = || Box::new(ui::Spacer::new_vertical(h / 8.0)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/assets.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn read_file(path: &str) -> AResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_from_file` is never used [INFO] [stdout] --> src/assets.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn deserialize_from_file(path: &str) -> AResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_map` is never used [INFO] [stdout] --> src/assets.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn load_map( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteInfo` is never constructed [INFO] [stdout] --> src/assets.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SpriteInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_sub_tile_z` is never used [INFO] [stdout] --> src/assets.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn default_sub_tile_z() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpritesInfo` is never used [INFO] [stdout] --> src/assets.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | type SpritesInfo = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapObjectTextures` is never constructed [INFO] [stdout] --> src/assets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct MapObjectTextures { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/assets.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 85 | impl MapObjectTextures { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 86 | async fn load() -> AResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/core/map.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_to_pos` and `layout` are never used [INFO] [stdout] --> src/core/map.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 9 | /// Given a screen pixel, translate it into a Pos. [INFO] [stdout] 10 | pub fn pixel_to_pos(&self, pixel: Vec2, aspect_ratio: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn layout(&self, aspect_ratio: f32) -> (f32, f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pos` is never constructed [INFO] [stdout] --> src/core/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Pos { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ron_de_error` is never used [INFO] [stdout] --> src/error.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AError { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn from_ron_de_error(error: ron::de::Error, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PushScreen` and `PushPopup` are never constructed [INFO] [stdout] --> src/screen/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StackCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 19 | None, [INFO] [stdout] 20 | PushScreen(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | PushPopup(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/screen/main_menu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `small`, `normal`, and `big` are never read [INFO] [stdout] --> src/utils.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LineHeights { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub small: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub normal: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub big: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFFSET_SMALL` is never used [INFO] [stdout] --> src/utils.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const OFFSET_SMALL: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.31s [INFO] running `Command { std: "docker" "inspect" "ed6ea67d2f64aea6cff860e36c038821f1eb4a4d29d93a61bf1cc55c47e748d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6ea67d2f64aea6cff860e36c038821f1eb4a4d29d93a61bf1cc55c47e748d1", kill_on_drop: false }` [INFO] [stdout] ed6ea67d2f64aea6cff860e36c038821f1eb4a4d29d93a61bf1cc55c47e748d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] e12affaa6405da7f1e6ae43195c78b5aee8c3a78a99b5865487c9ce77636c21e [INFO] running `Command { std: "docker" "start" "-a" "e12affaa6405da7f1e6ae43195c78b5aee8c3a78a99b5865487c9ce77636c21e", kill_on_drop: false }` [INFO] [stdout] warning: field `basic_scale` is never read [INFO] [stdout] --> zgui/src/lib.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | basic_scale: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ares v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/screen/main_menu.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let space = || Box::new(ui::Spacer::new_vertical(h / 8.0)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/assets.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | async fn read_file(path: &str) -> AResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_from_file` is never used [INFO] [stdout] --> src/assets.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | async fn deserialize_from_file(path: &str) -> AResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_map` is never used [INFO] [stdout] --> src/assets.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn load_map( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteInfo` is never constructed [INFO] [stdout] --> src/assets.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct SpriteInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_sub_tile_z` is never used [INFO] [stdout] --> src/assets.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn default_sub_tile_z() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SpritesInfo` is never used [INFO] [stdout] --> src/assets.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | type SpritesInfo = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapObjectTextures` is never constructed [INFO] [stdout] --> src/assets.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct MapObjectTextures { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/assets.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 85 | impl MapObjectTextures { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 86 | async fn load() -> AResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/core/map.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_to_pos` and `layout` are never used [INFO] [stdout] --> src/core/map.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 9 | /// Given a screen pixel, translate it into a Pos. [INFO] [stdout] 10 | pub fn pixel_to_pos(&self, pixel: Vec2, aspect_ratio: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn layout(&self, aspect_ratio: f32) -> (f32, f32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pos` is never constructed [INFO] [stdout] --> src/core/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Pos { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ron_de_error` is never used [INFO] [stdout] --> src/error.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AError { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 20 | pub fn from_ron_de_error(error: ron::de::Error, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PushScreen` and `PushPopup` are never constructed [INFO] [stdout] --> src/screen/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StackCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 19 | None, [INFO] [stdout] 20 | PushScreen(Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | PushPopup(Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/screen/main_menu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Action { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 13 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `small`, `normal`, and `big` are never read [INFO] [stdout] --> src/utils.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LineHeights { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub small: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub normal: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub big: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFFSET_SMALL` is never used [INFO] [stdout] --> src/utils.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const OFFSET_SMALL: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "e12affaa6405da7f1e6ae43195c78b5aee8c3a78a99b5865487c9ce77636c21e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12affaa6405da7f1e6ae43195c78b5aee8c3a78a99b5865487c9ce77636c21e", kill_on_drop: false }` [INFO] [stdout] e12affaa6405da7f1e6ae43195c78b5aee8c3a78a99b5865487c9ce77636c21e