[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] 143647c0291ad9a419421fe96cbd360c538928d8 [INFO] checking alkavan/exo-colony against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alkavan/exo-colony on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-2-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm v0.24.0 [INFO] [stderr] Downloaded tui v0.18.0 [INFO] [stderr] Downloaded worldgen v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45ff00ec44b7c064596e41db96ce10c2964f75b6d5cbbf0778cf9d11e96022d6 [INFO] running `Command { std: "docker" "start" "-a" "45ff00ec44b7c064596e41db96ce10c2964f75b6d5cbbf0778cf9d11e96022d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45ff00ec44b7c064596e41db96ce10c2964f75b6d5cbbf0778cf9d11e96022d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ff00ec44b7c064596e41db96ce10c2964f75b6d5cbbf0778cf9d11e96022d6", kill_on_drop: false }` [INFO] [stdout] 45ff00ec44b7c064596e41db96ce10c2964f75b6d5cbbf0778cf9d11e96022d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c35241b68270c2112c3a2752c1d08398acd4a19b7c12320afc8407bbc1d840e [INFO] running `Command { std: "docker" "start" "-a" "9c35241b68270c2112c3a2752c1d08398acd4a19b7c12320afc8407bbc1d840e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking worldgen v0.5.3 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking crossterm v0.24.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tui v0.18.0 [INFO] [stderr] Checking 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: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/component.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/game.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/managers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [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: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/component.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/game.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/managers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [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] [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] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "9c35241b68270c2112c3a2752c1d08398acd4a19b7c12320afc8407bbc1d840e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c35241b68270c2112c3a2752c1d08398acd4a19b7c12320afc8407bbc1d840e", kill_on_drop: false }` [INFO] [stdout] 9c35241b68270c2112c3a2752c1d08398acd4a19b7c12320afc8407bbc1d840e [INFO] checking alkavan/exo-colony against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falkavan%2Fexo-colony" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alkavan/exo-colony on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-2-tc2/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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 753ff0b0404d43be743f73b21a19e8686b5a35bc7831937d2d72f6a69a01fd72 [INFO] running `Command { std: "docker" "start" "-a" "753ff0b0404d43be743f73b21a19e8686b5a35bc7831937d2d72f6a69a01fd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "753ff0b0404d43be743f73b21a19e8686b5a35bc7831937d2d72f6a69a01fd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753ff0b0404d43be743f73b21a19e8686b5a35bc7831937d2d72f6a69a01fd72", kill_on_drop: false }` [INFO] [stdout] 753ff0b0404d43be743f73b21a19e8686b5a35bc7831937d2d72f6a69a01fd72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e3ca78efad7446cfdf769a8012fe8fae632e6af7a959a448862e413d791ca4 [INFO] running `Command { std: "docker" "start" "-a" "73e3ca78efad7446cfdf769a8012fe8fae632e6af7a959a448862e413d791ca4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking worldgen v0.5.3 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/signal-hook-registry-1.4.0/src/half_lock.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe { libc::abort() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] error: could not compile `signal-hook-registry` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "73e3ca78efad7446cfdf769a8012fe8fae632e6af7a959a448862e413d791ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e3ca78efad7446cfdf769a8012fe8fae632e6af7a959a448862e413d791ca4", kill_on_drop: false }` [INFO] [stdout] 73e3ca78efad7446cfdf769a8012fe8fae632e6af7a959a448862e413d791ca4