[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] cb07e948b648a08c44ca7669875dcf96f3aae36a [INFO] checking ultimaengineering/stock-analyzer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fultimaengineering%2Fstock-analyzer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ultimaengineering/stock-analyzer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b985913c8892fd82ab2b39736cce581fa8ff3c9418e6f7880a3004cea5926a [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" "18b985913c8892fd82ab2b39736cce581fa8ff3c9418e6f7880a3004cea5926a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b985913c8892fd82ab2b39736cce581fa8ff3c9418e6f7880a3004cea5926a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b985913c8892fd82ab2b39736cce581fa8ff3c9418e6f7880a3004cea5926a", kill_on_drop: false }` [INFO] [stdout] 18b985913c8892fd82ab2b39736cce581fa8ff3c9418e6f7880a3004cea5926a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 42a9fab7386a78e366895448fdcf1a2ce312176bc3d114f3577dd4819a6c0049 [INFO] running `Command { std: "docker" "start" "-a" "42a9fab7386a78e366895448fdcf1a2ce312176bc3d114f3577dd4819a6c0049", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [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] Checking tokio v0.2.24 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rust_decimal v1.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking alpaca-client v0.1.2 [INFO] [stderr] Checking 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 dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "42a9fab7386a78e366895448fdcf1a2ce312176bc3d114f3577dd4819a6c0049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a9fab7386a78e366895448fdcf1a2ce312176bc3d114f3577dd4819a6c0049", kill_on_drop: false }` [INFO] [stdout] 42a9fab7386a78e366895448fdcf1a2ce312176bc3d114f3577dd4819a6c0049