[INFO] cloning repository https://github.com/Hoeppke/rust_tick_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hoeppke/rust_tick_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoeppke%2Frust_tick_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoeppke%2Frust_tick_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a2d3ca0c2cc47fde6f9dafd6ea80fb6dd66a12b [INFO] checking Hoeppke/rust_tick_engine against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoeppke%2Frust_tick_engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hoeppke/rust_tick_engine [INFO] finished tweaking git repo https://github.com/Hoeppke/rust_tick_engine [INFO] tweaked toml for git repo https://github.com/Hoeppke/rust_tick_engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hoeppke/rust_tick_engine on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hoeppke/rust_tick_engine 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Hoeppke/rust_tick_engine against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoeppke%2Frust_tick_engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hoeppke/rust_tick_engine [INFO] finished tweaking git repo https://github.com/Hoeppke/rust_tick_engine [INFO] tweaked toml for git repo https://github.com/Hoeppke/rust_tick_engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hoeppke/rust_tick_engine on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hoeppke/rust_tick_engine 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.4.1 [INFO] [stderr] Downloaded pyo3-build-config v0.22.6 [INFO] [stderr] Downloaded pyo3-macros v0.22.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.6 [INFO] [stderr] Downloaded pyo3-ffi v0.22.6 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded chrono-tz v0.10.3 [INFO] [stderr] Downloaded pyo3 v0.22.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e8ef7af82bdf31d09adbd8905f2a47779a3905afd60fd4c06519579a651b5b8 [INFO] running `Command { std: "docker" "start" "-a" "5e8ef7af82bdf31d09adbd8905f2a47779a3905afd60fd4c06519579a651b5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e8ef7af82bdf31d09adbd8905f2a47779a3905afd60fd4c06519579a651b5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8ef7af82bdf31d09adbd8905f2a47779a3905afd60fd4c06519579a651b5b8", kill_on_drop: false }` [INFO] [stdout] 5e8ef7af82bdf31d09adbd8905f2a47779a3905afd60fd4c06519579a651b5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b46a1d43f7b39714964800daaaf70312f3910267e20558b3ea191556f132e2 [INFO] running `Command { std: "docker" "start" "-a" "73b46a1d43f7b39714964800daaaf70312f3910267e20558b3ea191556f132e2", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Compiling chrono-tz v0.10.3 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Checking tickengine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utc_to_timestamp` [INFO] [stdout] --> src/candle/candle_tree_collection.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use super::timescale::{timestamp_to_utc, utc_to_timestamp, TimeScale}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/candle/timescale.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, NaiveDateTime, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utc_to_timestamp` [INFO] [stdout] --> src/candle/candle_tree_collection.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use super::timescale::{timestamp_to_utc, utc_to_timestamp, TimeScale}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/candle/timescale.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Duration, NaiveDateTime, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `candle::timescale::TimeScale::__pyo3__generated____richcmp__::DEPRECATION`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)` to keep the current behavior. [INFO] [stdout] --> src/candle/timescale.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `candle::timescale::TimeScale::__pyo3__generated____richcmp__::DEPRECATION`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)` to keep the current behavior. [INFO] [stdout] --> src/candle/timescale.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyclass] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PotentiallyEmptyPriceCandle` is never constructed [INFO] [stdout] --> src/candle/candle.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct PotentiallyEmptyPriceCandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/candle/candle.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl PotentiallyEmptyPriceCandle { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 108 | pub fn get_start_utc(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_duration(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_end_utc(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_price_open(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_price_close(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_price_high(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_price_low(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_contents(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn join(&self, other: &PotentiallyEmptyPriceCandle) -> PotentiallyEmptyPriceCandle { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/candle/candle_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CandleFromSubCandles { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 12 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/candle/candle_tree.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct PriceCandleStack { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 250 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timeframe`, and `tstamp_start` are never read [INFO] [stdout] --> src/candle/candle_tree.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct CandleTree { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 308 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 309 | timeframe: TimeScale, // timeframe of the current candle [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 310 | tstamp_start: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_start` and `update_end` are never used [INFO] [stdout] --> src/candle/candle_tree_collection.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TimeRange { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_start(&mut self, new_start: &DateTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn update_end(&mut self, new_end: &DateTime) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `timeframe` are never read [INFO] [stdout] --> src/candle/candle_tree_collection.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PyCandleTreeColletion { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 169 | // Exposes candle tree collection to python [INFO] [stdout] 170 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | timeframe: TimeScale, // timeframe of the current candle [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `time_end` is never used [INFO] [stdout] --> src/candle/candlelike.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl dyn CandleLike + '_ { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn time_end(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/candle/candle_tree_collection.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 179 | let contents = CandleTreeCollection::new(symbol.clone(), timeframe.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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: struct `PotentiallyEmptyPriceCandle` is never constructed [INFO] [stdout] --> src/candle/candle.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct PotentiallyEmptyPriceCandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/candle/candle.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl PotentiallyEmptyPriceCandle { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 108 | pub fn get_start_utc(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_duration(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_end_utc(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_price_open(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_price_close(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_price_high(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_price_low(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_contents(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn join(&self, other: &PotentiallyEmptyPriceCandle) -> PotentiallyEmptyPriceCandle { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/candle/candle_tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CandleFromSubCandles { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 12 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/candle/candle_tree.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct PriceCandleStack { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 250 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timeframe`, and `tstamp_start` are never read [INFO] [stdout] --> src/candle/candle_tree.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct CandleTree { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 308 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 309 | timeframe: TimeScale, // timeframe of the current candle [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 310 | tstamp_start: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_start` and `update_end` are never used [INFO] [stdout] --> src/candle/candle_tree_collection.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TimeRange { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_start(&mut self, new_start: &DateTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn update_end(&mut self, new_end: &DateTime) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `timeframe` are never read [INFO] [stdout] --> src/candle/candle_tree_collection.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PyCandleTreeColletion { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 169 | // Exposes candle tree collection to python [INFO] [stdout] 170 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | timeframe: TimeScale, // timeframe of the current candle [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `time_end` is never used [INFO] [stdout] --> src/candle/candlelike.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl dyn CandleLike + '_ { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn time_end(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/candle/candle_tree_collection.rs:179:56 [INFO] [stdout] | [INFO] [stdout] 179 | let contents = CandleTreeCollection::new(symbol.clone(), timeframe.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.46s [INFO] running `Command { std: "docker" "inspect" "73b46a1d43f7b39714964800daaaf70312f3910267e20558b3ea191556f132e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b46a1d43f7b39714964800daaaf70312f3910267e20558b3ea191556f132e2", kill_on_drop: false }` [INFO] [stdout] 73b46a1d43f7b39714964800daaaf70312f3910267e20558b3ea191556f132e2