[INFO] cloning repository https://github.com/bahelms/trader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bahelms/trader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Ftrader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Ftrader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28f89857b1b6bec064039920c8b761ad6855f977
[INFO] checking bahelms/trader against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbahelms%2Ftrader" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bahelms/trader
[INFO] finished tweaking git repo https://github.com/bahelms/trader
[INFO] tweaked toml for git repo https://github.com/bahelms/trader written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bahelms/trader on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bahelms/trader 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aeabf99014e56a661a1d70b72e7f45e5ae1735abb8460fd46eadb9351a0ca29c
[INFO] running `Command { std: "docker" "start" "-a" "aeabf99014e56a661a1d70b72e7f45e5ae1735abb8460fd46eadb9351a0ca29c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aeabf99014e56a661a1d70b72e7f45e5ae1735abb8460fd46eadb9351a0ca29c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aeabf99014e56a661a1d70b72e7f45e5ae1735abb8460fd46eadb9351a0ca29c", kill_on_drop: false }`
[INFO] [stdout] aeabf99014e56a661a1d70b72e7f45e5ae1735abb8460fd46eadb9351a0ca29c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f73c5175bb7b1db87e1b4197ed7d8f5f4a51763073dcd4233a9b0a9c3c28fe27
[INFO] running `Command { std: "docker" "start" "-a" "f73c5175bb7b1db87e1b4197ed7d8f5f4a51763073dcd4233a9b0a9c3c28fe27", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling time v0.2.18
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking qstring v0.7.2
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking chunked_transfer v1.2.0
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking webpki v0.21.3
[INFO] [stderr]     Checking sct v0.6.0
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]     Checking time-macros v0.1.0
[INFO] [stderr]     Checking ureq v1.4.0
[INFO] [stderr]     Checking trader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `client` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Client` is never constructed
[INFO] [stdout]   --> src/apis/polygon.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Client<'a> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `price_history` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'a> Client<'a> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 24 |     pub fn price_history(
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CandleHolder` is never constructed
[INFO] [stdout]   --> src/apis/polygon.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct CandleHolder {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_results` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn cache_results(ticker: &str, results: &Vec<serde_json::value::Value>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_candle` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn format_candle(candle: &serde_json::value::Value) -> Candle {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `datetime` is never used
[INFO] [stdout]   --> src/clock.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn datetime(y: i32, month: u32, d: u32, h: u32, m: u32, s: u32) -> LocalDateTime {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sma9CrossesSma180` is never constructed
[INFO] [stdout]   --> src/strategies.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Sma9CrossesSma180<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `entry_signal`, `exit_signal`, `setup_found`, and `execute` are never used
[INFO] [stdout]    --> src/strategies.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl<'a> Sma9CrossesSma180<'a> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout]  74 |     pub fn new(ticker: &'a String, candles: &[Candle]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn entry_signal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn exit_signal(&self, candle: &Candle) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn setup_found(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn execute<B: Broker>(&mut self, price_data: &mut PriceData, account: &mut Account<'a, B>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/apis/alpha_vantage.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]   |                    ^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn client(env: &config::Env) -> Client<'_> {
[INFO] [stdout]   |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/apis/polygon.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]    |                    ^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/trading.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn current_position(&self) -> Option<&Position> {
[INFO] [stdout]    |                             ^^^^^            ^^^^^^^^^
[INFO] [stdout]    |                             |                ||
[INFO] [stdout]    |                             |                |the same lifetime is hidden here
[INFO] [stdout]    |                             |                the same lifetime is elided here
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn current_position(&self) -> Option<&Position<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `client` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Client` is never constructed
[INFO] [stdout]   --> src/apis/polygon.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Client<'a> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `price_history` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'a> Client<'a> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] 24 |     pub fn price_history(
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CandleHolder` is never constructed
[INFO] [stdout]   --> src/apis/polygon.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct CandleHolder {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_results` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn cache_results(ticker: &str, results: &Vec<serde_json::value::Value>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_candle` is never used
[INFO] [stdout]   --> src/apis/polygon.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn format_candle(candle: &serde_json::value::Value) -> Candle {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sma9CrossesSma180` is never constructed
[INFO] [stdout]   --> src/strategies.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Sma9CrossesSma180<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `entry_signal`, `exit_signal`, `setup_found`, and `execute` are never used
[INFO] [stdout]    --> src/strategies.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl<'a> Sma9CrossesSma180<'a> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout]  74 |     pub fn new(ticker: &'a String, candles: &[Candle]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn entry_signal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn exit_signal(&self, candle: &Candle) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn setup_found(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn execute<B: Broker>(&mut self, price_data: &mut PriceData, account: &mut Account<'a, B>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> src/apis/alpha_vantage.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]   |                    ^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |                    |
[INFO] [stdout]   |                    the lifetime is elided here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn client(env: &config::Env) -> Client<'_> {
[INFO] [stdout]   |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/apis/polygon.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client {
[INFO] [stdout]    |                    ^^^^^^^^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn client(env: &config::Env) -> Client<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/trading.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn current_position(&self) -> Option<&Position> {
[INFO] [stdout]    |                             ^^^^^            ^^^^^^^^^
[INFO] [stdout]    |                             |                ||
[INFO] [stdout]    |                             |                |the same lifetime is hidden here
[INFO] [stdout]    |                             |                the same lifetime is elided here
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn current_position(&self) -> Option<&Position<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.55s
[INFO] running `Command { std: "docker" "inspect" "f73c5175bb7b1db87e1b4197ed7d8f5f4a51763073dcd4233a9b0a9c3c28fe27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f73c5175bb7b1db87e1b4197ed7d8f5f4a51763073dcd4233a9b0a9c3c28fe27", kill_on_drop: false }`
[INFO] [stdout] f73c5175bb7b1db87e1b4197ed7d8f5f4a51763073dcd4233a9b0a9c3c28fe27
