[INFO] cloning repository https://github.com/lonekl/wojenka [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lonekl/wojenka" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonekl%2Fwojenka", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonekl%2Fwojenka'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc47020c1e95591377d6031c1ebee0866ee39f2e [INFO] building lonekl/wojenka against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flonekl%2Fwojenka" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lonekl/wojenka [INFO] finished tweaking git repo https://github.com/lonekl/wojenka [INFO] tweaked toml for git repo https://github.com/lonekl/wojenka written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lonekl/wojenka on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lonekl/wojenka 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded core-graphics v0.23.1 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded glium v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f340e492f55cd85d2b17664c0bb828785b142c51a77f419f47cd8a22ef49e6f8 [INFO] running `Command { std: "docker" "start" "-a" "f340e492f55cd85d2b17664c0bb828785b142c51a77f419f47cd8a22ef49e6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f340e492f55cd85d2b17664c0bb828785b142c51a77f419f47cd8a22ef49e6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f340e492f55cd85d2b17664c0bb828785b142c51a77f419f47cd8a22ef49e6f8", kill_on_drop: false }` [INFO] [stdout] f340e492f55cd85d2b17664c0bb828785b142c51a77f419f47cd8a22ef49e6f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05e60364951d031dd691b3a6a87f2bce2ee67cf63290f823f81b485cbb58416a [INFO] running `Command { std: "docker" "start" "-a" "05e60364951d031dd691b3a6a87f2bce2ee67cf63290f823f81b485cbb58416a", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling war_economy_core v0.1.5 (/opt/rustwide/workdir/game core) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> game core/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distance` [INFO] [stdout] --> game core/src/map/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::map::units::{Distance, TerrainHeight}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> game core/src/map/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut image = Image::new_uniform(Rgb8::BLACK, self.image_dimensions(tile_image_size)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world_time` is never read [INFO] [stdout] --> game core/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | world_time: Time, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_id` and `amount` are never read [INFO] [stdout] --> game core/src/items/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 54 | [INFO] [stdout] 55 | type_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | amount: RawAmount, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/items/units.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct RawAmount ( u64); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RawAmount` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `definitions` is never read [INFO] [stdout] --> game core/src/map/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 16 | [INFO] [stdout] 17 | definitions: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `surface_byte_size` is never read [INFO] [stdout] --> game core/src/map/tile/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TileArray { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | surface_byte_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_id` is never read [INFO] [stdout] --> game core/src/map/tile/surface.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct SurfaceType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 100 | [INFO] [stdout] 101 | name_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/map/units.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct HeightVariation ( u32); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `HeightVariation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/map/units.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Distance ( u32); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Distance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> game core/src/map/tile/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get(&self, index: u32) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get(&self, index: u32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> game core/src/map/tile/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn index(&self, index: u32) -> TileLink { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn index(&self, index: u32) -> TileLink<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling war_and_economy v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> src/opengl/panels/game.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GamePanel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "05e60364951d031dd691b3a6a87f2bce2ee67cf63290f823f81b485cbb58416a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e60364951d031dd691b3a6a87f2bce2ee67cf63290f823f81b485cbb58416a", kill_on_drop: false }` [INFO] [stdout] 05e60364951d031dd691b3a6a87f2bce2ee67cf63290f823f81b485cbb58416a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290130e848b2efa010d8135cdb2f50c7e64c56e0ab5d30805ef928cfdee975f6 [INFO] running `Command { std: "docker" "start" "-a" "290130e848b2efa010d8135cdb2f50c7e64c56e0ab5d30805ef928cfdee975f6", kill_on_drop: false }` [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> game core/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distance` [INFO] [stdout] --> game core/src/map/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::map::units::{Distance, TerrainHeight}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> game core/src/map/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut image = Image::new_uniform(Rgb8::BLACK, self.image_dimensions(tile_image_size)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world_time` is never read [INFO] [stdout] --> game core/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | world_time: Time, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_id` and `amount` are never read [INFO] [stdout] --> game core/src/items/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 54 | [INFO] [stdout] 55 | type_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | amount: RawAmount, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/items/units.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct RawAmount ( u64); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RawAmount` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `definitions` is never read [INFO] [stdout] --> game core/src/map/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 16 | [INFO] [stdout] 17 | definitions: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `surface_byte_size` is never read [INFO] [stdout] --> game core/src/map/tile/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TileArray { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | surface_byte_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_id` is never read [INFO] [stdout] --> game core/src/map/tile/surface.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct SurfaceType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 100 | [INFO] [stdout] 101 | name_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/map/units.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct HeightVariation ( u32); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `HeightVariation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> game core/src/map/units.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Distance ( u32); [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Distance` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> game core/src/map/tile/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get(&self, index: u32) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get(&self, index: u32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> game core/src/map/tile/mod.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn index(&self, index: u32) -> TileLink { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn index(&self, index: u32) -> TileLink<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling war_and_economy v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `game` is never read [INFO] [stdout] --> src/opengl/panels/game.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GamePanel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | game: Game, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "290130e848b2efa010d8135cdb2f50c7e64c56e0ab5d30805ef928cfdee975f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290130e848b2efa010d8135cdb2f50c7e64c56e0ab5d30805ef928cfdee975f6", kill_on_drop: false }` [INFO] [stdout] 290130e848b2efa010d8135cdb2f50c7e64c56e0ab5d30805ef928cfdee975f6