[INFO] fetching crate topgg-rs 0.3.0... [INFO] testing topgg-rs-0.3.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate topgg-rs 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate topgg-rs 0.3.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d8cb5f10f57e6cbd4608922d3c2fd70dcdec2440900db981a08f2048aec7e31 [INFO] running `Command { std: "docker" "start" "-a" "3d8cb5f10f57e6cbd4608922d3c2fd70dcdec2440900db981a08f2048aec7e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d8cb5f10f57e6cbd4608922d3c2fd70dcdec2440900db981a08f2048aec7e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8cb5f10f57e6cbd4608922d3c2fd70dcdec2440900db981a08f2048aec7e31", kill_on_drop: false }` [INFO] [stdout] 3d8cb5f10f57e6cbd4608922d3c2fd70dcdec2440900db981a08f2048aec7e31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec9b40e8e643e0d7417d45ce93b73cfcc871ee36d21effa5c49714c69e52e79e [INFO] running `Command { std: "docker" "start" "-a" "ec9b40e8e643e0d7417d45ce93b73cfcc871ee36d21effa5c49714c69e52e79e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling nonzero_ext v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quanta v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling governor v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/lib.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discriminator` [INFO] [stdout] --> src/lib.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | discriminator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar` [INFO] [stdout] --> src/lib.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | avatar: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.84s [INFO] running `Command { std: "docker" "inspect" "ec9b40e8e643e0d7417d45ce93b73cfcc871ee36d21effa5c49714c69e52e79e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9b40e8e643e0d7417d45ce93b73cfcc871ee36d21effa5c49714c69e52e79e", kill_on_drop: false }` [INFO] [stdout] ec9b40e8e643e0d7417d45ce93b73cfcc871ee36d21effa5c49714c69e52e79e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c099c6fa9e4d3922fe149ab091e4e156680e7f560100365170463f046e1bd06a [INFO] running `Command { std: "docker" "start" "-a" "c099c6fa9e4d3922fe149ab091e4e156680e7f560100365170463f046e1bd06a", kill_on_drop: false }` [INFO] [stderr] Compiling topgg-rs v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/lib.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discriminator` [INFO] [stdout] --> src/lib.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | discriminator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar` [INFO] [stdout] --> src/lib.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | avatar: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/lib.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discriminator` [INFO] [stdout] --> src/lib.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | discriminator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar` [INFO] [stdout] --> src/lib.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | avatar: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "c099c6fa9e4d3922fe149ab091e4e156680e7f560100365170463f046e1bd06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c099c6fa9e4d3922fe149ab091e4e156680e7f560100365170463f046e1bd06a", kill_on_drop: false }` [INFO] [stdout] c099c6fa9e4d3922fe149ab091e4e156680e7f560100365170463f046e1bd06a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 665cac7f36d96ee67d6bcb5349c7a57ed560ff326c0d72d5c24679fb834f49d6 [INFO] running `Command { std: "docker" "start" "-a" "665cac7f36d96ee67d6bcb5349c7a57ed560ff326c0d72d5c24679fb834f49d6", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/lib.rs:497:5 [INFO] [stderr] | [INFO] [stderr] 497 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `discriminator` [INFO] [stderr] --> src/lib.rs:498:5 [INFO] [stderr] | [INFO] [stderr] 498 | discriminator: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `avatar` [INFO] [stderr] --> src/lib.rs:499:5 [INFO] [stderr] | [INFO] [stderr] 499 | avatar: Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `topgg-rs` (lib) generated 3 warnings [INFO] [stderr] warning: `topgg-rs` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/topgg-55e845298b8c0396) [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::new (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::my_votes (line 164) ... 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::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_stats (line 254) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::votes (line 174) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::voted (line 218) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::post_bot_stats (line 294) ... FAILED [INFO] [stdout] test src/lib.rs - Topgg::voted_for_me (line 208) ... 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] 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::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::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 (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 - 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_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::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::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] ---- 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] [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.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "665cac7f36d96ee67d6bcb5349c7a57ed560ff326c0d72d5c24679fb834f49d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665cac7f36d96ee67d6bcb5349c7a57ed560ff326c0d72d5c24679fb834f49d6", kill_on_drop: false }` [INFO] [stdout] 665cac7f36d96ee67d6bcb5349c7a57ed560ff326c0d72d5c24679fb834f49d6