[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#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscuro87%2Frust-worldgen-testing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Oscuro87/rust-worldgen-testing on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded serde_derive v1.0.94 [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c018a3f834a0abbbdb17016a2b2ca7d1edb8a3a8b0909de07af866b61d74071c [INFO] running `Command { std: "docker" "start" "-a" "c018a3f834a0abbbdb17016a2b2ca7d1edb8a3a8b0909de07af866b61d74071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c018a3f834a0abbbdb17016a2b2ca7d1edb8a3a8b0909de07af866b61d74071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c018a3f834a0abbbdb17016a2b2ca7d1edb8a3a8b0909de07af866b61d74071c", kill_on_drop: false }` [INFO] [stdout] c018a3f834a0abbbdb17016a2b2ca7d1edb8a3a8b0909de07af866b61d74071c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb03b5a4948987b594bfa4aab4fecc65f98446b9433723d52020e9df2fd9b6f [INFO] running `Command { std: "docker" "start" "-a" "3cb03b5a4948987b594bfa4aab4fecc65f98446b9433723d52020e9df2fd9b6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling syn v0.15.39 [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] Compiling quote v0.6.12 [INFO] [stderr] Checking getrandom v0.2.3 [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: 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)]` 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)]` on by default [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)]` 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: 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)]` 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: 9 warnings emitted [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)]` on by default [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)]` 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.11s [INFO] running `Command { std: "docker" "inspect" "3cb03b5a4948987b594bfa4aab4fecc65f98446b9433723d52020e9df2fd9b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb03b5a4948987b594bfa4aab4fecc65f98446b9433723d52020e9df2fd9b6f", kill_on_drop: false }` [INFO] [stdout] 3cb03b5a4948987b594bfa4aab4fecc65f98446b9433723d52020e9df2fd9b6f [INFO] checking Oscuro87/rust-worldgen-testing against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscuro87%2Frust-worldgen-testing" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Oscuro87/rust-worldgen-testing on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d280565c5fbdd08e8b0ad3f996cd7ed33de47779920e861ae6a5add75afada0 [INFO] running `Command { std: "docker" "start" "-a" "8d280565c5fbdd08e8b0ad3f996cd7ed33de47779920e861ae6a5add75afada0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d280565c5fbdd08e8b0ad3f996cd7ed33de47779920e861ae6a5add75afada0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d280565c5fbdd08e8b0ad3f996cd7ed33de47779920e861ae6a5add75afada0", kill_on_drop: false }` [INFO] [stdout] 8d280565c5fbdd08e8b0ad3f996cd7ed33de47779920e861ae6a5add75afada0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19b264f465b07c06a2f0e78538758d741c52607266d0ea19c8cc36dbff606528 [INFO] running `Command { std: "docker" "start" "-a" "19b264f465b07c06a2f0e78538758d741c52607266d0ea19c8cc36dbff606528", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking getrandom v0.2.3 [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: 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)]` 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)]` on by default [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)]` 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] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Biome` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TileMeta` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Tile` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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: `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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SoilMeta` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Soil` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [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)]` on by default [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)]` 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] error: non-local `impl` definition, they should be avoided as they go against expectation [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] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/biome.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Biome` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TileMeta` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Tile` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SoilMeta` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/wg_world/tile.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Soil` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wg` (bin "wg") due to 7 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wg` (bin "wg" test) due to 7 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "19b264f465b07c06a2f0e78538758d741c52607266d0ea19c8cc36dbff606528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b264f465b07c06a2f0e78538758d741c52607266d0ea19c8cc36dbff606528", kill_on_drop: false }` [INFO] [stdout] 19b264f465b07c06a2f0e78538758d741c52607266d0ea19c8cc36dbff606528