[INFO] fetching crate technical_indicators 0.5.0... [INFO] checking technical_indicators-0.5.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate technical_indicators 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate technical_indicators 0.5.0 [INFO] finished tweaking crates.io crate technical_indicators 0.5.0 [INFO] tweaked toml for crates.io crate technical_indicators 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate technical_indicators 0.5.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding json v0.11.15 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4ebb3bc92a552e4e89061f0958f95533bed42e68319e2b165f3e8be14d20fd1 [INFO] running `Command { std: "docker" "start" "-a" "c4ebb3bc92a552e4e89061f0958f95533bed42e68319e2b165f3e8be14d20fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4ebb3bc92a552e4e89061f0958f95533bed42e68319e2b165f3e8be14d20fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ebb3bc92a552e4e89061f0958f95533bed42e68319e2b165f3e8be14d20fd1", kill_on_drop: false }` [INFO] [stdout] c4ebb3bc92a552e4e89061f0958f95533bed42e68319e2b165f3e8be14d20fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca65663c5355f2690e2eae66cea3254be825cbde48be1e932ce5a8cf9f74d375 [INFO] running `Command { std: "docker" "start" "-a" "ca65663c5355f2690e2eae66cea3254be825cbde48be1e932ce5a8cf9f74d375", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking technical_indicators v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `charts::SourceSeries` [INFO] [stdout] --> src/indicators/ichimoku.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use charts::SourceSeries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | fn as_chart(&self) -> &Chart; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn as_chart(&self) -> &dyn Chart; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(chart: &'chart Chart, series_type: Source) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(chart: &'chart dyn Chart, series_type: Source) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn default(chart: &'chart Chart) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn default(chart: &'chart dyn Chart) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/candlestick.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn as_chart(&self) -> &Chart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn as_chart(&self) -> &dyn Chart { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> src/charts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SourceSeries<'chart> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceSeries` has a derived impl for the trait `Clone`, 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/charts/mod.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | chart: self.chart.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Chart` does not implement `Clone`, so calling `clone` on `&dyn Chart` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn open<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [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 consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 89 | fn open<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | fn high<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 94 | fn high<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn low<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 99 | fn low<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | fn close<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 104 | fn close<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | fn volume<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 109 | fn volume<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `charts::SourceSeries` [INFO] [stdout] --> src/indicators/ichimoku.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use charts::SourceSeries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | fn as_chart(&self) -> &Chart; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn as_chart(&self) -> &dyn Chart; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(chart: &'chart Chart, series_type: Source) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(chart: &'chart dyn Chart, series_type: Source) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | chart: &'chart dyn Chart, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/indicators/ichimoku.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn default(chart: &'chart Chart) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | pub fn default(chart: &'chart dyn Chart) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/candlestick.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn as_chart(&self) -> &Chart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn as_chart(&self) -> &dyn Chart { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/charts/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let chart: &'chart Chart = self.as_chart(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | let chart: &'chart dyn Chart = self.as_chart(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> src/charts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SourceSeries<'chart> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceSeries` has a derived impl for the trait `Clone`, 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/charts/mod.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | chart: self.chart.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Chart` does not implement `Clone`, so calling `clone` on `&dyn Chart` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn open<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [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 consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 89 | fn open<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | fn high<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 94 | fn high<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn low<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 99 | fn low<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | fn close<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 104 | fn close<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/charts/mod.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | fn volume<'chart>(&'chart self) -> SourceSeries { [INFO] [stdout] | ^^^^^^ ------------ the lifetime gets resolved as `'chart` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'chart` [INFO] [stdout] | [INFO] [stdout] 109 | fn volume<'chart>(&'chart self) -> SourceSeries<'chart> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "ca65663c5355f2690e2eae66cea3254be825cbde48be1e932ce5a8cf9f74d375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca65663c5355f2690e2eae66cea3254be825cbde48be1e932ce5a8cf9f74d375", kill_on_drop: false }` [INFO] [stdout] ca65663c5355f2690e2eae66cea3254be825cbde48be1e932ce5a8cf9f74d375