[INFO] fetching crate backtest_rs 0.1.0... [INFO] linting backtest_rs-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate backtest_rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate backtest_rs 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate backtest_rs 0.1.0 [INFO] tweaked toml for crates.io crate backtest_rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate backtest_rs 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate backtest_rs 0.1.0 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.7.0 [INFO] [stderr] Downloaded tickparse v0.1.0 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91f0a694ef14552433d8902b146d00ec1d061a110ca9b6b24348ae16a6fe2623 [INFO] running `Command { std: "docker" "start" "-a" "91f0a694ef14552433d8902b146d00ec1d061a110ca9b6b24348ae16a6fe2623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f0a694ef14552433d8902b146d00ec1d061a110ca9b6b24348ae16a6fe2623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f0a694ef14552433d8902b146d00ec1d061a110ca9b6b24348ae16a6fe2623", kill_on_drop: false }` [INFO] [stdout] 91f0a694ef14552433d8902b146d00ec1d061a110ca9b6b24348ae16a6fe2623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a3f4103728e12722ec1c02133c544f05cdd8976de4377373a182b9e14fe8712 [INFO] running `Command { std: "docker" "start" "-a" "0a3f4103728e12722ec1c02133c544f05cdd8976de4377373a182b9e14fe8712", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking unit-prefix v0.5.2 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking sysinfo v0.33.1 [INFO] [stderr] Checking console v0.16.2 [INFO] [stderr] Checking indicatif v0.18.3 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking tickparse v0.1.0 [INFO] [stderr] Checking backtest_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `>= y + 1` or `x - 1 >=` [INFO] [stdout] --> src/strategy.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | if self.values.len() >= self.period + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `self.values.len() > self.period` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one [INFO] [stdout] = note: `#[warn(clippy::int_plus_one)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `>= y + 1` or `x - 1 >=` [INFO] [stdout] --> src/strategy.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | if self.values.len() >= self.period + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `self.values.len() > self.period` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one [INFO] [stdout] = note: `#[warn(clippy::int_plus_one)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/types.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Default for SlippageModel { [INFO] [stdout] 32 | | fn default() -> Self { [INFO] [stdout] 33 | | SlippageModel::None [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Default)] [INFO] [stdout] 23 | pub enum SlippageModel { [INFO] [stdout] 24 | /// No slippage applied [INFO] [stdout] 25 ~ #[default] [INFO] [stdout] 26 ~ None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/types.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Default for SlippageModel { [INFO] [stdout] 32 | | fn default() -> Self { [INFO] [stdout] 33 | | SlippageModel::None [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Default)] [INFO] [stdout] 23 | pub enum SlippageModel { [INFO] [stdout] 24 | /// No slippage applied [INFO] [stdout] 25 ~ #[default] [INFO] [stdout] 26 ~ None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/types.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub fn new( [INFO] [stdout] 124 | | id: usize, [INFO] [stdout] 125 | | symbol: String, [INFO] [stdout] 126 | | side: Side, [INFO] [stdout] ... | [INFO] [stdout] 132 | | margin_required: f64, [INFO] [stdout] 133 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/types.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub fn new( [INFO] [stdout] 124 | | id: usize, [INFO] [stdout] 125 | | symbol: String, [INFO] [stdout] 126 | | side: Side, [INFO] [stdout] ... | [INFO] [stdout] 132 | | margin_required: f64, [INFO] [stdout] 133 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/strategy.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | / if crossed_below { [INFO] [stdout] 148 | | if ctx.active_positions.iter().any(|p| p.side == Side::Buy) { [INFO] [stdout] 149 | | ctx.close_all(); [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 147 ~ if crossed_below [INFO] [stdout] 148 ~ && ctx.active_positions.iter().any(|p| p.side == Side::Buy) { [INFO] [stdout] 149 | ctx.close_all(); [INFO] [stdout] 150 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/engine.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if row_count % 10_000 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `row_count.is_multiple_of(10_000)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/strategy.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | / if crossed_below { [INFO] [stdout] 148 | | if ctx.active_positions.iter().any(|p| p.side == Side::Buy) { [INFO] [stdout] 149 | | ctx.close_all(); [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 147 ~ if crossed_below [INFO] [stdout] 148 ~ && ctx.active_positions.iter().any(|p| p.side == Side::Buy) { [INFO] [stdout] 149 | ctx.close_all(); [INFO] [stdout] 150 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/engine.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if row_count % 10_000 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `row_count.is_multiple_of(10_000)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/validation.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 88 | | (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 87 - let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] 88 - (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] 87 + let is_weekend_gap = !(start_weekday != Fri || end_weekday != Sun && end_weekday != Mon) || [INFO] [stdout] | [INFO] [stdout] 87 - let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] 88 - (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] 87 + let is_weekend_gap = (end_weekday == Mon || end_weekday == Sun) && start_weekday == Fri || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/validation.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | gaps.sort_by(|a, b| b.duration_minutes.cmp(&a.duration_minutes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 167 - gaps.sort_by(|a, b| b.duration_minutes.cmp(&a.duration_minutes)); [INFO] [stdout] 167 + gaps.sort_by_key(|b| std::cmp::Reverse(b.duration_minutes)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/validation.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 88 | | (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 87 - let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] 88 - (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] 87 + let is_weekend_gap = !(start_weekday != Fri || end_weekday != Sun && end_weekday != Mon) || [INFO] [stdout] | [INFO] [stdout] 87 - let is_weekend_gap = (start_weekday == Fri && end_weekday == Sun) || [INFO] [stdout] 88 - (start_weekday == Fri && end_weekday == Mon) || [INFO] [stdout] 87 + let is_weekend_gap = (end_weekday == Mon || end_weekday == Sun) && start_weekday == Fri || [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/validation.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | gaps.sort_by(|a, b| b.duration_minutes.cmp(&a.duration_minutes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 167 - gaps.sort_by(|a, b| b.duration_minutes.cmp(&a.duration_minutes)); [INFO] [stdout] 167 + gaps.sort_by_key(|b| std::cmp::Reverse(b.duration_minutes)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Analysis`, `Side`, `Signal`, and `math` [INFO] [stdout] --> examples/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | math, Analysis, Context, Engine, Side, Signal, Strategy, Tick, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `>= y + 1` or `x - 1 >=` [INFO] [stdout] --> examples/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if self.values.len() >= self.period + 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `self.values.len() > self.period` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one [INFO] [stdout] = note: `#[warn(clippy::int_plus_one)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `println!` args [INFO] [stdout] --> src/main.rs:59:68 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", Table::new(vec![report.summary]).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `println!` args [INFO] [stdout] --> src/main.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | println!("{}", Table::new(report.top_gaps).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `println!` args [INFO] [stdout] --> src/main.rs:59:68 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", Table::new(vec![report.summary]).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] = note: `#[warn(clippy::to_string_in_format_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `to_string` applied to a type that implements `Display` in `println!` args [INFO] [stdout] --> src/main.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | println!("{}", Table::new(report.top_gaps).to_string()); [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.43s [INFO] running `Command { std: "docker" "inspect" "0a3f4103728e12722ec1c02133c544f05cdd8976de4377373a182b9e14fe8712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3f4103728e12722ec1c02133c544f05cdd8976de4377373a182b9e14fe8712", kill_on_drop: false }` [INFO] [stdout] 0a3f4103728e12722ec1c02133c544f05cdd8976de4377373a182b9e14fe8712