[INFO] fetching crate technical_indicators 0.5.0... [INFO] testing technical_indicators-0.5.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate technical_indicators 0.5.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate technical_indicators 0.5.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de81a9bb45d2619f0432eb608685ff6e503b67073a5aa6ee6f01752c9a1b038b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de81a9bb45d2619f0432eb608685ff6e503b67073a5aa6ee6f01752c9a1b038b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de81a9bb45d2619f0432eb608685ff6e503b67073a5aa6ee6f01752c9a1b038b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de81a9bb45d2619f0432eb608685ff6e503b67073a5aa6ee6f01752c9a1b038b", kill_on_drop: false }` [INFO] [stdout] de81a9bb45d2619f0432eb608685ff6e503b67073a5aa6ee6f01752c9a1b038b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc9b511749e6c7721b818706bc9151f6247b7997f2898b1c8bfafdbe96f6f955 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fc9b511749e6c7721b818706bc9151f6247b7997f2898b1c8bfafdbe96f6f955", kill_on_drop: false }` [INFO] [stderr] Compiling technical_indicators v0.5.0 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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/indicators/ichimoku.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/charts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "fc9b511749e6c7721b818706bc9151f6247b7997f2898b1c8bfafdbe96f6f955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9b511749e6c7721b818706bc9151f6247b7997f2898b1c8bfafdbe96f6f955", kill_on_drop: false }` [INFO] [stdout] fc9b511749e6c7721b818706bc9151f6247b7997f2898b1c8bfafdbe96f6f955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 531c3348d751dd89b291dd006da100296fcf402e025b9463da7ebe71efec068a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "531c3348d751dd89b291dd006da100296fcf402e025b9463da7ebe71efec068a", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [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] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stderr] Compiling json v0.11.15 [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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/indicators/ichimoku.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/charts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling technical_indicators v0.5.0 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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/indicators/ichimoku.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | chart: &'chart Chart, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [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] | ^^^^^ help: use `dyn`: `dyn Chart` [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] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/charts/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "531c3348d751dd89b291dd006da100296fcf402e025b9463da7ebe71efec068a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531c3348d751dd89b291dd006da100296fcf402e025b9463da7ebe71efec068a", kill_on_drop: false }` [INFO] [stdout] 531c3348d751dd89b291dd006da100296fcf402e025b9463da7ebe71efec068a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 641c949fbdf224c7465f904bf89ee7908eae80aa0f475e53c91b0cb80526a2c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "641c949fbdf224c7465f904bf89ee7908eae80aa0f475e53c91b0cb80526a2c6", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | chart: &'chart Chart, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:45:31 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(chart: &'chart Chart, series_type: Source) -> Self { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | fn as_chart(&self) -> &Chart; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | let chart: &'chart Chart = self.as_chart(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:95:28 [INFO] [stderr] | [INFO] [stderr] 95 | let chart: &'chart Chart = self.as_chart(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:100:28 [INFO] [stderr] | [INFO] [stderr] 100 | let chart: &'chart Chart = self.as_chart(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:105:28 [INFO] [stderr] | [INFO] [stderr] 105 | let chart: &'chart Chart = self.as_chart(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/mod.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | let chart: &'chart Chart = self.as_chart(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/charts/candlestick.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | fn as_chart(&self) -> &Chart { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `charts::SourceSeries` [INFO] [stderr] --> src/indicators/ichimoku.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use charts::SourceSeries; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/indicators/ichimoku.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | chart: &'chart Chart, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/indicators/ichimoku.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | chart: &'chart Chart, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/indicators/ichimoku.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn default(chart: &'chart Chart) -> Self { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Chart` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: field is never read: `offset` [INFO] [stderr] --> src/charts/mod.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | offset: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `technical_indicators` (lib) generated 14 warnings [INFO] [stderr] warning: `technical_indicators` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/technical_indicators-e82821c6ff730795) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-de562d94e0253a41) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test charts::candlestick::push_get_data_points ... ok [INFO] [stdout] test indicators::sma::push_get_data_points ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests technical_indicators [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "641c949fbdf224c7465f904bf89ee7908eae80aa0f475e53c91b0cb80526a2c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641c949fbdf224c7465f904bf89ee7908eae80aa0f475e53c91b0cb80526a2c6", kill_on_drop: false }` [INFO] [stdout] 641c949fbdf224c7465f904bf89ee7908eae80aa0f475e53c91b0cb80526a2c6