[INFO] cloning repository https://github.com/carribus/rust_incremental_game_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carribus/rust_incremental_game_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_incremental_game_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_incremental_game_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 218221637525bb0664616f71253d3362717ea1f7 [INFO] checking carribus/rust_incremental_game_test against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_incremental_game_test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carribus/rust_incremental_game_test on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carribus/rust_incremental_game_test [INFO] finished tweaking git repo https://github.com/carribus/rust_incremental_game_test [INFO] tweaked toml for git repo https://github.com/carribus/rust_incremental_game_test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/carribus/rust_incremental_game_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui v0.8.0 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded signal-hook v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaee122a43bfa817e1c4c2619ca0229fef632fb46132b9bc24fe3cc97e35ea3d [INFO] running `Command { std: "docker" "start" "-a" "eaee122a43bfa817e1c4c2619ca0229fef632fb46132b9bc24fe3cc97e35ea3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaee122a43bfa817e1c4c2619ca0229fef632fb46132b9bc24fe3cc97e35ea3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaee122a43bfa817e1c4c2619ca0229fef632fb46132b9bc24fe3cc97e35ea3d", kill_on_drop: false }` [INFO] [stdout] eaee122a43bfa817e1c4c2619ca0229fef632fb46132b9bc24fe3cc97e35ea3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06b1bb256b9d888ff34eb52d82e8902f6f7d3d659f81e3023ca6310ce912e136 [INFO] running `Command { std: "docker" "start" "-a" "06b1bb256b9d888ff34eb52d82e8902f6f7d3d659f81e3023ca6310ce912e136", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Checking crossterm v0.14.2 [INFO] [stderr] Checking tui v0.8.0 [INFO] [stderr] Checking incremental-game-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Producer` [INFO] [stdout] --> src/continuum.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entities::{Producer, ProductType, ProducerEntity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/custom_widgets.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Style, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `List`, `Margin`, `SelectableList` [INFO] [stdout] --> src/ui.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | widgets::{Widget, Block, Borders, Paragraph, Text, List, SelectableList, Table, Row}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | layout::{Layout, Constraint, Direction, Rect, Alignment, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Label` [INFO] [stdout] --> src/ui.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::custom_widgets::{Label, Button}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Producer` [INFO] [stdout] --> src/continuum.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entities::{Producer, ProductType, ProducerEntity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/custom_widgets.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Style, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `List`, `Margin`, `SelectableList` [INFO] [stdout] --> src/ui.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | widgets::{Widget, Block, Borders, Paragraph, Text, List, SelectableList, Table, Row}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | layout::{Layout, Constraint, Direction, Rect, Alignment, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Label` [INFO] [stdout] --> src/ui.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::custom_widgets::{Label, Button}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | execute!(stdout, EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | execute!(self.terminal.backend_mut(), LeaveAlternateScreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | execute!(self.terminal.backend_mut(), DisableMouseCapture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | fn render_top_bar(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | execute!(stdout, EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:141:55 [INFO] [stdout] | [INFO] [stdout] 141 | fn render_actions(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn setup_producers(engine: &mut Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/continuum/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct EngineInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | config: EngineConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_per_unit` is never read [INFO] [stdout] --> src/continuum/entities.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub value_per_unit: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production_time` and `set_production_time` are never used [INFO] [stdout] --> src/continuum/entities.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Producer: Debug + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | fn id(&self) -> &str; [INFO] [stdout] 13 | fn production_time(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_production_time(&mut self, t: u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_cost` and `cost_coefficient` are never read [INFO] [stdout] --> src/continuum/entities.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProducerEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub id: String, [INFO] [stdout] 24 | pub base_cost: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub cost_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/custom_widgets.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | pub fn text(&mut self, text: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/ui.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].iter(), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 122 | IntoIterator::into_iter(["Item", "Qty"]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | execute!(self.terminal.backend_mut(), LeaveAlternateScreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | execute!(self.terminal.backend_mut(), DisableMouseCapture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | fn render_top_bar(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:141:55 [INFO] [stdout] | [INFO] [stdout] 141 | fn render_actions(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn setup_producers(engine: &mut Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/continuum/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct EngineInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | config: EngineConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_per_unit` is never read [INFO] [stdout] --> src/continuum/entities.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub value_per_unit: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production_time` and `set_production_time` are never used [INFO] [stdout] --> src/continuum/entities.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Producer: Debug + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | fn id(&self) -> &str; [INFO] [stdout] 13 | fn production_time(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_production_time(&mut self, t: u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_cost` and `cost_coefficient` are never read [INFO] [stdout] --> src/continuum/entities.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProducerEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub id: String, [INFO] [stdout] 24 | pub base_cost: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub cost_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/custom_widgets.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | pub fn text(&mut self, text: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/ui.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].iter(), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 122 | IntoIterator::into_iter(["Item", "Qty"]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "06b1bb256b9d888ff34eb52d82e8902f6f7d3d659f81e3023ca6310ce912e136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b1bb256b9d888ff34eb52d82e8902f6f7d3d659f81e3023ca6310ce912e136", kill_on_drop: false }` [INFO] [stdout] 06b1bb256b9d888ff34eb52d82e8902f6f7d3d659f81e3023ca6310ce912e136 [INFO] checking carribus/rust_incremental_game_test against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Frust_incremental_game_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carribus/rust_incremental_game_test on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carribus/rust_incremental_game_test [INFO] finished tweaking git repo https://github.com/carribus/rust_incremental_game_test [INFO] tweaked toml for git repo https://github.com/carribus/rust_incremental_game_test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/carribus/rust_incremental_game_test 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e121c8c7c59f392607341daa6d3beadf45b876306497a44d422d87814200a0f9 [INFO] running `Command { std: "docker" "start" "-a" "e121c8c7c59f392607341daa6d3beadf45b876306497a44d422d87814200a0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e121c8c7c59f392607341daa6d3beadf45b876306497a44d422d87814200a0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e121c8c7c59f392607341daa6d3beadf45b876306497a44d422d87814200a0f9", kill_on_drop: false }` [INFO] [stdout] e121c8c7c59f392607341daa6d3beadf45b876306497a44d422d87814200a0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0ff5e7a17a67b37497b093ce2d027f4b613e2d9a59d61511dd110345b087e7d [INFO] running `Command { std: "docker" "start" "-a" "d0ff5e7a17a67b37497b093ce2d027f4b613e2d9a59d61511dd110345b087e7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking signal-hook v0.1.12 [INFO] [stderr] Checking crossterm v0.14.2 [INFO] [stderr] Checking tui v0.8.0 [INFO] [stderr] Checking incremental-game-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Producer` [INFO] [stdout] --> src/continuum.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entities::{Producer, ProductType, ProducerEntity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/custom_widgets.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Style, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `List`, `Margin`, `SelectableList` [INFO] [stdout] --> src/ui.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | widgets::{Widget, Block, Borders, Paragraph, Text, List, SelectableList, Table, Row}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | layout::{Layout, Constraint, Direction, Rect, Alignment, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Label` [INFO] [stdout] --> src/ui.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::custom_widgets::{Label, Button}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Producer` [INFO] [stdout] --> src/continuum.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entities::{Producer, ProductType, ProducerEntity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/custom_widgets.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::style::{Style, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `List`, `Margin`, `SelectableList` [INFO] [stdout] --> src/ui.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | widgets::{Widget, Block, Borders, Paragraph, Text, List, SelectableList, Table, Row}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | layout::{Layout, Constraint, Direction, Rect, Alignment, Margin}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Label` [INFO] [stdout] --> src/ui.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::custom_widgets::{Label, Button}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `self` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | execute!(stdout, EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | execute!(self.terminal.backend_mut(), LeaveAlternateScreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | execute!(self.terminal.backend_mut(), DisableMouseCapture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | execute!(stdout, EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | execute!(stdout, EnableMouseCapture)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | fn render_top_bar(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | execute!(self.terminal.backend_mut(), LeaveAlternateScreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ui.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | execute!(self.terminal.backend_mut(), DisableMouseCapture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_ansi_code` which comes from the expansion of the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:141:55 [INFO] [stdout] | [INFO] [stdout] 141 | fn render_actions(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn setup_producers(engine: &mut Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/continuum/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct EngineInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | config: EngineConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_per_unit` is never read [INFO] [stdout] --> src/continuum/entities.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub value_per_unit: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production_time` and `set_production_time` are never used [INFO] [stdout] --> src/continuum/entities.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Producer: Debug + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | fn id(&self) -> &str; [INFO] [stdout] 13 | fn production_time(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_production_time(&mut self, t: u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_cost` and `cost_coefficient` are never read [INFO] [stdout] --> src/continuum/entities.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProducerEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub id: String, [INFO] [stdout] 24 | pub base_cost: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub cost_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/custom_widgets.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | pub fn text(&mut self, text: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/ui.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].iter(), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 122 | IntoIterator::into_iter(["Item", "Qty"]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | fn render_top_bar(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/ui.rs:141:55 [INFO] [stdout] | [INFO] [stdout] 141 | fn render_actions(f: &mut Frame, engine: &Engine, area: Rect) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | fn setup_producers(engine: &mut Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/continuum/engine.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct EngineInner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | config: EngineConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_per_unit` is never read [INFO] [stdout] --> src/continuum/entities.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub value_per_unit: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production_time` and `set_production_time` are never used [INFO] [stdout] --> src/continuum/entities.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Producer: Debug + Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | fn id(&self) -> &str; [INFO] [stdout] 13 | fn production_time(&self) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_production_time(&mut self, t: u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_cost` and `cost_coefficient` are never read [INFO] [stdout] --> src/continuum/entities.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProducerEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub id: String, [INFO] [stdout] 24 | pub base_cost: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub cost_coefficient: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProducerEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `text` is never used [INFO] [stdout] --> src/custom_widgets.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 34 | pub fn text(&mut self, text: &'a str) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/ui.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].into_iter(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 122 | ["Item", "Qty"].iter(), [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 122 | IntoIterator::into_iter(["Item", "Qty"]), [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "d0ff5e7a17a67b37497b093ce2d027f4b613e2d9a59d61511dd110345b087e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ff5e7a17a67b37497b093ce2d027f4b613e2d9a59d61511dd110345b087e7d", kill_on_drop: false }` [INFO] [stdout] d0ff5e7a17a67b37497b093ce2d027f4b613e2d9a59d61511dd110345b087e7d