[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] testing alkavan/exo-colony against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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] 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] validating manifest of git repo https://github.com/alkavan/exo-colony on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded termion v4.0.2 [INFO] [stderr] Downloaded worldgen v0.5.3 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded tui v0.19.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e85931fc995c7c6dcbbd72fb7704064b892450cba574ad7cd7fea675d3a58c30 [INFO] running `Command { std: "docker" "start" "-a" "e85931fc995c7c6dcbbd72fb7704064b892450cba574ad7cd7fea675d3a58c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e85931fc995c7c6dcbbd72fb7704064b892450cba574ad7cd7fea675d3a58c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e85931fc995c7c6dcbbd72fb7704064b892450cba574ad7cd7fea675d3a58c30", kill_on_drop: false }` [INFO] [stdout] e85931fc995c7c6dcbbd72fb7704064b892450cba574ad7cd7fea675d3a58c30 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3aa94a3fbc80a86a02d44dded10d760092f067c862b6af5991899a40c1db483b [INFO] running `Command { std: "docker" "start" "-a" "3aa94a3fbc80a86a02d44dded10d760092f067c862b6af5991899a40c1db483b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling termion v4.0.2 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling worldgen v0.5.3 [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: fields `capacity` and `commodities` are never read [INFO] [stdout] --> src/component.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CommodityStorageComponent { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 63 | pub capacity: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | pub commodities: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [INFO] [stdout] warning: methods `capacity`, `capacity_free`, `commodity`, `commodity_mut`, `commodity_add`, and `commodities` 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] 144 | pub fn capacity_free(&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] 156 | pub fn commodity_add(&mut self, group: &Commodity, amount: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn commodities(&self) -> Vec<&Commodity> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component` is never read [INFO] [stdout] --> src/component.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | CommodityStorage { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 182 | component: CommodityStorageComponent, [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: trait `CommodityStorageTrait` is never used [INFO] [stdout] --> src/structures.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait CommodityStorageTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StructureGroupTrait` is never used [INFO] [stdout] --> src/structures.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait StructureGroupTrait { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | fn items(&self) -> Vec; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | fn items(&self) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn style(&self, name: String, index: usize) -> Span; [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn style(&self, name: String, index: usize) -> Span<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 157 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 236 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 355 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:520:36 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph { [INFO] [stdout] | ^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:544:41 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:554:38 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:564:41 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:574:42 [INFO] [stdout] | [INFO] [stdout] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.46s [INFO] running `Command { std: "docker" "inspect" "3aa94a3fbc80a86a02d44dded10d760092f067c862b6af5991899a40c1db483b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa94a3fbc80a86a02d44dded10d760092f067c862b6af5991899a40c1db483b", kill_on_drop: false }` [INFO] [stdout] 3aa94a3fbc80a86a02d44dded10d760092f067c862b6af5991899a40c1db483b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bfffc1d48ba36f95224b55f068890a01608678b4163d965750ba01b5e683ab77 [INFO] running `Command { std: "docker" "start" "-a" "bfffc1d48ba36f95224b55f068890a01608678b4163d965750ba01b5e683ab77", 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: fields `capacity` and `commodities` are never read [INFO] [stdout] --> src/component.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CommodityStorageComponent { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 63 | pub capacity: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | pub commodities: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [INFO] [stdout] warning: methods `capacity`, `capacity_free`, `commodity`, `commodity_mut`, `commodity_add`, and `commodities` 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] 144 | pub fn capacity_free(&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] 156 | pub fn commodity_add(&mut self, group: &Commodity, amount: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn commodities(&self) -> Vec<&Commodity> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `component` is never read [INFO] [stdout] --> src/component.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 181 | CommodityStorage { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 182 | component: CommodityStorageComponent, [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: trait `CommodityStorageTrait` is never used [INFO] [stdout] --> src/structures.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub trait CommodityStorageTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StructureGroupTrait` is never used [INFO] [stdout] --> src/structures.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait StructureGroupTrait { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | fn items(&self) -> Vec; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | fn items(&self) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn style(&self, name: String, index: usize) -> Span; [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn style(&self, name: String, index: usize) -> Span<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 157 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 236 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | fn items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | fn items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 355 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:520:36 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph { [INFO] [stdout] | ^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:544:41 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:554:38 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:564:41 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gui.rs:574:42 [INFO] [stdout] | [INFO] [stdout] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "bfffc1d48ba36f95224b55f068890a01608678b4163d965750ba01b5e683ab77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfffc1d48ba36f95224b55f068890a01608678b4163d965750ba01b5e683ab77", kill_on_drop: false }` [INFO] [stdout] bfffc1d48ba36f95224b55f068890a01608678b4163d965750ba01b5e683ab77 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ca75b407fe04c68124ded650765861a94ab805ff3dfa2ea174d7c6778dd65fe4 [INFO] running `Command { std: "docker" "start" "-a" "ca75b407fe04c68124ded650765861a94ab805ff3dfa2ea174d7c6778dd65fe4", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `capacity` and `commodities` are never read [INFO] [stderr] --> src/component.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct CommodityStorageComponent { [INFO] [stderr] | ------------------------- fields in this struct [INFO] [stderr] 63 | pub capacity: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 64 | pub commodities: HashMap, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `capacity`, `resource`, and `resource_mut` are never used [INFO] [stderr] --> src/component.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl ResourceStorageComponent { [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn capacity(&self, group: &Resource) -> u64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn resource(&self, group: &Resource) -> u64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn resource_mut(&mut self, group: &Resource) -> &mut u64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `capacity`, `capacity_free`, `commodity`, `commodity_mut`, `commodity_add`, and `commodities` are never used [INFO] [stderr] --> src/component.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 124 | impl CommodityStorageComponent { [INFO] [stderr] | ------------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn capacity(&self, group: &Commodity) -> u64 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn capacity_free(&self, group: &Commodity) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn commodity(&self, group: &Commodity) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 152 | pub fn commodity_mut(&mut self, group: &Commodity) -> &mut u64 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn commodity_add(&mut self, group: &Commodity, amount: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn commodities(&self) -> Vec<&Commodity> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `component` is never read [INFO] [stderr] --> src/component.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 181 | CommodityStorage { [INFO] [stderr] | ---------------- field in this variant [INFO] [stderr] 182 | component: CommodityStorageComponent, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_mut` is never used [INFO] [stderr] --> src/game.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 166 | impl ObjectManager { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn get_mut(&mut self, position: &Position) -> Option<&mut MapObject> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `world` is never read [INFO] [stderr] --> src/game.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 215 | pub struct GameMap { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 218 | world: World, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `world` is never used [INFO] [stderr] --> src/game.rs:322:12 [INFO] [stderr] | [INFO] [stderr] 222 | impl GameMap { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 322 | pub fn world(&self) -> &World { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `locations` is never read [INFO] [stderr] --> src/game.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 343 | pub struct MapController { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 347 | locations: HashMap, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `locations`, `object_at`, `tile_at`, and `tile_at_mut` are never used [INFO] [stderr] --> src/game.rs:373:12 [INFO] [stderr] | [INFO] [stderr] 350 | impl MapController { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 373 | pub fn locations(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 397 | pub fn object_at(&self, position: &Position) -> Option<&MapObject> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 412 | pub fn tile_at(&self, position: &Position) -> &MapTile { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 419 | pub fn tile_at_mut(&mut self, position: Position) -> &mut MapTile { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_mine_select_widget` is never used [INFO] [stderr] --> src/gui.rs:554:8 [INFO] [stderr] | [INFO] [stderr] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `manufactured_types`, `manufactured_mut`, `has_manufactured`, `withdraw_manufactured`, `commodities_mut`, and `withdraw_commodity` are never used [INFO] [stderr] --> src/managers.rs:307:12 [INFO] [stderr] | [INFO] [stderr] 214 | impl ResourceManager { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 307 | pub fn manufactured_types(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 315 | pub fn manufactured_mut(&mut self) -> IterMut<'_, Manufactured, u64> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 319 | pub fn has_manufactured(&self, manufactured_type: &Manufactured, amount: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 330 | pub fn withdraw_manufactured(&mut self, manufactured_type: &Manufactured, amount: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | pub fn commodities_mut(&mut self) -> IterMut<'_, Commodity, u64> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | pub fn withdraw_commodity(&mut self, commodity_type: &Commodity, amount: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `CommodityStorageTrait` is never used [INFO] [stderr] --> src/structures.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | pub trait CommodityStorageTrait { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `StructureGroupTrait` is never used [INFO] [stderr] --> src/structures.rs:86:11 [INFO] [stderr] | [INFO] [stderr] 86 | pub trait StructureGroupTrait { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_component` and `has_component` are never used [INFO] [stderr] --> src/structures.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 107 | impl StructureBlueprint { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 108 | pub fn add_component(&mut self, name: ComponentName, component: ComponentGroup) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn has_component(&self, name: &ComponentName) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `blueprint_mut` is never used [INFO] [stderr] --> src/structures.rs:450:12 [INFO] [stderr] | [INFO] [stderr] 429 | impl PowerPlant { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 450 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `blueprint_mut` is never used [INFO] [stderr] --> src/structures.rs:504:12 [INFO] [stderr] | [INFO] [stderr] 468 | impl Mine { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 504 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `blueprint_mut` is never used [INFO] [stderr] --> src/structures.rs:701:12 [INFO] [stderr] | [INFO] [stderr] 665 | impl Factory { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 701 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `blueprint_mut` is never used [INFO] [stderr] --> src/structures.rs:771:12 [INFO] [stderr] | [INFO] [stderr] 722 | impl Refinery { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 771 | pub fn blueprint_mut(&mut self) -> &mut StructureBlueprint { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `update_handle`, `draw_handle`, and `input_handle` are never read [INFO] [stderr] --> src/util.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct EventBus { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 13 | rx: mpsc::Receiver, [INFO] [stderr] 14 | update_handle: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 15 | draw_handle: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 16 | input_handle: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:44:14 [INFO] [stderr] | [INFO] [stderr] 44 | fn items(&self) -> Vec; [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 44 | fn items(&self) -> Vec>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | fn style(&self, name: String, index: usize) -> Span; [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | fn style(&self, name: String, index: usize) -> Span<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 78 | fn items(&self) -> Vec { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 78 | fn items(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 118 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:157:14 [INFO] [stderr] | [INFO] [stderr] 157 | fn items(&self) -> Vec { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 157 | fn items(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:197:14 [INFO] [stderr] | [INFO] [stderr] 197 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 197 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:236:14 [INFO] [stderr] | [INFO] [stderr] 236 | fn items(&self) -> Vec { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 236 | fn items(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:276:14 [INFO] [stderr] | [INFO] [stderr] 276 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 276 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:315:14 [INFO] [stderr] | [INFO] [stderr] 315 | fn items(&self) -> Vec { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 315 | fn items(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:355:14 [INFO] [stderr] | [INFO] [stderr] 355 | fn style(&self, name: String, index: usize) -> Span { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 355 | fn style(&self, name: String, index: usize) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:520:36 [INFO] [stderr] | [INFO] [stderr] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph { [INFO] [stderr] | ^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 520 | pub fn draw_console_widget(buffer: &String) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:544:41 [INFO] [stderr] | [INFO] [stderr] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 544 | pub fn draw_structure_menu_widget(menu: &Menu) -> List<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:554:38 [INFO] [stderr] | [INFO] [stderr] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 554 | pub fn draw_mine_select_widget(menu: &MineResourceSelect) -> List<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:564:41 [INFO] [stderr] | [INFO] [stderr] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 564 | pub fn draw_factory_select_widget(menu: &FactoryCommoditySelect) -> List<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/gui.rs:574:42 [INFO] [stderr] | [INFO] [stderr] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 574 | pub fn draw_refinery_select_widget(menu: &RefineryResourceSelect) -> List<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `exo-colony` (bin "exo-colony" test) generated 35 warnings (run `cargo fix --bin "exo-colony" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/exo_colony-c5dd2c006e57a3e1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca75b407fe04c68124ded650765861a94ab805ff3dfa2ea174d7c6778dd65fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca75b407fe04c68124ded650765861a94ab805ff3dfa2ea174d7c6778dd65fe4", kill_on_drop: false }` [INFO] [stdout] ca75b407fe04c68124ded650765861a94ab805ff3dfa2ea174d7c6778dd65fe4