[INFO] cloning repository https://github.com/14ROVI/topgg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/14ROVI/topgg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F14ROVI%2Ftopgg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F14ROVI%2Ftopgg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb110ce8e5b26661db2a0c46259a13fe1e909ad6 [INFO] testing 14ROVI/topgg-rs against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F14ROVI%2Ftopgg-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/14ROVI/topgg-rs on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/14ROVI/topgg-rs [INFO] finished tweaking git repo https://github.com/14ROVI/topgg-rs [INFO] tweaked toml for git repo https://github.com/14ROVI/topgg-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/14ROVI/topgg-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-sink v0.3.12 [INFO] [stderr] Downloaded tokio-stream v0.1.2 [INFO] [stderr] Downloaded pin-project-internal v1.0.4 [INFO] [stderr] Downloaded futures-io v0.3.12 [INFO] [stderr] Downloaded futures-executor v0.3.12 [INFO] [stderr] Downloaded openssl v0.10.32 [INFO] [stderr] Downloaded futures-macro v0.3.12 [INFO] [stderr] Downloaded dashmap v3.11.10 [INFO] [stderr] Downloaded hyper v0.14.2 [INFO] [stderr] Downloaded const-random-macro v0.1.13 [INFO] [stderr] Downloaded headers v0.3.3 [INFO] [stderr] Downloaded reqwest v0.11.0 [INFO] [stderr] Downloaded serde v1.0.120 [INFO] [stderr] Downloaded tokio v1.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.120 [INFO] [stderr] Downloaded pin-project v1.0.4 [INFO] [stderr] Downloaded futures v0.3.12 [INFO] [stderr] Downloaded futures-task v0.3.12 [INFO] [stderr] Downloaded futures-core v0.3.12 [INFO] [stderr] Downloaded warp v0.3.0 [INFO] [stderr] Downloaded nonzero_ext v0.2.0 [INFO] [stderr] Downloaded quanta v0.4.1 [INFO] [stderr] Downloaded tokio-util v0.6.2 [INFO] [stderr] Downloaded const-random v0.1.13 [INFO] [stderr] Downloaded governor v0.3.1 [INFO] [stderr] Downloaded futures-util v0.3.12 [INFO] [stderr] Downloaded futures-channel v0.3.12 [INFO] [stderr] Downloaded bumpalo v3.5.0 [INFO] [stderr] Downloaded syn v1.0.59 [INFO] [stderr] Downloaded rand v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13698f8f6eae36bea91b387e4b95ee19fd68bc427562648736d055cdc4b2340a [INFO] running `Command { std: "docker" "start" "-a" "13698f8f6eae36bea91b387e4b95ee19fd68bc427562648736d055cdc4b2340a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13698f8f6eae36bea91b387e4b95ee19fd68bc427562648736d055cdc4b2340a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13698f8f6eae36bea91b387e4b95ee19fd68bc427562648736d055cdc4b2340a", kill_on_drop: false }` [INFO] [stdout] 13698f8f6eae36bea91b387e4b95ee19fd68bc427562648736d055cdc4b2340a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767b47cbfaa39f50374f9c8970031ec90b93d7e4f21716572dbae01664f925f9 [INFO] running `Command { std: "docker" "start" "-a" "767b47cbfaa39f50374f9c8970031ec90b93d7e4f21716572dbae01664f925f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.59 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling nonzero_ext v0.2.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling quanta v0.4.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling headers v0.3.3 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling dashmap v3.11.10 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tokio-stream v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling governor v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.0 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "767b47cbfaa39f50374f9c8970031ec90b93d7e4f21716572dbae01664f925f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767b47cbfaa39f50374f9c8970031ec90b93d7e4f21716572dbae01664f925f9", kill_on_drop: false }` [INFO] [stdout] 767b47cbfaa39f50374f9c8970031ec90b93d7e4f21716572dbae01664f925f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ed49fea27c916d5e2a926fa58206a9901932b7c2172f0bf107a9f532751b630 [INFO] running `Command { std: "docker" "start" "-a" "7ed49fea27c916d5e2a926fa58206a9901932b7c2172f0bf107a9f532751b630", kill_on_drop: false }` [INFO] [stderr] Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "7ed49fea27c916d5e2a926fa58206a9901932b7c2172f0bf107a9f532751b630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed49fea27c916d5e2a926fa58206a9901932b7c2172f0bf107a9f532751b630", kill_on_drop: false }` [INFO] [stdout] 7ed49fea27c916d5e2a926fa58206a9901932b7c2172f0bf107a9f532751b630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 630093f0c730d5ac59de881d5f0a7ce6c1d37f06dd32b1e82eea3e8db891bfdf [INFO] running `Command { std: "docker" "start" "-a" "630093f0c730d5ac59de881d5f0a7ce6c1d37f06dd32b1e82eea3e8db891bfdf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/topgg-cab3d9f0966a1ef7) [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::new (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::bot (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::voted_for_me (line 208) ... FAILED [INFO] [stdout] test src/lib.rs - WebhookClient::start (line 328) ... 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 - Topgg::voted (line 218) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::my_votes (line 164) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::my_bot_stats (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::votes (line 174) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::post_bot_stats (line 294) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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:32:32 [INFO] [stdout] | [INFO] [stdout] 4 | 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:32:40 [INFO] [stdout] | [INFO] [stdout] 4 | 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:34:13 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | let votes = client.votes().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 6 | let votes = client.votes().await.unwrap(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn votes(&self, bot_id: u64) -> Option> { [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::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] 3 | 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:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_61_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 3 | 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::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] 3 | 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:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_208_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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 - WebhookClient::start (line 328) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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:332:1 [INFO] [stdout] | [INFO] [stdout] 6 | 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::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] 3 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_115_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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] 3 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_264_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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] 3 | 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:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_51_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 3 | 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 - 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] 3 | 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:219:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_218_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | let voted = client.voted(668701133069352961, 195512978634833920) [INFO] [stdout] | _____________^ [INFO] [stdout] 4 | | .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::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] 3 | 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:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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::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] 3 | 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:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_254_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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::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] 3 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_174_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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] ---- 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] 3 | 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] 4 | 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] 5 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] 3 | client.post_bot_stats(None, Some(vec![142, 532, 304]), None, None).await; [INFO] [stdout] 4 | 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:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_294_0() { [INFO] [stdout] | ------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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] [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 1.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "630093f0c730d5ac59de881d5f0a7ce6c1d37f06dd32b1e82eea3e8db891bfdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630093f0c730d5ac59de881d5f0a7ce6c1d37f06dd32b1e82eea3e8db891bfdf", kill_on_drop: false }` [INFO] [stdout] 630093f0c730d5ac59de881d5f0a7ce6c1d37f06dd32b1e82eea3e8db891bfdf