[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] documenting martin-bucinskas/yggd-core against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartin-bucinskas%2Fyggd-core" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/martin-bucinskas/yggd-core on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded alpaca-finance v0.2.1
[INFO] [stderr]   Downloaded market-finance v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3cc005b40898fdf0f80c2f4a50a6d73610ab5142536792003724f634ee73fa4
[INFO] running `Command { std: "docker" "start" "-a" "c3cc005b40898fdf0f80c2f4a50a6d73610ab5142536792003724f634ee73fa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3cc005b40898fdf0f80c2f4a50a6d73610ab5142536792003724f634ee73fa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3cc005b40898fdf0f80c2f4a50a6d73610ab5142536792003724f634ee73fa4", kill_on_drop: false }`
[INFO] [stdout] c3cc005b40898fdf0f80c2f4a50a6d73610ab5142536792003724f634ee73fa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 341eab03eaf62daa4c9f16aa87aea656bc1486f5703ba04de68ca9a9f502d7b2
[INFO] running `Command { std: "docker" "start" "-a" "341eab03eaf62daa4c9f16aa87aea656bc1486f5703ba04de68ca9a9f502d7b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking slab v0.4.4
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]     Checking itoa v0.4.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]    Compiling futures-util v0.3.17
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.66
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]    Compiling openssl v0.10.36
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking http v0.2.4
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking tinyvec v1.3.1
[INFO] [stderr]     Checking tracing-core v0.1.19
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking unicode-bidi v0.3.6
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.67
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]     Checking instant v0.1.10
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling tokio v1.10.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking tungstenite v0.10.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[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 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 tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking tokio-tungstenite v0.10.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking market-finance v0.1.0
[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]  Documenting yggd-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `KEY_ID` not defined at compile time
[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]    = help: use `std::env::var("KEY_ID")` to read the variable at run time
[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 at compile time
[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]    = help: use `std::env::var("KEY_SECRET")` to read the variable at run time
[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]   = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
[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]    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
[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:54
[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[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) -> 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]    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
[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) -> 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]    = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0706, E0728.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0706`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `yggd-core`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name yggd_core src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=0445b2e436e78e82 -L dependency=/opt/rustwide/target/debug/deps --extern alpaca_finance=/opt/rustwide/target/debug/deps/libalpaca_finance-9d92bd14ff0ae3c3.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6b022f17f0c692c8.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "341eab03eaf62daa4c9f16aa87aea656bc1486f5703ba04de68ca9a9f502d7b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "341eab03eaf62daa4c9f16aa87aea656bc1486f5703ba04de68ca9a9f502d7b2", kill_on_drop: false }`
[INFO] [stdout] 341eab03eaf62daa4c9f16aa87aea656bc1486f5703ba04de68ca9a9f502d7b2
