[INFO] cloning repository https://github.com/ozkriff/ggez_scale_offest_bug_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozkriff/ggez_scale_offest_bug_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozkriff%2Fggez_scale_offest_bug_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozkriff%2Fggez_scale_offest_bug_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae38ad2d60c59be65bba6193fff1249feb806b7 [INFO] checking ozkriff/ggez_scale_offest_bug_demo against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozkriff%2Fggez_scale_offest_bug_demo" "/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/ozkriff/ggez_scale_offest_bug_demo [INFO] finished tweaking git repo https://github.com/ozkriff/ggez_scale_offest_bug_demo [INFO] tweaked toml for git repo https://github.com/ozkriff/ggez_scale_offest_bug_demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ozkriff/ggez_scale_offest_bug_demo on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ozkriff/ggez_scale_offest_bug_demo 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/good-web-game` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/miniquad_text_rusttype` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Downloaded mint v0.5.5 [INFO] [stderr] Downloaded tar v0.4.29 [INFO] [stderr] Downloaded ctor v0.1.15 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded quad-rand v0.1.1 [INFO] [stderr] Downloaded sapp-wasm v0.1.15 [INFO] [stderr] Downloaded lyon_path v0.11.0 [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded lyon_geom v0.11.1 [INFO] [stderr] Downloaded ron v0.6.0 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded sapp-dummy v0.1.3 [INFO] [stderr] Downloaded sapp-darwin v0.1.2 [INFO] [stderr] Downloaded lyon v0.11.0 [INFO] [stderr] Downloaded sapp-linux v0.1.7 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded sapp-android v0.1.1 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded lyon_tessellation v0.11.0 [INFO] [stderr] Downloaded euclid v0.18.2 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded lyon_algorithms v0.11.2 [INFO] [stderr] Downloaded miniquad v0.2.55 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded sapp-windows v0.2.8 [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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c9f8e11f19eaecd56e89ceea00281313bd18f7e72385de4dedf78291819032 [INFO] running `Command { std: "docker" "start" "-a" "b5c9f8e11f19eaecd56e89ceea00281313bd18f7e72385de4dedf78291819032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c9f8e11f19eaecd56e89ceea00281313bd18f7e72385de4dedf78291819032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c9f8e11f19eaecd56e89ceea00281313bd18f7e72385de4dedf78291819032", kill_on_drop: false }` [INFO] [stdout] b5c9f8e11f19eaecd56e89ceea00281313bd18f7e72385de4dedf78291819032 [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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d36d55795a76b9ef4c04c887b15e9ab52ebb9f74c8e7b9120c8661e7ba7a3ec3 [INFO] running `Command { std: "docker" "start" "-a" "d36d55795a76b9ef4c04c887b15e9ab52ebb9f74c8e7b9120c8661e7ba7a3ec3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling sapp-linux v0.1.7 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Checking mint v0.5.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking zcomponents v0.1.1 (/opt/rustwide/workdir/zcomponents) [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking tar v0.4.29 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking miniquad v0.2.55 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking euclid v0.18.2 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking quad-rand v0.1.1 [INFO] [stderr] Checking miniquad_text_rusttype v0.1.2 (https://github.com/not-fl3/miniquad_text_rusttype#bd4477a3) [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking lyon_geom v0.11.1 [INFO] [stderr] Checking lyon_path v0.11.0 [INFO] [stderr] Checking lyon_tessellation v0.11.0 [INFO] [stderr] Checking lyon_algorithms v0.11.2 [INFO] [stderr] Checking lyon v0.11.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking good-web-game v0.2.5 (https://github.com/not-fl3/good-web-game#da75cd6d) [INFO] [stderr] Checking zgui v0.1.0 (/opt/rustwide/workdir/zgui) [INFO] [stderr] Checking zscene v0.1.0 (/opt/rustwide/workdir/zscene) [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Checking ron v0.6.0 [INFO] [stderr] Checking zemeroth v0.7.0-snapshot (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/battle/component.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/battle/scenario.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[serde(default = "default")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/campaign.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, derive_more::From)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apply::apply` [INFO] [stdout] --> src/core/battle/state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | apply::apply, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/battle/component.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | #[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/battle/scenario.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[serde(default = "default")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/core/campaign.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, derive_more::From)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apply::apply` [INFO] [stdout] --> src/core/battle/state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | apply::apply, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/battle/state/apply.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let mut summoner = parts.summoner.get_mut(id); [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: variable does not need to be mutable [INFO] [stdout] --> src/core/battle/state/apply.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let mut summoner = parts.summoner.get_mut(id); [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: field `0` is never read [INFO] [stdout] --> src/core/battle/scenario.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | PosOutsideOfMap(PosHex), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - PosOutsideOfMap(PosHex), [INFO] [stdout] 59 + PosOutsideOfMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/battle/scenario.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | UnsupportedPlayersCount(i32), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 - UnsupportedPlayersCount(i32), [INFO] [stdout] 62 + UnsupportedPlayersCount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/agent_info.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct AgentInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 219 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/confirm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Confirm { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 30 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Confirm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/general_info.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GeneralInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `small` is never read [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LineHeights { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 44 | pub small: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/battle/movement.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn steps(&self) -> Steps { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn steps(&self) -> Steps<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/battle/scenario.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | PosOutsideOfMap(PosHex), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - PosOutsideOfMap(PosHex), [INFO] [stdout] 59 + PosOutsideOfMap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/battle/scenario.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | UnsupportedPlayersCount(i32), [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 - UnsupportedPlayersCount(i32), [INFO] [stdout] 62 + UnsupportedPlayersCount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/agent_info.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct AgentInfo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 219 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/confirm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Confirm { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 30 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Confirm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font` is never read [INFO] [stdout] --> src/screen/general_info.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct GeneralInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | font: graphics::Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneralInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `small` is never read [INFO] [stdout] --> src/utils.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LineHeights { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 44 | pub small: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core/battle/movement.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn steps(&self) -> Steps { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn steps(&self) -> Steps<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "d36d55795a76b9ef4c04c887b15e9ab52ebb9f74c8e7b9120c8661e7ba7a3ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36d55795a76b9ef4c04c887b15e9ab52ebb9f74c8e7b9120c8661e7ba7a3ec3", kill_on_drop: false }` [INFO] [stdout] d36d55795a76b9ef4c04c887b15e9ab52ebb9f74c8e7b9120c8661e7ba7a3ec3