[INFO] cloning repository https://github.com/Oscuro87/rust-worldgen-testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Oscuro87/rust-worldgen-testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscuro87%2Frust-worldgen-testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscuro87%2Frust-worldgen-testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4d1056382fd207e18286cf8bdbe72ffc21e3bfb [INFO] checking Oscuro87/rust-worldgen-testing against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscuro87%2Frust-worldgen-testing" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Oscuro87/rust-worldgen-testing [INFO] finished tweaking git repo https://github.com/Oscuro87/rust-worldgen-testing [INFO] tweaked toml for git repo https://github.com/Oscuro87/rust-worldgen-testing written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Oscuro87/rust-worldgen-testing on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Oscuro87/rust-worldgen-testing 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded serde_derive v1.0.94 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] [stderr] Downloaded serde v1.0.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74cb555b2a5b6953f2f0dfb3803ebe743f6687378eace1f334b889c979c9526c [INFO] running `Command { std: "docker" "start" "-a" "74cb555b2a5b6953f2f0dfb3803ebe743f6687378eace1f334b889c979c9526c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74cb555b2a5b6953f2f0dfb3803ebe743f6687378eace1f334b889c979c9526c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74cb555b2a5b6953f2f0dfb3803ebe743f6687378eace1f334b889c979c9526c", kill_on_drop: false }` [INFO] [stdout] 74cb555b2a5b6953f2f0dfb3803ebe743f6687378eace1f334b889c979c9526c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2986f56a7e947208076787fd48f284b563caf127f002f3339a5d239223a347df [INFO] running `Command { std: "docker" "start" "-a" "2986f56a7e947208076787fd48f284b563caf127f002f3339a5d239223a347df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking wg v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_core/config.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_core/config.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_console` [INFO] [stdout] --> src/wg_world/world.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | entities_console: &mut tcod::console::Offscreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/wg_world/world.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn tick(&mut self, root: &mut tcod::RootConsole) -> () { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_to`, `is_neighbour`, and `distance_between` are never used [INFO] [stdout] --> src/wg_utils/point_2d.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Point2D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn distance_to(&self, other: Point2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_neighbour(&self, other: Point2D, accept_diagonals: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn distance_between(source: Point2D, target: Point2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_name` is never read [INFO] [stdout] --> src/wg_world/biome.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Biome { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] 8 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Biome` 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 `biome` is never read [INFO] [stdout] --> src/wg_world/map.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub biome: Biome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `movement_cost` and `blocks_sight` are never read [INFO] [stdout] --> src/wg_world/tile.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TileMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub movement_cost: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub blocks_sight: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileMeta` 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: fields `name` and `display_name` are never read [INFO] [stdout] --> src/wg_world/tile.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` 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: fields `name` and `display_name` are never read [INFO] [stdout] --> src/wg_world/tile.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Soil { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 52 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Soil` 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: associated items `create`, `get_mutable_cell_ref_from_point`, and `does_cell_exist_at_point` are never used [INFO] [stdout] --> src/wg_world/layers.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Layer { [INFO] [stdout] | ----- associated items in this trait [INFO] [stdout] 5 | fn create_empty(width: i32, height: i32) -> Self; [INFO] [stdout] 6 | fn create(width: i32, height: i32, fill_with: Vec) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | fn get_cell_ref_from_point(&self, x: i32, y: i32) -> &T; [INFO] [stdout] 8 | fn get_mutable_cell_ref_from_point(&mut self, x: i32, y: i32) -> &mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn does_cell_exist_at_point(&self, x: i32, y: i32) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_WIDTH` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub MAP_WIDTH: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `map_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_HEIGHT` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub MAP_HEIGHT: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `map_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_OFFSET_X` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub MAP_OFFSET_X: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `map_offset_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_OFFSET_Y` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub MAP_OFFSET_Y: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `map_offset_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN_WIDTH` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub SCREEN_WIDTH: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN_HEIGHT` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub SCREEN_HEIGHT: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_core/config.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Biome` [INFO] [stdout] 6 | pub struct Biome { [INFO] [stdout] | ----- `Biome` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TileMeta` [INFO] [stdout] 2 | pub struct TileMeta { [INFO] [stdout] | -------- `TileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tile` [INFO] [stdout] 19 | pub struct Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoilMeta` [INFO] [stdout] 40 | pub struct SoilMeta { [INFO] [stdout] | -------- `SoilMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Soil` [INFO] [stdout] 51 | pub struct Soil { [INFO] [stdout] | ---- `Soil` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_console` [INFO] [stdout] --> src/wg_world/world.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | entities_console: &mut tcod::console::Offscreen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/wg_world/world.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn tick(&mut self, root: &mut tcod::RootConsole) -> () { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_to` and `distance_between` are never used [INFO] [stdout] --> src/wg_utils/point_2d.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Point2D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn distance_to(&self, other: Point2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn distance_between(source: Point2D, target: Point2D) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_name` is never read [INFO] [stdout] --> src/wg_world/biome.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Biome { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] 8 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Biome` 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 `biome` is never read [INFO] [stdout] --> src/wg_world/map.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub biome: Biome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `movement_cost` and `blocks_sight` are never read [INFO] [stdout] --> src/wg_world/tile.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TileMeta { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub movement_cost: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub blocks_sight: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileMeta` 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: fields `name` and `display_name` are never read [INFO] [stdout] --> src/wg_world/tile.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` 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: fields `name` and `display_name` are never read [INFO] [stdout] --> src/wg_world/tile.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Soil { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 52 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Soil` 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: associated items `create`, `get_mutable_cell_ref_from_point`, and `does_cell_exist_at_point` are never used [INFO] [stdout] --> src/wg_world/layers.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Layer { [INFO] [stdout] | ----- associated items in this trait [INFO] [stdout] 5 | fn create_empty(width: i32, height: i32) -> Self; [INFO] [stdout] 6 | fn create(width: i32, height: i32, fill_with: Vec) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | fn get_cell_ref_from_point(&self, x: i32, y: i32) -> &T; [INFO] [stdout] 8 | fn get_mutable_cell_ref_from_point(&mut self, x: i32, y: i32) -> &mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn does_cell_exist_at_point(&self, x: i32, y: i32) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_WIDTH` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub MAP_WIDTH: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `map_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_HEIGHT` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub MAP_HEIGHT: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `map_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_OFFSET_X` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub MAP_OFFSET_X: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `map_offset_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MAP_OFFSET_Y` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub MAP_OFFSET_Y: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `map_offset_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN_WIDTH` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub SCREEN_WIDTH: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SCREEN_HEIGHT` should have a snake case name [INFO] [stdout] --> src/wg_core/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub SCREEN_HEIGHT: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_core/config.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TestUtils` should have a snake case name [INFO] [stdout] --> src/wg_tests/test_utils.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod TestUtils { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Biome` [INFO] [stdout] 6 | pub struct Biome { [INFO] [stdout] | ----- `Biome` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TileMeta` [INFO] [stdout] 2 | pub struct TileMeta { [INFO] [stdout] | -------- `TileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Tile` [INFO] [stdout] 19 | pub struct Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SoilMeta` [INFO] [stdout] 40 | pub struct SoilMeta { [INFO] [stdout] | -------- `SoilMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Soil` [INFO] [stdout] 51 | pub struct Soil { [INFO] [stdout] | ---- `Soil` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.41s [INFO] running `Command { std: "docker" "inspect" "2986f56a7e947208076787fd48f284b563caf127f002f3339a5d239223a347df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2986f56a7e947208076787fd48f284b563caf127f002f3339a5d239223a347df", kill_on_drop: false }` [INFO] [stdout] 2986f56a7e947208076787fd48f284b563caf127f002f3339a5d239223a347df