[INFO] cloning repository https://github.com/pierreyoda/project-strategy-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pierreyoda/project-strategy-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpierreyoda%2Fproject-strategy-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpierreyoda%2Fproject-strategy-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3ae315ceb7e5886e47755da23da990417babacd [INFO] checking pierreyoda/project-strategy-game against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpierreyoda%2Fproject-strategy-game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pierreyoda/project-strategy-game on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pierreyoda/project-strategy-game [INFO] finished tweaking git repo https://github.com/pierreyoda/project-strategy-game [INFO] tweaked toml for git repo https://github.com/pierreyoda/project-strategy-game written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pierreyoda/project-strategy-game 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc1/source/wasm_bridge/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/wasm_bridge/Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2ec8fd4ff5b184de0e465a8f0bdea9100fd8a6484d50bb0f58ffea3f074a437 [INFO] running `Command { std: "docker" "start" "-a" "f2ec8fd4ff5b184de0e465a8f0bdea9100fd8a6484d50bb0f58ffea3f074a437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ec8fd4ff5b184de0e465a8f0bdea9100fd8a6484d50bb0f58ffea3f074a437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ec8fd4ff5b184de0e465a8f0bdea9100fd8a6484d50bb0f58ffea3f074a437", kill_on_drop: false }` [INFO] [stdout] f2ec8fd4ff5b184de0e465a8f0bdea9100fd8a6484d50bb0f58ffea3f074a437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e4c155a7a07557a8f5c11dd7f24ca232d3e8c0d82a58c6e4fa00e161576465b [INFO] running `Command { std: "docker" "start" "-a" "4e4c155a7a07557a8f5c11dd7f24ca232d3e8c0d82a58c6e4fa00e161576465b", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/wasm_bridge/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/wasm_bridge/Cargo.toml: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking project_x_core v0.0.1 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking project_x_procgen v0.0.1 (/opt/rustwide/workdir/procgen) [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> procgen/src/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MapGeneratorSettings { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 3 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapGeneratorSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> procgen/src/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MapGenerator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | settings: MapGeneratorSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> procgen/src/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MapGeneratorSettings { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 3 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MapGeneratorSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> procgen/src/map.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MapGenerator { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | settings: MapGeneratorSettings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/hex_map/coordinates.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn distance_from(&self, other: &Self) -> HexMapCoordinatesCommonComputeScalar { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hex_map.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/simulation/ids.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> core/src/hex_map.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HexMap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 28 | tiles: HexMapStorage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supply_node`, `infrastructure`, `settlement`, and `buildings` are never read [INFO] [stdout] --> core/src/hex_map/layers/dynamic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HexMapArtificialTileData { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 7 | supply_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | infrastructure: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | settlement: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | buildings: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapArtificialTileData` 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 `deposits` is never read [INFO] [stdout] --> core/src/hex_map/layers/natural.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HexMapNaturalTileData { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 9 | deposits: Option>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapNaturalTileData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elevation`, `layer_natural`, and `layer_artificial` are never read [INFO] [stdout] --> core/src/hex_map/tile.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HexMapTile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | // In meters. [INFO] [stdout] 6 | elevation: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | layer_natural: HexMapNaturalTileData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | layer_artificial: HexMapArtificialTileData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapTile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_small_rectangular_hashmap` is never used [INFO] [stdout] --> core/src/hex_map.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn generate_small_rectangular_hashmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BuildingProduction { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 12 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingProduction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `cost`, `maintenance_costs`, and `production` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BuildingTemplate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 19 | /// Must be `SimulationID::SimulationAbstractID`. [INFO] [stdout] 20 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | cost: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | maintenance_costs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | production: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `template` and `health_points` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Building<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | template: &'a BuildingTemplate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | health_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/economy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConstructionCost { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstructionCost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/economy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MaintenanceCost { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaintenanceCost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `maintenance_costs` are never read [INFO] [stdout] --> core/src/simulation/infrastructure.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Infrastructure { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | maintenance_costs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Infrastructure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `quantity` are never read [INFO] [stdout] --> core/src/simulation/logistics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ResourceStockpile { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | quantity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceStockpile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `stockpile` are never read [INFO] [stdout] --> core/src/simulation/logistics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SupplyNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | stockpile: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SupplyNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `cost`, `upkeep`, and `attributes` are never read [INFO] [stdout] --> core/src/simulation/military.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UnitTemplate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | /// Must be `SimulationID::SimulationAbstractID`. [INFO] [stdout] 14 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | cost: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | attributes: SimulationPropertyStorage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `template`, and `health_points` are never read [INFO] [stdout] --> core/src/simulation/military.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Unit<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | position: HexMapCoordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | template: &'a UnitTemplate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | health_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `leader`, `superior`, `subordinates`, `attributes`, and `attached_units` are never read [INFO] [stdout] --> core/src/simulation/military.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HqUnit<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | position: HexMapCoordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | superior: Option>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | subordinates: Option>>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | attributes: SimulationPropertyStorage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | attached_units: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HqUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `leader`, `headquarters`, `capital`, and `settlements` are never read [INFO] [stdout] --> core/src/simulation/nations.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Nation<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | leader: Leader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | headquarters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | capital: &'a Settlement, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | settlements: Vec<&'a Settlement>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nation` 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 `name` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct IndividualIDCard { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | name: IndividualName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndividualIDCard` 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 `traits` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Ancestor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | traits: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ancestor` 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 `ancestors` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Lineage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | ancestors: Vec<(Ancestor, Ancestor)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lineage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lineage`, `traits`, and `upkeep` are never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Leader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 82 | id_card: IndividualIDCard, [INFO] [stdout] 83 | lineage: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | /// See `Leader.traits` [INFO] [stdout] 85 | traits: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Leader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `upkeep` are never read [INFO] [stdout] --> core/src/simulation/people/population.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PopulationGroup { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopulationGroup` 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 `resource` is never read [INFO] [stdout] --> core/src/simulation/resources.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ResourceDeposit { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceDeposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `leader`, and `population` are never read [INFO] [stdout] --> core/src/simulation/settlements.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Settlement { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | /// Must be `SimulationID::SimulationMapEntityID`. [INFO] [stdout] 11 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | population: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settlement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> core/src/hex_map/coordinates.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn distance_from(&self, other: &Self) -> HexMapCoordinatesCommonComputeScalar { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/hex_map.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> core/src/simulation/ids.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tiles` is never read [INFO] [stdout] --> core/src/hex_map.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct HexMap { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 28 | tiles: HexMapStorage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supply_node`, `infrastructure`, `settlement`, and `buildings` are never read [INFO] [stdout] --> core/src/hex_map/layers/dynamic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HexMapArtificialTileData { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 7 | supply_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | infrastructure: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | settlement: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | buildings: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapArtificialTileData` 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 `deposits` is never read [INFO] [stdout] --> core/src/hex_map/layers/natural.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HexMapNaturalTileData { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 9 | deposits: Option>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapNaturalTileData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elevation`, `layer_natural`, and `layer_artificial` are never read [INFO] [stdout] --> core/src/hex_map/tile.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HexMapTile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | // In meters. [INFO] [stdout] 6 | elevation: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | layer_natural: HexMapNaturalTileData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | layer_artificial: HexMapArtificialTileData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexMapTile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BuildingProduction { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 12 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingProduction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `cost`, `maintenance_costs`, and `production` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BuildingTemplate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 19 | /// Must be `SimulationID::SimulationAbstractID`. [INFO] [stdout] 20 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | cost: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | maintenance_costs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | production: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildingTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `template` and `health_points` are never read [INFO] [stdout] --> core/src/simulation/buildings.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Building<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | template: &'a BuildingTemplate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | health_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Building` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/economy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ConstructionCost { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstructionCost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `amount` are never read [INFO] [stdout] --> core/src/simulation/economy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MaintenanceCost { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 13 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | amount: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaintenanceCost` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `maintenance_costs` are never read [INFO] [stdout] --> core/src/simulation/infrastructure.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Infrastructure { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | maintenance_costs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Infrastructure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `resource` and `quantity` are never read [INFO] [stdout] --> core/src/simulation/logistics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ResourceStockpile { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | quantity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceStockpile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level` and `stockpile` are never read [INFO] [stdout] --> core/src/simulation/logistics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SupplyNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | stockpile: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SupplyNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `type`, `cost`, `upkeep`, and `attributes` are never read [INFO] [stdout] --> core/src/simulation/military.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UnitTemplate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | /// Must be `SimulationID::SimulationAbstractID`. [INFO] [stdout] 14 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | cost: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | attributes: SimulationPropertyStorage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnitTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `template`, and `health_points` are never read [INFO] [stdout] --> core/src/simulation/military.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Unit<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | position: HexMapCoordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | template: &'a UnitTemplate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | health_points: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `leader`, `superior`, `subordinates`, `attributes`, and `attached_units` are never read [INFO] [stdout] --> core/src/simulation/military.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HqUnit<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | position: HexMapCoordinates, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | superior: Option>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | subordinates: Option>>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | attributes: SimulationPropertyStorage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | attached_units: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HqUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `leader`, `headquarters`, `capital`, and `settlements` are never read [INFO] [stdout] --> core/src/simulation/nations.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Nation<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | leader: Leader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | headquarters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | capital: &'a Settlement, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | settlements: Vec<&'a Settlement>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nation` 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 `name` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct IndividualIDCard { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | name: IndividualName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndividualIDCard` 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 `traits` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Ancestor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | traits: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ancestor` 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 `ancestors` is never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Lineage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | ancestors: Vec<(Ancestor, Ancestor)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lineage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lineage`, `traits`, and `upkeep` are never read [INFO] [stdout] --> core/src/simulation/people/leaders.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Leader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 82 | id_card: IndividualIDCard, [INFO] [stdout] 83 | lineage: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | /// See `Leader.traits` [INFO] [stdout] 85 | traits: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Leader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `upkeep` are never read [INFO] [stdout] --> core/src/simulation/people/population.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PopulationGroup { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | upkeep: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopulationGroup` 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 `resource` is never read [INFO] [stdout] --> core/src/simulation/resources.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ResourceDeposit { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | resource: Resource, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceDeposit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `leader`, and `population` are never read [INFO] [stdout] --> core/src/simulation/settlements.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Settlement { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | /// Must be `SimulationID::SimulationMapEntityID`. [INFO] [stdout] 11 | id: SimulationID, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | leader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | population: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settlement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking project_x_wasm_bridge v0.0.1 (/opt/rustwide/workdir/wasm_bridge) [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> wasm_bridge/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> wasm_bridge/src/procedural.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> wasm_bridge/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> wasm_bridge/src/procedural.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> wasm_bridge/src/wasm_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> wasm_bridge/src/wasm_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.56s [INFO] running `Command { std: "docker" "inspect" "4e4c155a7a07557a8f5c11dd7f24ca232d3e8c0d82a58c6e4fa00e161576465b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e4c155a7a07557a8f5c11dd7f24ca232d3e8c0d82a58c6e4fa00e161576465b", kill_on_drop: false }` [INFO] [stdout] 4e4c155a7a07557a8f5c11dd7f24ca232d3e8c0d82a58c6e4fa00e161576465b