[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] 793870cdce6198d4aae223f74349db9272568be9 [INFO] checking alkavan/exo-colony against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alkavan/exo-colony on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-4/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded worldgen v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a89e178d03f2c8083666b7baa4bc4925d01c64c523966eaa97bd5387c9e00a60 [INFO] running `Command { std: "docker" "start" "-a" "a89e178d03f2c8083666b7baa4bc4925d01c64c523966eaa97bd5387c9e00a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a89e178d03f2c8083666b7baa4bc4925d01c64c523966eaa97bd5387c9e00a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89e178d03f2c8083666b7baa4bc4925d01c64c523966eaa97bd5387c9e00a60", kill_on_drop: false }` [INFO] [stdout] a89e178d03f2c8083666b7baa4bc4925d01c64c523966eaa97bd5387c9e00a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e254bea29225600d6198f3345c8ae24c8897e514fca6e1d03a2566e592bf1d [INFO] running `Command { std: "docker" "start" "-a" "98e254bea29225600d6198f3345c8ae24c8897e514fca6e1d03a2566e592bf1d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.86: align [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking worldgen v0.5.3 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tui v0.14.0 [INFO] [stderr] Checking exo-colony v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource` [INFO] [stdout] --> src/component.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource_mut` [INFO] [stdout] --> src/component.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity` [INFO] [stdout] --> src/component.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity_mut` [INFO] [stdout] --> src/component.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/game.rs:180:12 [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 is never read: `world` [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world` [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locations` [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `locations` [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_at` [INFO] [stdout] --> src/game.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at` [INFO] [stdout] --> src/game.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at_mut` [INFO] [stdout] --> src/game.rs:419:12 [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 is never used: `draw_mine_select_widget` [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: associated function is never used: `manufactured_types` [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manufactured_mut` [INFO] [stdout] --> src/managers.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_manufactured` [INFO] [stdout] --> src/managers.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_manufactured` [INFO] [stdout] --> src/managers.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodities_mut` [INFO] [stdout] --> src/managers.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_commodity` [INFO] [stdout] --> src/managers.rs:376:12 [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: associated function is never used: `add_component` [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/structures.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_handle` [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw_handle` [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource` [INFO] [stdout] --> src/component.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource_mut` [INFO] [stdout] --> src/component.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity` [INFO] [stdout] --> src/component.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity_mut` [INFO] [stdout] --> src/component.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/game.rs:180:12 [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 is never read: `world` [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world` [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locations` [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `locations` [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_at` [INFO] [stdout] --> src/game.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at` [INFO] [stdout] --> src/game.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at_mut` [INFO] [stdout] --> src/game.rs:419:12 [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 is never used: `draw_mine_select_widget` [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: associated function is never used: `manufactured_types` [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manufactured_mut` [INFO] [stdout] --> src/managers.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_manufactured` [INFO] [stdout] --> src/managers.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_manufactured` [INFO] [stdout] --> src/managers.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodities_mut` [INFO] [stdout] --> src/managers.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_commodity` [INFO] [stdout] --> src/managers.rs:376:12 [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: associated function is never used: `add_component` [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/structures.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_handle` [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw_handle` [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.29s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tui v0.14.0 [INFO] [stderr] Checking exo-colony v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource` [INFO] [stdout] --> src/component.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource_mut` [INFO] [stdout] --> src/component.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity` [INFO] [stdout] --> src/component.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity_mut` [INFO] [stdout] --> src/component.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/game.rs:180:12 [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 is never read: `world` [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world` [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locations` [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `locations` [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_at` [INFO] [stdout] --> src/game.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at` [INFO] [stdout] --> src/game.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at_mut` [INFO] [stdout] --> src/game.rs:419:12 [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 is never used: `draw_mine_select_widget` [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: associated function is never used: `manufactured_types` [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manufactured_mut` [INFO] [stdout] --> src/managers.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_manufactured` [INFO] [stdout] --> src/managers.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_manufactured` [INFO] [stdout] --> src/managers.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodities_mut` [INFO] [stdout] --> src/managers.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_commodity` [INFO] [stdout] --> src/managers.rs:376:12 [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: associated function is never used: `add_component` [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/structures.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_handle` [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw_handle` [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource` [INFO] [stdout] --> src/component.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resource_mut` [INFO] [stdout] --> src/component.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `capacity` [INFO] [stdout] --> src/component.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity` [INFO] [stdout] --> src/component.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodity_mut` [INFO] [stdout] --> src/component.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/game.rs:180:12 [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 is never read: `world` [INFO] [stdout] --> src/game.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | world: World, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world` [INFO] [stdout] --> src/game.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn world(&self) -> &World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locations` [INFO] [stdout] --> src/game.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | locations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `locations` [INFO] [stdout] --> src/game.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_at` [INFO] [stdout] --> src/game.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at` [INFO] [stdout] --> src/game.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tile_at_mut` [INFO] [stdout] --> src/game.rs:419:12 [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 is never used: `draw_mine_select_widget` [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: associated function is never used: `manufactured_types` [INFO] [stdout] --> src/managers.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manufactured_mut` [INFO] [stdout] --> src/managers.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_manufactured` [INFO] [stdout] --> src/managers.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_manufactured` [INFO] [stdout] --> src/managers.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commodities_mut` [INFO] [stdout] --> src/managers.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw_commodity` [INFO] [stdout] --> src/managers.rs:376:12 [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: associated function is never used: `add_component` [INFO] [stdout] --> src/structures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_component` [INFO] [stdout] --> src/structures.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:701:12 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blueprint_mut` [INFO] [stdout] --> src/structures.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `update_handle` [INFO] [stdout] --> src/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw_handle` [INFO] [stdout] --> src/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_handle` [INFO] [stdout] --> src/util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "98e254bea29225600d6198f3345c8ae24c8897e514fca6e1d03a2566e592bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e254bea29225600d6198f3345c8ae24c8897e514fca6e1d03a2566e592bf1d", kill_on_drop: false }` [INFO] [stdout] 98e254bea29225600d6198f3345c8ae24c8897e514fca6e1d03a2566e592bf1d