[INFO] cloning repository https://github.com/palmergs/marches-rltk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/palmergs/marches-rltk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db4fcbb5dc74d66013750fbfa40de054955a958 [INFO] checking palmergs/marches-rltk against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palmergs/marches-rltk on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/palmergs/marches-rltk [INFO] finished tweaking git repo https://github.com/palmergs/marches-rltk [INFO] tweaked toml for git repo https://github.com/palmergs/marches-rltk written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/palmergs/marches-rltk 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded crossbeam-utils v0.8.6 [INFO] [stderr] Downloaded bracket-geometry v0.8.3 [INFO] [stderr] Downloaded wide v0.6.5 [INFO] [stderr] Downloaded ultraviolet v0.8.1 [INFO] [stderr] Downloaded glow v0.10.0 [INFO] [stderr] Downloaded bracket-terminal v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5767de2c1c67d569fe713bff6be16c8c9e2c478ef727c418ca117429b059eecc [INFO] running `Command { std: "docker" "start" "-a" "5767de2c1c67d569fe713bff6be16c8c9e2c478ef727c418ca117429b059eecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5767de2c1c67d569fe713bff6be16c8c9e2c478ef727c418ca117429b059eecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5767de2c1c67d569fe713bff6be16c8c9e2c478ef727c418ca117429b059eecc", kill_on_drop: false }` [INFO] [stdout] 5767de2c1c67d569fe713bff6be16c8c9e2c478ef727c418ca117429b059eecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 273c0f4193cd5f2ca050444cf36ba44c5600fff991d59003643a163c09b727c7 [INFO] running `Command { std: "docker" "start" "-a" "273c0f4193cd5f2ca050444cf36ba44c5600fff991d59003643a163c09b727c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking object-pool v0.5.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking glow v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking bracket-geometry v0.8.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bracket-color v0.8.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ron v0.7.0 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking bracket-noise v0.8.2 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking legion v0.3.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking bracket-terminal v0.8.5 [INFO] [stderr] Checking bracket-lib v0.8.1 [INFO] [stderr] Checking marches-rltk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(mut victim_stats) = ecs.entry_mut(cmd.victim).unwrap().get_component_mut::() { [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/systems/strategy.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(mut mental) = ecs.entry_mut(cmd.actor).unwrap().get_component_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(mut victim_stats) = ecs.entry_mut(cmd.victim).unwrap().get_component_mut::() { [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/systems/strategy.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(mut mental) = ecs.entry_mut(cmd.actor).unwrap().get_component_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_first_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thing_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Actor { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub field_of_view: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub armor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub vigor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub focus: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub brawn: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub grace: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub smart: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub charm: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub outlook: Outlook, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub strategy: MoveStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub talking: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` 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 `chance` and `phrases` are never read [INFO] [stdout] --> src/spawners/templates.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Talk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | pub chance: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub phrases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talk` 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: field `actors` is never read [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Actors { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actors` 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 `armor`, `power`, and `speed` are never read [INFO] [stdout] --> src/spawners/templates.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Weapon { armor: i32, power: i32, speed: i32 }, [INFO] [stdout] | ------ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemCategory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Light(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 59 | Light(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Power(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 60 | Power(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Armor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 61 | Armor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Speed(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Focus(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 63 | Focus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | Vigor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 64 | Vigor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Replace(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 65 | Replace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Spawn(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 66 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `uses`, `effects`, `text`, and `chance` are never read [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ItemAction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 91 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub category: ItemCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub slots: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub touch: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub equip: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fire: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub activate: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub destroy: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: field `items` is never read [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Items { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Items` 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: function `item_first_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thing_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Actor { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub field_of_view: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub armor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub vigor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub focus: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub brawn: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub grace: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub smart: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub charm: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub outlook: Outlook, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub strategy: MoveStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub talking: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` 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 `chance` and `phrases` are never read [INFO] [stdout] --> src/spawners/templates.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Talk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | pub chance: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub phrases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talk` 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: field `actors` is never read [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Actors { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actors` 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 `armor`, `power`, and `speed` are never read [INFO] [stdout] --> src/spawners/templates.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Weapon { armor: i32, power: i32, speed: i32 }, [INFO] [stdout] | ------ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemCategory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Light(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 59 | Light(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Power(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 60 | Power(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Armor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 61 | Armor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Speed(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Focus(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 63 | Focus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | Vigor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 64 | Vigor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Replace(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 65 | Replace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Spawn(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 66 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `uses`, `effects`, `text`, and `chance` are never read [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ItemAction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 91 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub category: ItemCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub slots: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub touch: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub equip: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fire: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub activate: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub destroy: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: field `items` is never read [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Items { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Items` 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: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.51s [INFO] running `Command { std: "docker" "inspect" "273c0f4193cd5f2ca050444cf36ba44c5600fff991d59003643a163c09b727c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273c0f4193cd5f2ca050444cf36ba44c5600fff991d59003643a163c09b727c7", kill_on_drop: false }` [INFO] [stdout] 273c0f4193cd5f2ca050444cf36ba44c5600fff991d59003643a163c09b727c7 [INFO] checking palmergs/marches-rltk against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palmergs/marches-rltk on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/palmergs/marches-rltk [INFO] finished tweaking git repo https://github.com/palmergs/marches-rltk [INFO] tweaked toml for git repo https://github.com/palmergs/marches-rltk written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/palmergs/marches-rltk 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad57da441b8d2e1d5af395f2d676c72a93a7bd6e9a9c9cc1113a427451542282 [INFO] running `Command { std: "docker" "start" "-a" "ad57da441b8d2e1d5af395f2d676c72a93a7bd6e9a9c9cc1113a427451542282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad57da441b8d2e1d5af395f2d676c72a93a7bd6e9a9c9cc1113a427451542282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad57da441b8d2e1d5af395f2d676c72a93a7bd6e9a9c9cc1113a427451542282", kill_on_drop: false }` [INFO] [stdout] ad57da441b8d2e1d5af395f2d676c72a93a7bd6e9a9c9cc1113a427451542282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aa4cde20edb1c38eeb2f7197454febd26e8562da651e0dbdff90693ecdefeaf [INFO] running `Command { std: "docker" "start" "-a" "1aa4cde20edb1c38eeb2f7197454febd26e8562da651e0dbdff90693ecdefeaf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking object-pool v0.5.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking glow v0.10.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Checking bracket-geometry v0.8.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bracket-color v0.8.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ron v0.7.0 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking bracket-noise v0.8.2 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking legion v0.3.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking bracket-terminal v0.8.5 [INFO] [stderr] Checking bracket-lib v0.8.1 [INFO] [stderr] Checking marches-rltk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/select_equipped.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/systems/select_equipped.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | commands: &mut CommandBuffer, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/systems/select_equipped.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | item: &VirtualKeyCode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(mut victim_stats) = ecs.entry_mut(cmd.victim).unwrap().get_component_mut::() { [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/systems/strategy.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(mut mental) = ecs.entry_mut(cmd.actor).unwrap().get_component_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(mut victim_stats) = ecs.entry_mut(cmd.victim).unwrap().get_component_mut::() { [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/systems/strategy.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(mut mental) = ecs.entry_mut(cmd.actor).unwrap().get_component_mut::() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | fn draw_instructions(ecs: &SubWorld, draw_batch: &mut DrawBatch, rect: &Rect) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/hud.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ecs: &SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_first_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thing_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Actor { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub field_of_view: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub armor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub vigor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub focus: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub brawn: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub grace: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub smart: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub charm: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub outlook: Outlook, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub strategy: MoveStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub talking: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` 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 `chance` and `phrases` are never read [INFO] [stdout] --> src/spawners/templates.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Talk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | pub chance: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub phrases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talk` 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: field `actors` is never read [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Actors { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actors` 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 `armor`, `power`, and `speed` are never read [INFO] [stdout] --> src/spawners/templates.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Weapon { armor: i32, power: i32, speed: i32 }, [INFO] [stdout] | ------ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemCategory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Light(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 59 | Light(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Power(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 60 | Power(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Armor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 61 | Armor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Speed(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Focus(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 63 | Focus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | Vigor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 64 | Vigor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Replace(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 65 | Replace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Spawn(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 66 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `uses`, `effects`, `text`, and `chance` are never read [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ItemAction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 91 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub category: ItemCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub slots: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub touch: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub equip: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fire: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub activate: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub destroy: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: field `items` is never read [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Items { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Items` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | main_loop(context, State::new()) [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/state.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | fn save_world(&mut self, ctx: &mut BTerm) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:231:52 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:240:52 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maps/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spawners/templates.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spawners/templates.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_first_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn item_first_at( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thing_at` is never used [INFO] [stdout] --> src/systems/select_target.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn thing_at(ecs: &SubWorld, at: Point) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Actor { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub field_of_view: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub armor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub speed: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub power: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub vigor: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub focus: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub brawn: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub grace: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub smart: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub charm: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub outlook: Outlook, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub strategy: MoveStrategy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | pub talking: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actor` 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 `chance` and `phrases` are never read [INFO] [stdout] --> src/spawners/templates.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Talk { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | pub chance: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub phrases: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Talk` 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: field `actors` is never read [INFO] [stdout] --> src/spawners/templates.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Actors { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 36 | actors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actors` 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 `armor`, `power`, and `speed` are never read [INFO] [stdout] --> src/spawners/templates.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | Weapon { armor: i32, power: i32, speed: i32 }, [INFO] [stdout] | ------ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemCategory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | Light(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 59 | Light(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | Power(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 60 | Power(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Armor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 61 | Armor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Speed(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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 | Speed(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Focus(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 63 | Focus(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | Vigor(i32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 64 | Vigor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Replace(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 65 | Replace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spawners/templates.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | Spawn(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ItemEffect` 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] 66 | Spawn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `uses`, `effects`, `text`, and `chance` are never read [INFO] [stdout] --> src/spawners/templates.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ItemAction { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | command: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | uses: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | effects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | chance: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/spawners/templates.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 91 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 93 | pub category: ItemCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | pub tiles: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | pub slots: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | pub field_of_light: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub touch: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub equip: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fire: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub activate: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub destroy: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` 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: field `items` is never read [INFO] [stdout] --> src/spawners/templates.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Items { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 118 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Items` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | main_loop(context, State::new()) [INFO] [stdout] | ^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:231:52 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/components/mod.rs:240:52 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maps/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spawners/templates.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/spawners/templates.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/state.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | &cb.flush(&mut self.ecs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = &cb.flush(&mut self.ecs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marches-rltk` (bin "marches-rltk" test) due to 11 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marches-rltk` (bin "marches-rltk") due to 11 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1aa4cde20edb1c38eeb2f7197454febd26e8562da651e0dbdff90693ecdefeaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa4cde20edb1c38eeb2f7197454febd26e8562da651e0dbdff90693ecdefeaf", kill_on_drop: false }` [INFO] [stdout] 1aa4cde20edb1c38eeb2f7197454febd26e8562da651e0dbdff90693ecdefeaf