[INFO] cloning repository https://github.com/martin-bucinskas/yggd-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martin-bucinskas/yggd-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a517f3b614ac5bfd0289784441b6a0b619fb9d1
[INFO] checking martin-bucinskas/yggd-core against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/martin-bucinskas/yggd-core on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/martin-bucinskas/yggd-core
[INFO] finished tweaking git repo https://github.com/martin-bucinskas/yggd-core
[INFO] tweaked toml for git repo https://github.com/martin-bucinskas/yggd-core written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/martin-bucinskas/yggd-core already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", 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] c0f304f9f5f2d96aa4efd009f5e3837cd7e4e09049dc686fae876f6315852af3
[INFO] running `Command { std: "docker" "start" "-a" "c0f304f9f5f2d96aa4efd009f5e3837cd7e4e09049dc686fae876f6315852af3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0f304f9f5f2d96aa4efd009f5e3837cd7e4e09049dc686fae876f6315852af3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f304f9f5f2d96aa4efd009f5e3837cd7e4e09049dc686fae876f6315852af3", kill_on_drop: false }`
[INFO] [stdout] c0f304f9f5f2d96aa4efd009f5e3837cd7e4e09049dc686fae876f6315852af3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62ccc6192d6a836d7bf2cde317f698834eb0b8418994dd15a43efc60190cde4e
[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" "62ccc6192d6a836d7bf2cde317f698834eb0b8418994dd15a43efc60190cde4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]    Compiling tokio v1.10.1
[INFO] [stderr]    Compiling openssl-sys v0.9.66
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]    Compiling openssl v0.10.36
[INFO] [stderr]    Compiling native-tls v0.2.8
[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 getrandom v0.1.16
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tungstenite v0.10.1
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking futures-util v0.3.17
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking pin-project v0.4.28
[INFO] [stderr]     Checking snafu v0.6.10
[INFO] [stderr]     Checking serde v1.0.130
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking tokio-tungstenite v0.10.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking serde_json v1.0.67
[INFO] [stderr]     Checking market-finance v0.1.0
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking alpaca-finance v0.2.1
[INFO] [stderr]     Checking yggd-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `KEY_ID` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let key_id: &'static str = env!("KEY_ID");
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `KEY_SECRET` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let key_secret: &'static str = env!("KEY_SECRET");
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]  --> src/core/yggd_bot.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]   |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     `async` because of this
[INFO] [stdout]   |
[INFO] [stdout]   = note: `async` trait functions are not currently supported
[INFO] [stdout]   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     `async` because of this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |       async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> ...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 46 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 47 | |             .limit_price(limit_price)
[INFO] [stdout] 48 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 49 | |         Result::Ok(order)
[INFO] [stdout] 50 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |       async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> R...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 53 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 54 | |             .limit_price(limit_price)
[INFO] [stdout] 55 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 56 | |         Result::Ok(order)
[INFO] [stdout] 57 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `future`
[INFO] [stdout]   --> src/core/yggd_bot.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 future::ready(())
[INFO] [stdout]    |                 ^^^^^^ use of undeclared crate or module `future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/core/yggd_bot.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | /     pub fn new(&mut self) -> Self {
[INFO] [stdout] 15 | |         let key_id: &'static str = env!("KEY_ID");
[INFO] [stdout] 16 | |         let key_secret: &'static str = env!("KEY_SECRET");
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |         YggdBot {
[INFO] [stdout] 19 | |             client: Alpaca::paper(key_id, key_secret).await.unwrap()
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 20 | |         }
[INFO] [stdout] 21 | |     }
[INFO] [stdout]    | |_____- this is not `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `KEY_ID` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let key_id: &'static str = env!("KEY_ID");
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `KEY_SECRET` not defined
[INFO] [stdout]   --> src/core/yggd_bot.rs:16:40
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let key_secret: &'static str = env!("KEY_SECRET");
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]  --> src/core/yggd_bot.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]   |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     `async` because of this
[INFO] [stdout]   |
[INFO] [stdout]   = note: `async` trait functions are not currently supported
[INFO] [stdout]   = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |     -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     `async` because of this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |       async fn place_sell_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> ...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 46 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 47 | |             .limit_price(limit_price)
[INFO] [stdout] 48 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 49 | |         Result::Ok(order)
[INFO] [stdout] 50 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/core/yggd_bot.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |       async fn place_buy_order(&self, symbol: Box<str>, qty: u32, order_type: OrderType, time_in_force: TimeInForce, limit_price: f64) -> R...
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 53 | |         let order = Order::sell(symbol.as_ref(), qty, order_type, time_in_force)
[INFO] [stdout] 54 | |             .limit_price(limit_price)
[INFO] [stdout] 55 | |             .place(&self.client).await.unwrap();
[INFO] [stdout] 56 | |         Result::Ok(order)
[INFO] [stdout] 57 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `future`
[INFO] [stdout]   --> src/core/yggd_bot.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 future::ready(())
[INFO] [stdout]    |                 ^^^^^^ use of undeclared crate or module `future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/core/yggd_bot.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | /     pub fn new(&mut self) -> Self {
[INFO] [stdout] 15 | |         let key_id: &'static str = env!("KEY_ID");
[INFO] [stdout] 16 | |         let key_secret: &'static str = env!("KEY_SECRET");
[INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |         YggdBot {
[INFO] [stdout] 19 | |             client: Alpaca::paper(key_id, key_secret).await.unwrap()
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 20 | |         }
[INFO] [stdout] 21 | |     }
[INFO] [stdout]    | |_____- this is not `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `for_each` exists for opaque type `impl futures_core::stream::Stream`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/core/yggd_bot.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .for_each(|msg| {
[INFO] [stdout]    |              ^^^^^^^^ method cannot be called on `impl futures_core::stream::Stream` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `impl futures_core::stream::Stream: Iterator`
[INFO] [stdout]            which is required by `&mut impl futures_core::stream::Stream: Iterator`
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]            `use futures_util::stream::stream::StreamExt;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `for_each` exists for opaque type `impl futures_core::stream::Stream`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/core/yggd_bot.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |             .for_each(|msg| {
[INFO] [stdout]    |              ^^^^^^^^ method cannot be called on `impl futures_core::stream::Stream` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `impl futures_core::stream::Stream: Iterator`
[INFO] [stdout]            which is required by `&mut impl futures_core::stream::Stream: Iterator`
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]            `use futures_util::stream::stream::StreamExt;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:32:81
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     StreamMessage::Account(_) => println!("Account update: {}", msg),
[INFO] [stdout]    |                                                                                 ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:33:77
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     StreamMessage::Order(_) => println!("Order update: {}", msg),
[INFO] [stdout]    |                                                                             ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:34:61
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     _ => println!("Unexpected message: {}", msg)
[INFO] [stdout]    |                                                             ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `place_sell_order` has an incompatible type for trait
[INFO] [stdout]   --> src/core/yggd_bot.rs:45:138
[INFO] [stdout]    |
[INFO] [stdout] 9  | ...: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |                                        -------------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 45 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> Result<alpaca_finance::Order, tokio::time::error::Error>`
[INFO] [stdout]               found fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> impl Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `place_buy_order` has an incompatible type for trait
[INFO] [stdout]   --> src/core/yggd_bot.rs:52:137
[INFO] [stdout]    |
[INFO] [stdout] 10 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |                                        -------------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 52 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> Result<alpaca_finance::Order, tokio::time::error::Error>`
[INFO] [stdout]               found fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> impl Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:32:81
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     StreamMessage::Account(_) => println!("Account update: {}", msg),
[INFO] [stdout]    |                                                                                 ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:33:77
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     StreamMessage::Order(_) => println!("Order update: {}", msg),
[INFO] [stdout]    |                                                                             ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StreamMessage` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/core/yggd_bot.rs:34:61
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     _ => println!("Unexpected message: {}", msg)
[INFO] [stdout]    |                                                             ^^^ `StreamMessage` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StreamMessage`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `place_sell_order` has an incompatible type for trait
[INFO] [stdout]   --> src/core/yggd_bot.rs:45:138
[INFO] [stdout]    |
[INFO] [stdout] 9  | ...: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |                                        -------------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 45 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> Result<alpaca_finance::Order, tokio::time::error::Error>`
[INFO] [stdout]               found fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> impl Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `place_buy_order` has an incompatible type for trait
[INFO] [stdout]   --> src/core/yggd_bot.rs:52:137
[INFO] [stdout]    |
[INFO] [stdout] 10 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error>;
[INFO] [stdout]    |                                        -------------------- type in trait
[INFO] [stdout] ...
[INFO] [stdout] 52 | ...: TimeInForce, limit_price: f64) -> Result<Order, Error> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> Result<alpaca_finance::Order, tokio::time::error::Error>`
[INFO] [stdout]               found fn pointer `fn(&YggdBot, Box<_>, _, OrderType, TimeInForce, _) -> impl Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0433, E0599, E0706, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yggd-core` due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0433, E0599, E0706, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "62ccc6192d6a836d7bf2cde317f698834eb0b8418994dd15a43efc60190cde4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62ccc6192d6a836d7bf2cde317f698834eb0b8418994dd15a43efc60190cde4e", kill_on_drop: false }`
[INFO] [stdout] 62ccc6192d6a836d7bf2cde317f698834eb0b8418994dd15a43efc60190cde4e
