[INFO] cloning repository https://github.com/alkavan/exo-colony [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alkavan/exo-colony" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ad8fdfe810917028895b1b54b9be779d3c20112 [INFO] building alkavan/exo-colony against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alkavan/exo-colony on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alkavan/exo-colony [INFO] finished tweaking git repo https://github.com/alkavan/exo-colony [INFO] tweaked toml for git repo https://github.com/alkavan/exo-colony written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alkavan/exo-colony 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v4.0.2 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded worldgen v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dac0a597e0cb55490ee6dbd446e32407a1c7dfd66b5bb9bb828fe14692ca7940 [INFO] running `Command { std: "docker" "start" "-a" "dac0a597e0cb55490ee6dbd446e32407a1c7dfd66b5bb9bb828fe14692ca7940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dac0a597e0cb55490ee6dbd446e32407a1c7dfd66b5bb9bb828fe14692ca7940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac0a597e0cb55490ee6dbd446e32407a1c7dfd66b5bb9bb828fe14692ca7940", kill_on_drop: false }` [INFO] [stdout] dac0a597e0cb55490ee6dbd446e32407a1c7dfd66b5bb9bb828fe14692ca7940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc058e5a1b15d5d7a5e0165df1b7d772249e40299504a71d55c10cb7427740bf [INFO] running `Command { std: "docker" "start" "-a" "bc058e5a1b15d5d7a5e0165df1b7d772249e40299504a71d55c10cb7427740bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling worldgen v0.5.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling termion v4.0.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling exo-colony v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `resource`, and `resource_mut` are never used [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ResourceStorageComponent { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `commodity`, and `commodity_mut` are never used [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl CommodityStorageComponent { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/game.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl ObjectManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_mut(&mut self, position: &Position) -> Option<&mut MapObject> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world` is never read [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct GameMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world` is never used [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl GameMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locations` is never read [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct MapController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `locations`, `object_at`, `tile_at`, and `tile_at_mut` are never used [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl MapController { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn tile_at_mut(&mut self, position: Position) -> &mut MapTile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_mine_select_widget` is never used [INFO] [stdout] --> src/gui.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `manufactured_types`, `manufactured_mut`, `has_manufactured`, `withdraw_manufactured`, `commodities_mut`, and `withdraw_commodity` are never used [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl ResourceManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn withdraw_commodity(&mut self, commodity_type: &Commodity, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `commodity`, `commodity_add`, and `commodities` are never used [INFO] [stdout] --> src/structures.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait CommodityStorageTrait { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] 56 | fn capacity(&self, group: &Commodity) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | fn commodity(&self, group: &Commodity) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | fn commodity_add(&mut self, group: &Commodity, amount: u64) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | fn commodities(&self) -> Vec<&Commodity>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group` is never used [INFO] [stdout] --> src/structures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait StructureGroupTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 87 | fn group(&self) -> StructureGroup; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component` and `has_component` are never used [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl StructureBlueprint { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl PowerPlant { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 468 | impl Mine { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 665 | impl Factory { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 722 | impl Refinery { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `update_handle`, `draw_handle`, and `input_handle` are never read [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EventBus { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | rx: mpsc::Receiver, [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "bc058e5a1b15d5d7a5e0165df1b7d772249e40299504a71d55c10cb7427740bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc058e5a1b15d5d7a5e0165df1b7d772249e40299504a71d55c10cb7427740bf", kill_on_drop: false }` [INFO] [stdout] bc058e5a1b15d5d7a5e0165df1b7d772249e40299504a71d55c10cb7427740bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d82f5678fbe2539f59f67096be6586d3eb0e0f607c84e07c70d727e0ae1b081a [INFO] running `Command { std: "docker" "start" "-a" "d82f5678fbe2539f59f67096be6586d3eb0e0f607c84e07c70d727e0ae1b081a", kill_on_drop: false }` [INFO] [stderr] Compiling exo-colony v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `resource`, and `resource_mut` are never used [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl ResourceStorageComponent { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `commodity`, and `commodity_mut` are never used [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl CommodityStorageComponent { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/game.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 166 | impl ObjectManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_mut(&mut self, position: &Position) -> Option<&mut MapObject> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world` is never read [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct GameMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world` is never used [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl GameMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locations` is never read [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct MapController { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `locations`, `object_at`, `tile_at`, and `tile_at_mut` are never used [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl MapController { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn tile_at_mut(&mut self, position: Position) -> &mut MapTile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_mine_select_widget` is never used [INFO] [stdout] --> src/gui.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `manufactured_types`, `manufactured_mut`, `has_manufactured`, `withdraw_manufactured`, `commodities_mut`, and `withdraw_commodity` are never used [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl ResourceManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn withdraw_commodity(&mut self, commodity_type: &Commodity, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `commodity`, `commodity_add`, and `commodities` are never used [INFO] [stdout] --> src/structures.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait CommodityStorageTrait { [INFO] [stdout] | --------------------- methods in this trait [INFO] [stdout] 56 | fn capacity(&self, group: &Commodity) -> u64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | fn commodity(&self, group: &Commodity) -> u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | fn commodity_add(&mut self, group: &Commodity, amount: u64) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | fn commodities(&self) -> Vec<&Commodity>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group` is never used [INFO] [stdout] --> src/structures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait StructureGroupTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 87 | fn group(&self) -> StructureGroup; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component` and `has_component` are never used [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl StructureBlueprint { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl PowerPlant { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 468 | impl Mine { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 665 | impl Factory { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `blueprint_mut` is never used [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 722 | impl Refinery { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `update_handle`, `draw_handle`, and `input_handle` are never read [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EventBus { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | rx: mpsc::Receiver, [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "d82f5678fbe2539f59f67096be6586d3eb0e0f607c84e07c70d727e0ae1b081a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d82f5678fbe2539f59f67096be6586d3eb0e0f607c84e07c70d727e0ae1b081a", kill_on_drop: false }` [INFO] [stdout] d82f5678fbe2539f59f67096be6586d3eb0e0f607c84e07c70d727e0ae1b081a