[INFO] cloning repository https://github.com/ultimaengineering/stock-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ultimaengineering/stock-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultimaengineering%2Fstock-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultimaengineering%2Fstock-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46cf47a3b8c065fd81e8edc266d4cd6e6f23b7f3 [INFO] testing ultimaengineering/stock-analyzer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultimaengineering%2Fstock-analyzer" "/workspace/builds/worker-67/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-67/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ultimaengineering/stock-analyzer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ultimaengineering/stock-analyzer [INFO] finished tweaking git repo https://github.com/ultimaengineering/stock-analyzer [INFO] tweaked toml for git repo https://github.com/ultimaengineering/stock-analyzer written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate git repo https://github.com/ultimaengineering/stock-analyzer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d79644ac2b46287f18b0344598ea829d3133659983d2829e0e93fbad96634752 [INFO] running `Command { std: "docker" "start" "-a" "d79644ac2b46287f18b0344598ea829d3133659983d2829e0e93fbad96634752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d79644ac2b46287f18b0344598ea829d3133659983d2829e0e93fbad96634752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d79644ac2b46287f18b0344598ea829d3133659983d2829e0e93fbad96634752", kill_on_drop: false }` [INFO] [stdout] d79644ac2b46287f18b0344598ea829d3133659983d2829e0e93fbad96634752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4cc5f31141cd77cb36baeb025d98532e005d61eb2e75e29b255527a1e2e100 [INFO] running `Command { std: "docker" "start" "-a" "ac4cc5f31141cd77cb36baeb025d98532e005d61eb2e75e29b255527a1e2e100", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling rust_decimal v1.8.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling alpaca-client v0.1.2 [INFO] [stderr] Compiling stock-analyzer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/momentum.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, s: Stock) -> TradeDecision { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stock` [INFO] [stdout] --> src/index_funding_balancing.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, stock: Stock) -> TradeDecision { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_entry` [INFO] [stdout] --> src/momentum.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn identify_entry() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_exit` [INFO] [stdout] --> src/momentum.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn identify_exit() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_bull_flag_break_out_pattern` [INFO] [stdout] --> src/momentum.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn identify_bull_flag_break_out_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_flat_top_breakout_pattern` [INFO] [stdout] --> src/momentum.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn identify_flat_top_breakout_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_profit_loss_stop` [INFO] [stdout] --> src/momentum.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn identify_profit_loss_stop() { //Entry Criteria #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_relative_volume` [INFO] [stdout] --> src/momentum.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn identify_relative_volume() { //Entry Criteria #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_float` [INFO] [stdout] --> src/momentum.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn identify_float() { //Entry Criteria #4 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_first_half_of_positions` [INFO] [stdout] --> src/momentum.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn sell_first_half_of_positions() { //Exit Indicator #1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_first_candle` [INFO] [stdout] --> src/momentum.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn sell_on_first_candle() { //Exit Indicator #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_extension_bar_before_reversal` [INFO] [stdout] --> src/momentum.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn sell_on_extension_bar_before_reversal() { //Exit Indicator #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "ac4cc5f31141cd77cb36baeb025d98532e005d61eb2e75e29b255527a1e2e100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4cc5f31141cd77cb36baeb025d98532e005d61eb2e75e29b255527a1e2e100", kill_on_drop: false }` [INFO] [stdout] ac4cc5f31141cd77cb36baeb025d98532e005d61eb2e75e29b255527a1e2e100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9408e3106a897c56c1aa52735742472032401a9b0616d9df88eff52fef614307 [INFO] running `Command { std: "docker" "start" "-a" "9408e3106a897c56c1aa52735742472032401a9b0616d9df88eff52fef614307", 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] Compiling stock-analyzer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/momentum.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, s: Stock) -> TradeDecision { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stock` [INFO] [stdout] --> src/index_funding_balancing.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, stock: Stock) -> TradeDecision { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_entry` [INFO] [stdout] --> src/momentum.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn identify_entry() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_exit` [INFO] [stdout] --> src/momentum.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn identify_exit() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_bull_flag_break_out_pattern` [INFO] [stdout] --> src/momentum.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn identify_bull_flag_break_out_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_flat_top_breakout_pattern` [INFO] [stdout] --> src/momentum.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn identify_flat_top_breakout_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_profit_loss_stop` [INFO] [stdout] --> src/momentum.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn identify_profit_loss_stop() { //Entry Criteria #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_relative_volume` [INFO] [stdout] --> src/momentum.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn identify_relative_volume() { //Entry Criteria #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_float` [INFO] [stdout] --> src/momentum.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn identify_float() { //Entry Criteria #4 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_first_half_of_positions` [INFO] [stdout] --> src/momentum.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn sell_first_half_of_positions() { //Exit Indicator #1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_first_candle` [INFO] [stdout] --> src/momentum.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn sell_on_first_candle() { //Exit Indicator #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_extension_bar_before_reversal` [INFO] [stdout] --> src/momentum.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn sell_on_extension_bar_before_reversal() { //Exit Indicator #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/momentum.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, s: Stock) -> TradeDecision { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stock` [INFO] [stdout] --> src/index_funding_balancing.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_stock(&self, stock: Stock) -> TradeDecision { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_entry` [INFO] [stdout] --> src/momentum.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn identify_entry() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_exit` [INFO] [stdout] --> src/momentum.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn identify_exit() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_bull_flag_break_out_pattern` [INFO] [stdout] --> src/momentum.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn identify_bull_flag_break_out_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_flat_top_breakout_pattern` [INFO] [stdout] --> src/momentum.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn identify_flat_top_breakout_pattern() { // Entry Criteria 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_profit_loss_stop` [INFO] [stdout] --> src/momentum.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn identify_profit_loss_stop() { //Entry Criteria #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_relative_volume` [INFO] [stdout] --> src/momentum.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn identify_relative_volume() { //Entry Criteria #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identify_float` [INFO] [stdout] --> src/momentum.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn identify_float() { //Entry Criteria #4 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_first_half_of_positions` [INFO] [stdout] --> src/momentum.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn sell_first_half_of_positions() { //Exit Indicator #1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_first_candle` [INFO] [stdout] --> src/momentum.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn sell_on_first_candle() { //Exit Indicator #2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sell_on_extension_bar_before_reversal` [INFO] [stdout] --> src/momentum.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn sell_on_extension_bar_before_reversal() { //Exit Indicator #3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.30s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/stock_analyzer-160e62f59d22d057) [INFO] [stderr] Executable tests/momentum_trading_strategy.rs (/opt/rustwide/target/debug/deps/momentum_trading_strategy-220a692f20a3c5c3) [INFO] running `Command { std: "docker" "inspect" "9408e3106a897c56c1aa52735742472032401a9b0616d9df88eff52fef614307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9408e3106a897c56c1aa52735742472032401a9b0616d9df88eff52fef614307", kill_on_drop: false }` [INFO] [stdout] 9408e3106a897c56c1aa52735742472032401a9b0616d9df88eff52fef614307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de4580dd1d5a54fbb924635ce5dc1b2f8c5bbd7c88f89748a5200323dcefa915 [INFO] running `Command { std: "docker" "start" "-a" "de4580dd1d5a54fbb924635ce5dc1b2f8c5bbd7c88f89748a5200323dcefa915", 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] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/momentum.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | fn evaluate_stock(&self, s: Stock) -> TradeDecision { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stock` [INFO] [stderr] --> src/index_funding_balancing.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | fn evaluate_stock(&self, stock: Stock) -> TradeDecision { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_entry` [INFO] [stderr] --> src/momentum.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn identify_entry() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_exit` [INFO] [stderr] --> src/momentum.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | fn identify_exit() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_bull_flag_break_out_pattern` [INFO] [stderr] --> src/momentum.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn identify_bull_flag_break_out_pattern() { // Entry Criteria 1 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_flat_top_breakout_pattern` [INFO] [stderr] --> src/momentum.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn identify_flat_top_breakout_pattern() { // Entry Criteria 1 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_profit_loss_stop` [INFO] [stderr] --> src/momentum.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn identify_profit_loss_stop() { //Entry Criteria #2 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_relative_volume` [INFO] [stderr] --> src/momentum.rs:57:4 [INFO] [stderr] | [INFO] [stderr] 57 | fn identify_relative_volume() { //Entry Criteria #3 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `identify_float` [INFO] [stderr] --> src/momentum.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn identify_float() { //Entry Criteria #4 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sell_first_half_of_positions` [INFO] [stderr] --> src/momentum.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | fn sell_first_half_of_positions() { //Exit Indicator #1 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sell_on_first_candle` [INFO] [stderr] --> src/momentum.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | fn sell_on_first_candle() { //Exit Indicator #2 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sell_on_extension_bar_before_reversal` [INFO] [stderr] --> src/momentum.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn sell_on_extension_bar_before_reversal() { //Exit Indicator #3 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stock-analyzer` (bin "stock-analyzer") generated 12 warnings [INFO] [stderr] warning: `stock-analyzer` (bin "stock-analyzer" test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stock_analyzer-160e62f59d22d057) [INFO] [stderr] Running tests/momentum_trading_strategy.rs (/opt/rustwide/target/debug/deps/momentum_trading_strategy-220a692f20a3c5c3) [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] [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" "de4580dd1d5a54fbb924635ce5dc1b2f8c5bbd7c88f89748a5200323dcefa915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4580dd1d5a54fbb924635ce5dc1b2f8c5bbd7c88f89748a5200323dcefa915", kill_on_drop: false }` [INFO] [stdout] de4580dd1d5a54fbb924635ce5dc1b2f8c5bbd7c88f89748a5200323dcefa915