[INFO] fetching crate topgg-rs 0.3.0...
[INFO] testing topgg-rs-0.3.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate topgg-rs 0.3.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate topgg-rs 0.3.0
[INFO] finished tweaking crates.io crate topgg-rs 0.3.0
[INFO] tweaked toml for crates.io crate topgg-rs 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate topgg-rs 0.3.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 212 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding governor v0.3.2 (available: v0.10.4)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.1)
[INFO] [stderr]       Adding warp v0.3.7 (available: v0.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nonzero_ext v0.2.0
[INFO] [stderr]   Downloaded ahash v0.3.8
[INFO] [stderr]   Downloaded quanta v0.4.1
[INFO] [stderr]   Downloaded hashbrown v0.8.2
[INFO] [stderr]   Downloaded governor v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed56090e95330e7d4d99003bbfc7f683f1bbba69fe4ec006c53f23cc3d50a64f
[INFO] running `Command { std: "docker" "start" "-a" "ed56090e95330e7d4d99003bbfc7f683f1bbba69fe4ec006c53f23cc3d50a64f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed56090e95330e7d4d99003bbfc7f683f1bbba69fe4ec006c53f23cc3d50a64f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed56090e95330e7d4d99003bbfc7f683f1bbba69fe4ec006c53f23cc3d50a64f", kill_on_drop: false }`
[INFO] [stdout] ed56090e95330e7d4d99003bbfc7f683f1bbba69fe4ec006c53f23cc3d50a64f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc770c7f5a53ab712caf0aecd23bc670717de23ce5cfd8088933051528a842b3
[INFO] running `Command { std: "docker" "start" "-a" "bc770c7f5a53ab712caf0aecd23bc670717de23ce5cfd8088933051528a842b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]    Compiling no-std-compat v0.4.1
[INFO] [stderr]    Compiling quanta v0.4.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling nonzero_ext v0.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling governor v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling warp v0.3.7
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `username`, `discriminator`, and `avatar` are never read
[INFO] [stdout]    --> src/lib.rs:497:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | struct PartialJsonUser {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 496 |     id: String,
[INFO] [stdout] 497 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 498 |     discriminator: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 499 |     avatar: Option<String>
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PartialJsonUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.99s
[INFO] running `Command { std: "docker" "inspect" "bc770c7f5a53ab712caf0aecd23bc670717de23ce5cfd8088933051528a842b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc770c7f5a53ab712caf0aecd23bc670717de23ce5cfd8088933051528a842b3", kill_on_drop: false }`
[INFO] [stdout] bc770c7f5a53ab712caf0aecd23bc670717de23ce5cfd8088933051528a842b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a1b0f8760d79583aee04e0c3a1a78e6bfb53d1cb8a982350814640b6835783f
[INFO] running `Command { std: "docker" "start" "-a" "1a1b0f8760d79583aee04e0c3a1a78e6bfb53d1cb8a982350814640b6835783f", kill_on_drop: false }`
[INFO] [stderr]    Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `username`, `discriminator`, and `avatar` are never read
[INFO] [stdout]    --> src/lib.rs:497:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | struct PartialJsonUser {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 496 |     id: String,
[INFO] [stdout] 497 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 498 |     discriminator: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 499 |     avatar: Option<String>
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PartialJsonUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username`, `discriminator`, and `avatar` are never read
[INFO] [stdout]    --> src/lib.rs:497:5
[INFO] [stdout]     |
[INFO] [stdout] 495 | struct PartialJsonUser {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] 496 |     id: String,
[INFO] [stdout] 497 |     username: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 498 |     discriminator: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 499 |     avatar: Option<String>
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PartialJsonUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s
[INFO] running `Command { std: "docker" "inspect" "1a1b0f8760d79583aee04e0c3a1a78e6bfb53d1cb8a982350814640b6835783f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a1b0f8760d79583aee04e0c3a1a78e6bfb53d1cb8a982350814640b6835783f", kill_on_drop: false }`
[INFO] [stdout] 1a1b0f8760d79583aee04e0c3a1a78e6bfb53d1cb8a982350814640b6835783f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4486984091fc52514b0c670340b1e05aa19bd684922f1cc635c41d533588b9c0
[INFO] running `Command { std: "docker" "start" "-a" "4486984091fc52514b0c670340b1e05aa19bd684922f1cc635c41d533588b9c0", kill_on_drop: false }`
[INFO] [stderr] warning: fields `username`, `discriminator`, and `avatar` are never read
[INFO] [stderr]    --> src/lib.rs:497:5
[INFO] [stderr]     |
[INFO] [stderr] 495 | struct PartialJsonUser {
[INFO] [stderr]     |        --------------- fields in this struct
[INFO] [stderr] 496 |     id: String,
[INFO] [stderr] 497 |     username: String,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 498 |     discriminator: String,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 499 |     avatar: Option<String>
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `PartialJsonUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `topgg-rs` (lib) generated 1 warning
[INFO] [stderr] warning: `topgg-rs` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/topgg-68589e76cc2f6986)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests topgg
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/lib.rs - Topgg::bot (line 61) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::my_bot_stats (line 254) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::post_bot_stats (line 294) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::voted (line 218) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::user (line 115) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::get_bot_stats (line 264) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::my_bot (line 51) ... FAILED
[INFO] [stdout] test src/lib.rs - WebhookClient::start (line 328) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::my_votes (line 164) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::new (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::voted_for_me (line 208) ... FAILED
[INFO] [stdout] test src/lib.rs - Topgg::votes (line 174) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Topgg::bot (line 61) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `lient` in this scope
[INFO] [stdout]   --> src/lib.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 | let bot_info = lient.bot(668701133069352961).await.unwrap();
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:62:46
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_61_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 62 | let bot_info = lient.bot(668701133069352961).await.unwrap();
[INFO] [stdout]    |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::my_bot_stats (line 254) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 | let stats = client.my_bot_stats().await.unwrap();
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:255:35
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_254_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 255 | let stats = client.my_bot_stats().await.unwrap();
[INFO] [stdout]     |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::post_bot_stats (line 294) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:295:1
[INFO] [stdout]     |
[INFO] [stdout] 295 | client.post_bot_stats(None, Some(vec![142, 532, 304]), None, None).await;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:296:1
[INFO] [stdout]     |
[INFO] [stdout] 296 | client.post_bot_stats(Some(142), None, Some(0), None).await;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:297:1
[INFO] [stdout]     |
[INFO] [stdout] 297 | client.post_bot_stats(Some(978), None, None, Some(3)).await;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:295:68
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 295 | client.post_bot_stats(None, Some(vec![142, 532, 304]), None, None).await;
[INFO] [stdout]     |                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:296:55
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 295 | client.post_bot_stats(None, Some(vec![142, 532, 304]), None, None).await;
[INFO] [stdout] 296 | client.post_bot_stats(Some(142), None, Some(0), None).await;
[INFO] [stdout]     |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:297:55
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 297 | client.post_bot_stats(Some(978), None, None, Some(3)).await;
[INFO] [stdout]     |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::voted (line 218) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 | let voted = client.voted(668701133069352961, 195512978634833920)
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:220:6
[INFO] [stdout]     |
[INFO] [stdout] 218 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_218_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 219 | let voted = client.voted(668701133069352961, 195512978634833920)
[INFO] [stdout] 220 |     .await
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::user (line 115) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | client.user(195512978634833920).await.unwrap();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:116:33
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_115_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 116 | client.user(195512978634833920).await.unwrap();
[INFO] [stdout]     |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::get_bot_stats (line 264) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:265:1
[INFO] [stdout]     |
[INFO] [stdout] 265 | client.get_bot_stats(Some(668701133069352961)).await.unwrap();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:265:48
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_264_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 265 | client.get_bot_stats(Some(668701133069352961)).await.unwrap();
[INFO] [stdout]     |                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::my_bot (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/lib.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 | let bot_info = client.my_bot().await.unwrap();
[INFO] [stdout]    |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_51_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 52 | let bot_info = client.my_bot().await.unwrap();
[INFO] [stdout]    |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - WebhookClient::start (line 328) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]    --> src/lib.rs:332:10
[INFO] [stdout]     |
[INFO] [stdout] 332 | #[tokio::main]
[INFO] [stdout]     |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:333:1
[INFO] [stdout]     |
[INFO] [stdout] 333 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::my_votes (line 164) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 | let votes = client.my_votes().await.unwrap();
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:165:31
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 165 | let votes = client.my_votes().await.unwrap();
[INFO] [stdout]     |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::new (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `bot_id` in this scope
[INFO] [stdout]   --> src/lib.rs:33:32
[INFO] [stdout]    |
[INFO] [stdout] 33 | let client = topgg::Topgg::new(bot_id, token);
[INFO] [stdout]    |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `token` in this scope
[INFO] [stdout]   --> src/lib.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | let client = topgg::Topgg::new(bot_id, token);
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 35 | let votes = client.votes().await.unwrap();
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:35:20
[INFO] [stdout]     |
[INFO] [stdout]  35 | let votes = client.votes().await.unwrap();
[INFO] [stdout]     |                    ^^^^^-- argument #1 of type `u64` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub async fn votes(&self, bot_id: u64) -> Option<Vec<u64>> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout]  35 | let votes = client.votes(/* u64 */).await.unwrap();
[INFO] [stdout]     |                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::voted_for_me (line 208) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 | let voted = client.voted_for_me(195512978634833920).await.unwrap();
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:209:53
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_208_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 209 | let voted = client.voted_for_me(195512978634833920).await.unwrap();
[INFO] [stdout]     |                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Topgg::votes (line 174) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:175:1
[INFO] [stdout]     |
[INFO] [stdout] 175 | client.votes(668701133069352961).await.unwrap();
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:175:34
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_174_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 175 | client.votes(668701133069352961).await.unwrap();
[INFO] [stdout]     |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Topgg::bot (line 61)
[INFO] [stdout]     src/lib.rs - Topgg::get_bot_stats (line 264)
[INFO] [stdout]     src/lib.rs - Topgg::my_bot (line 51)
[INFO] [stdout]     src/lib.rs - Topgg::my_bot_stats (line 254)
[INFO] [stdout]     src/lib.rs - Topgg::my_votes (line 164)
[INFO] [stdout]     src/lib.rs - Topgg::new (line 31)
[INFO] [stdout]     src/lib.rs - Topgg::post_bot_stats (line 294)
[INFO] [stdout]     src/lib.rs - Topgg::user (line 115)
[INFO] [stdout]     src/lib.rs - Topgg::voted (line 218)
[INFO] [stdout]     src/lib.rs - Topgg::voted_for_me (line 208)
[INFO] [stdout]     src/lib.rs - Topgg::votes (line 174)
[INFO] [stdout]     src/lib.rs - WebhookClient::start (line 328)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4486984091fc52514b0c670340b1e05aa19bd684922f1cc635c41d533588b9c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4486984091fc52514b0c670340b1e05aa19bd684922f1cc635c41d533588b9c0", kill_on_drop: false }`
[INFO] [stdout] 4486984091fc52514b0c670340b1e05aa19bd684922f1cc635c41d533588b9c0
