[INFO] cloning repository https://github.com/Spector-Studios/luminara [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spector-Studios/luminara" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpector-Studios%2Fluminara", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpector-Studios%2Fluminara'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9a64630867a637ec3f7c48854b60d50670327a9 [INFO] building Spector-Studios/luminara/e9a64630867a637ec3f7c48854b60d50670327a9 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpector-Studios%2Fluminara" "/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/Spector-Studios/luminara [INFO] finished tweaking git repo https://github.com/Spector-Studios/luminara [INFO] tweaked toml for git repo https://github.com/Spector-Studios/luminara written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Spector-Studios/luminara on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Spector-Studios/luminara 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumset v1.1.10 [INFO] [stderr] Downloaded enumset_derive v0.14.0 [INFO] [stderr] Downloaded ttmap v0.3.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dec8c5a18982c97311505801c4b6ea05b77ab1bf68213c4176c213642fdd3c19 [INFO] running `Command { std: "docker" "start" "-a" "dec8c5a18982c97311505801c4b6ea05b77ab1bf68213c4176c213642fdd3c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dec8c5a18982c97311505801c4b6ea05b77ab1bf68213c4176c213642fdd3c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec8c5a18982c97311505801c4b6ea05b77ab1bf68213c4176c213642fdd3c19", kill_on_drop: false }` [INFO] [stdout] dec8c5a18982c97311505801c4b6ea05b77ab1bf68213c4176c213642fdd3c19 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7cb88c0e85ebe47ffb9475e25186019c0857541b34cf7c6d69e6ae93841afa89 [INFO] running `Command { std: "docker" "start" "-a" "7cb88c0e85ebe47ffb9475e25186019c0857541b34cf7c6d69e6ae93841afa89", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling ttmap v0.3.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling macroquad_ex_ui v0.1.0 (/opt/rustwide/workdir/crates/macroquad_ex_ui) [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling shade v0.1.0 (/opt/rustwide/workdir/crates/shade) [INFO] [stderr] Compiling input_lib v0.1.0 (/opt/rustwide/workdir/crates/input_lib) [INFO] [stdout] warning: unused macro definition: `internal_w` [INFO] [stdout] --> crates/shade/src/logging.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! internal_w { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `internal_e` [INFO] [stdout] --> crates/shade/src/logging.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | macro_rules! internal_e { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `internal_d` [INFO] [stdout] --> crates/shade/src/logging.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | macro_rules! internal_d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_d` [INFO] [stdout] --> crates/shade/src/logging.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) use internal_d; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_e` [INFO] [stdout] --> crates/shade/src/logging.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) use internal_e; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_w` [INFO] [stdout] --> crates/shade/src/logging.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) use internal_w; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssetKey` is never constructed [INFO] [stdout] --> crates/shade/src/assets/key.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct AssetKey(slotmap::KeyData, PhantomData); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combine_errors` is never used [INFO] [stdout] --> crates/shade/src/errors.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn combine_errors(results: Vec>) -> Result<(), ShadeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling luminara v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/pathfinding.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 123 | panic!("Path not found"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 124 | [INFO] [stdout] 125 | return Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mountain` and `River` are never constructed [INFO] [stdout] --> src/map.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Terrain { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | River, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heigth` is never read [INFO] [stdout] --> src/pathfinding.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DijkstraMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | heigth: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DijkstraMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weapon` is never read [INFO] [stdout] --> src/unit.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub weapon: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` 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: associated items `new` and `next` are never used [INFO] [stdout] --> src/unit.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 102 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 103 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | create_id!(WeaponId); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unit.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 119 | id: WeaponId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.42s [INFO] running `Command { std: "docker" "inspect" "7cb88c0e85ebe47ffb9475e25186019c0857541b34cf7c6d69e6ae93841afa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb88c0e85ebe47ffb9475e25186019c0857541b34cf7c6d69e6ae93841afa89", kill_on_drop: false }` [INFO] [stdout] 7cb88c0e85ebe47ffb9475e25186019c0857541b34cf7c6d69e6ae93841afa89 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] bf0c6c5ded04977ca530ac77ec15bbe95fef46aee588dcee58e92d5ed8d4d2eb [INFO] running `Command { std: "docker" "start" "-a" "bf0c6c5ded04977ca530ac77ec15bbe95fef46aee588dcee58e92d5ed8d4d2eb", kill_on_drop: false }` [INFO] [stdout] warning: unused macro definition: `internal_w` [INFO] [stdout] --> crates/shade/src/logging.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! internal_w { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `internal_e` [INFO] [stdout] --> crates/shade/src/logging.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | macro_rules! internal_e { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `internal_d` [INFO] [stdout] --> crates/shade/src/logging.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | macro_rules! internal_d { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_d` [INFO] [stdout] --> crates/shade/src/logging.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) use internal_d; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_e` [INFO] [stdout] --> crates/shade/src/logging.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) use internal_e; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal_w` [INFO] [stdout] --> crates/shade/src/logging.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) use internal_w; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssetKey` is never constructed [INFO] [stdout] --> crates/shade/src/assets/key.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct AssetKey(slotmap::KeyData, PhantomData); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combine_errors` is never used [INFO] [stdout] --> crates/shade/src/errors.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn combine_errors(results: Vec>) -> Result<(), ShadeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/pathfinding.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 123 | panic!("Path not found"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 124 | [INFO] [stdout] 125 | return Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mountain` and `River` are never constructed [INFO] [stdout] --> src/map.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Terrain { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | River, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heigth` is never read [INFO] [stdout] --> src/pathfinding.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DijkstraMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | heigth: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DijkstraMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weapon` is never read [INFO] [stdout] --> src/unit.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub weapon: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` 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: associated items `new` and `next` are never used [INFO] [stdout] --> src/unit.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 102 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 103 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | create_id!(WeaponId); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unit.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 119 | id: WeaponId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling luminara v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/pathfinding.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 123 | panic!("Path not found"); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 124 | [INFO] [stdout] 125 | return Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mountain` and `River` are never constructed [INFO] [stdout] --> src/map.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Terrain { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 90 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | River, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `heigth` is never read [INFO] [stdout] --> src/pathfinding.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DijkstraMap { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | heigth: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DijkstraMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weapon` is never read [INFO] [stdout] --> src/unit.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Unit { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub weapon: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` 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: associated items `new` and `next` are never used [INFO] [stdout] --> src/unit.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 102 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 103 | pub fn new(id: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | create_id!(WeaponId); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_id` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/unit.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Weapon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 119 | id: WeaponId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weapon` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "bf0c6c5ded04977ca530ac77ec15bbe95fef46aee588dcee58e92d5ed8d4d2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0c6c5ded04977ca530ac77ec15bbe95fef46aee588dcee58e92d5ed8d4d2eb", kill_on_drop: false }` [INFO] [stdout] bf0c6c5ded04977ca530ac77ec15bbe95fef46aee588dcee58e92d5ed8d4d2eb