[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-2022-07-10 for beta-1.63-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/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/martin-bucinskas/yggd-core on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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/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" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 12f31324f96b865a98ceb8834c504f1ed03f6bdeceea71b40e4fafc0b624e0f1
[INFO] running `Command { std: "docker" "start" "-a" "12f31324f96b865a98ceb8834c504f1ed03f6bdeceea71b40e4fafc0b624e0f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12f31324f96b865a98ceb8834c504f1ed03f6bdeceea71b40e4fafc0b624e0f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12f31324f96b865a98ceb8834c504f1ed03f6bdeceea71b40e4fafc0b624e0f1", kill_on_drop: false }`
[INFO] [stdout] 12f31324f96b865a98ceb8834c504f1ed03f6bdeceea71b40e4fafc0b624e0f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65b10a9126677ae66c7760b02bc38b1a6cbdd291f76678e51bc11a8fb74ad2b6
[INFO] running `Command { std: "docker" "start" "-a" "65b10a9126677ae66c7760b02bc38b1a6cbdd291f76678e51bc11a8fb74ad2b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking slab v0.4.4
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling openssl v0.10.36
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking unicode-bidi v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling serde_json v1.0.67
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tokio v1.10.1
[INFO] [stderr]     Checking tracing-core v0.1.19
[INFO] [stderr]     Checking instant v0.1.10
[INFO] [stderr]     Checking http v0.2.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tinyvec v1.3.1
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling openssl-sys v0.9.66
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[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]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]     Checking tungstenite v0.10.1
[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 tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking pin-project v0.4.28
[INFO] [stderr]     Checking snafu v0.6.10
[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 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]  Documenting 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: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this 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=4ea2286d5b26f8a1 -L dependency=/opt/rustwide/target/debug/deps --extern alpaca_finance=/opt/rustwide/target/debug/deps/libalpaca_finance-2a48091d7cdfb323.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-20b0f7a5af5f2fdb.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "65b10a9126677ae66c7760b02bc38b1a6cbdd291f76678e51bc11a8fb74ad2b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65b10a9126677ae66c7760b02bc38b1a6cbdd291f76678e51bc11a8fb74ad2b6", kill_on_drop: false }`
[INFO] [stdout] 65b10a9126677ae66c7760b02bc38b1a6cbdd291f76678e51bc11a8fb74ad2b6
