[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] checking lonekl/wojenka against master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa for pr-133502-16 [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 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded wayland-sys v0.29.5 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded winit v0.27.5 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded dwrote v0.11.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded freetype-rs v0.26.0 [INFO] [stderr] Downloaded toml_edit v0.21.0 [INFO] [stderr] Downloaded winnow v0.5.31 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded tiny-skia v0.7.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded wayland-client v0.29.5 [INFO] [stderr] Downloaded wayland-protocols v0.29.5 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded web-sys v0.3.66 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded glutin v0.29.1 [INFO] [stderr] Downloaded toml v0.8.8 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded ndk-glue v0.7.0 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded cmake v0.1.50 [INFO] [stderr] Downloaded glium v0.32.1 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded fdeflate v0.3.3 [INFO] [stderr] Downloaded bytemuck v1.14.0 [INFO] [stderr] Downloaded tiny-skia-path v0.7.0 [INFO] [stderr] Downloaded sctk-adwaita v0.4.3 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded wayland-cursor v0.29.5 [INFO] [stderr] Downloaded smallvec v1.11.2 [INFO] [stderr] Downloaded wayland-commons v0.29.5 [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded windows-sys v0.36.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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c93af1605f11ab76b4d481eb648bb36662664a9ace73a7ebc5659e79bc08e28 [INFO] running `Command { std: "docker" "start" "-a" "9c93af1605f11ab76b4d481eb648bb36662664a9ace73a7ebc5659e79bc08e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c93af1605f11ab76b4d481eb648bb36662664a9ace73a7ebc5659e79bc08e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c93af1605f11ab76b4d481eb648bb36662664a9ace73a7ebc5659e79bc08e28", kill_on_drop: false }` [INFO] [stdout] 9c93af1605f11ab76b4d481eb648bb36662664a9ace73a7ebc5659e79bc08e28 [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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04ca55a9c65ccf27181c6540105c9b4d9d6c2915bfcaaf1a53eb461579ac8dcb [INFO] running `Command { std: "docker" "start" "-a" "04ca55a9c65ccf27181c6540105c9b4d9d6c2915bfcaaf1a53eb461579ac8dcb", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking winnow v0.5.31 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking 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: 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] [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] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking glutin v0.29.1 [INFO] [stderr] Checking 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] [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 15s [INFO] running `Command { std: "docker" "inspect" "04ca55a9c65ccf27181c6540105c9b4d9d6c2915bfcaaf1a53eb461579ac8dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ca55a9c65ccf27181c6540105c9b4d9d6c2915bfcaaf1a53eb461579ac8dcb", kill_on_drop: false }` [INFO] [stdout] 04ca55a9c65ccf27181c6540105c9b4d9d6c2915bfcaaf1a53eb461579ac8dcb