[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#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalmergs%2Fmarches-rltk" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palmergs/marches-rltk on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "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-0-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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] [stderr] Downloaded crossbeam-utils v0.8.6 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded ron v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd36d58bcff1ad4e62cb939d7c3efe237b87f8af9f36bb9367dd19bad0c14b5d [INFO] running `Command { std: "docker" "start" "-a" "dd36d58bcff1ad4e62cb939d7c3efe237b87f8af9f36bb9367dd19bad0c14b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd36d58bcff1ad4e62cb939d7c3efe237b87f8af9f36bb9367dd19bad0c14b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd36d58bcff1ad4e62cb939d7c3efe237b87f8af9f36bb9367dd19bad0c14b5d", kill_on_drop: false }` [INFO] [stdout] dd36d58bcff1ad4e62cb939d7c3efe237b87f8af9f36bb9367dd19bad0c14b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16d75f21238d821226c2d3853a9a90448223c755bcf46c96d93badadccf5af59 [INFO] running `Command { std: "docker" "start" "-a" "16d75f21238d821226c2d3853a9a90448223c755bcf46c96d93badadccf5af59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking object-pool v0.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [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 smithay-client-toolkit v0.12.3 [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 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: 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/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/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: 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: `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] [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] 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] 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] 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] 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] 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] 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] 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] 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: 26 warnings emitted [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] [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] 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] 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] 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] 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] 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] 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] 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] 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.69s [INFO] running `Command { std: "docker" "inspect" "16d75f21238d821226c2d3853a9a90448223c755bcf46c96d93badadccf5af59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d75f21238d821226c2d3853a9a90448223c755bcf46c96d93badadccf5af59", kill_on_drop: false }` [INFO] [stdout] 16d75f21238d821226c2d3853a9a90448223c755bcf46c96d93badadccf5af59