[INFO] fetching crate topgg 1.2.0...
[INFO] testing topgg-1.2.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate topgg 1.2.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate topgg 1.2.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate topgg 1.2.0
[INFO] finished tweaking crates.io crate topgg 1.2.0
[INFO] tweaked toml for crates.io crate topgg 1.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded devise v0.2.1
[INFO] [stderr]   Downloaded devise_codegen v0.2.1
[INFO] [stderr]   Downloaded pear_codegen v0.1.5
[INFO] [stderr]   Downloaded pear v0.1.5
[INFO] [stderr]   Downloaded devise_core v0.2.1
[INFO] [stderr]   Downloaded rocket_codegen v0.4.11
[INFO] [stderr]   Downloaded rocket v0.4.11
[INFO] [stderr]   Downloaded state v0.4.2
[INFO] [stderr]   Downloaded cookie v0.11.5
[INFO] [stderr]   Downloaded rocket_http v0.4.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb12825c55f397a1188cdbd7304daee0ad5292084473d6023f52ff80fb4e6084
[INFO] running `Command { std: "docker" "start" "-a" "cb12825c55f397a1188cdbd7304daee0ad5292084473d6023f52ff80fb4e6084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb12825c55f397a1188cdbd7304daee0ad5292084473d6023f52ff80fb4e6084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb12825c55f397a1188cdbd7304daee0ad5292084473d6023f52ff80fb4e6084", kill_on_drop: false }`
[INFO] [stdout] cb12825c55f397a1188cdbd7304daee0ad5292084473d6023f52ff80fb4e6084
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] febbbf0562cf77120e53fcd08833db029b664af6de64a6e7022849a852d8731b
[INFO] running `Command { std: "docker" "start" "-a" "febbbf0562cf77120e53fcd08833db029b664af6de64a6e7022849a852d8731b", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling topgg v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.83s
[INFO] running `Command { std: "docker" "inspect" "febbbf0562cf77120e53fcd08833db029b664af6de64a6e7022849a852d8731b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "febbbf0562cf77120e53fcd08833db029b664af6de64a6e7022849a852d8731b", kill_on_drop: false }`
[INFO] [stdout] febbbf0562cf77120e53fcd08833db029b664af6de64a6e7022849a852d8731b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9aaaa885184086425546942dc968bc96670e404c153381d8a96ad030607d96b1
[INFO] running `Command { std: "docker" "start" "-a" "9aaaa885184086425546942dc968bc96670e404c153381d8a96ad030607d96b1", kill_on_drop: false }`
[INFO] [stderr]    Compiling topgg v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.28s
[INFO] running `Command { std: "docker" "inspect" "9aaaa885184086425546942dc968bc96670e404c153381d8a96ad030607d96b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9aaaa885184086425546942dc968bc96670e404c153381d8a96ad030607d96b1", kill_on_drop: false }`
[INFO] [stdout] 9aaaa885184086425546942dc968bc96670e404c153381d8a96ad030607d96b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 49b589d28659b37b9b7da0deb5cf3fa2758ff46601658476d3963e790bb24b85
[INFO] running `Command { std: "docker" "start" "-a" "49b589d28659b37b9b7da0deb5cf3fa2758ff46601658476d3963e790bb24b85", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/topgg-7ede9038759c63ee)
[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 43 tests
[INFO] [stdout] test src/bot.rs - bot::Query::certified (line 616) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::limit (line 490) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::discriminator (line 545) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Bot::avatar (line 146) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::shard_count (line 199) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::invite (line 170) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::created_at (line 120) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::url (line 223) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Query::new (line 471) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::monthly_votes (line 598) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::prefix (line 563) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::count_based (line 299) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::vanity (line 634) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::votes (line 582) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::username (line 526) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::server_count (line 414) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Stats::shard_count (line 387) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Query::skip (line 508) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::shards (line 360) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Stats::shards_based (line 323) - compile ... ok
[INFO] [stdout] test src/client.rs - client::Client::get_bot (line 265) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_bots (line 460) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_stats (line 308) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::has_voted (line 515) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_user (line 221) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_voters (line 423) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::is_weekend (line 559) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::new (line 180) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 127) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post_stats (line 342) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 108) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 233) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 282) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 329) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 39) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 186) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 59) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::User::avatar (line 125) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::Voter::avatar (line 216) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::User::created_at (line 99) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::Voter::created_at (line 190) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 153) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bot.rs - bot::Bot::avatar (line 146) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:152:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:150:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:151:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::shard_count (line 199) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:205:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:203:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:204:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::invite (line 170) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:176:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:174:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:175:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::created_at (line 120) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:126:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:124:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:125:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::url (line 223) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:229:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:227:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:228:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::server_count (line 414) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:420:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:418:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:419:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::shard_count (line 387) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:393:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:391:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:392:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::shards (line 360) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:366:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:364:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:365:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_bot (line 265) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:271:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:269:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:270:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_bots (line 460) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:466:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:464:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:465:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_stats (line 308) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:314:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:312:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:313:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::has_voted (line 515) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:521:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:519:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:520:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_user (line 221) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:227:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:225:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:226:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_voters (line 423) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:429:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:427:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:428:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::is_weekend (line 559) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:565:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:563:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:564:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::new (line 180) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:186:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let _client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:184:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:185:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 127) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:133:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:131:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:132:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::post_stats (line 342) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:348:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:346:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stats`
[INFO] [stdout]   --> src/client.rs:352:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .post_stats(Stats::count_based(server_count, None))
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Stats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use topgg::Stats;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:347:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - (line 108) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:114:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:112:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stats`
[INFO] [stdout]   --> src/lib.rs:118:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .post_stats(Stats::count_based(server_count, None))
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Stats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use topgg::Stats;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:113:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - (line 233) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:258:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     topgg::axum::webhook(env!("TOPGG_WEBHOOK_PASSWORD").to_string(), Arc::clone(&state)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:235:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{routing::get, Router, Server};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler`
[INFO] [stdout]  --> src/lib.rs:237:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use topgg::{Vote, VoteHandler};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^ no `VoteHandler` in the root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Vote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum`
[INFO] [stdout]  --> src/lib.rs:235:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{routing::get, Router, Server};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:252:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]   --> src/lib.rs:241:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[axum::async_trait]
[INFO] [stdout]    |   ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `axum` in `topgg`
[INFO] [stdout]   --> src/lib.rs:258:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     topgg::axum::webhook(env!("TOPGG_WEBHOOK_PASSWORD").to_string(), Arc::clone(&state)),
[INFO] [stdout]    |            ^^^^ could not find `axum` in `topgg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 282) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:296:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |   match vote.authenticate(env!("TOPGG_WEBHOOK_PASSWORD")) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote`
[INFO] [stdout]  --> src/lib.rs:287:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use topgg::IncomingVote;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `IncomingVote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket`
[INFO] [stdout]  --> src/lib.rs:286:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::{get, http::Status, post, routes};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rocket`
[INFO] [stdout]  --> src/lib.rs:286:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::{get, http::Status, post, routes};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `routes`
[INFO] [stdout]   --> src/lib.rs:312:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     .mount("/", routes![index, webhook])
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `post`
[INFO] [stdout]   --> src/lib.rs:294:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[post("/webhook", data = "<vote>")]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `get`
[INFO] [stdout]  --> src/lib.rs:289:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[get("/")]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/lib.rs:282:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(decl_macro)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket`
[INFO] [stdout]   --> src/lib.rs:311:3
[INFO] [stdout]    |
[INFO] [stdout] 31 |   rocket::ignite()
[INFO] [stdout]    |   ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0554.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 329) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:351:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     env!("TOPGG_WEBHOOK_PASSWORD").to_string(),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler`
[INFO] [stdout]  --> src/lib.rs:332:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use topgg::{Vote, VoteHandler};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^ no `VoteHandler` in the root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Vote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `warp`
[INFO] [stdout]  --> src/lib.rs:333:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::Filter;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:344:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_trait`
[INFO] [stdout]   --> src/lib.rs:337:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[async_trait::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `async_trait`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `warp` in `topgg`
[INFO] [stdout]   --> src/lib.rs:349:24
[INFO] [stdout]    |
[INFO] [stdout] 22 |   let webhook = topgg::warp::webhook(
[INFO] [stdout]    |                        ^^^^ could not find `warp` in `topgg`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp`
[INFO] [stdout]   --> src/lib.rs:355:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |   let routes = warp::get().map(|| "Hello, World!").or(webhook);
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp`
[INFO] [stdout]   --> src/lib.rs:359:3
[INFO] [stdout]    |
[INFO] [stdout] 32 |   warp::serve(routes).run(addr).await
[INFO] [stdout]    |   ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 39) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:45:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:43:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:44:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 186) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:202:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |   match vote.authenticate(env!("TOPGG_WEBHOOK_PASSWORD")) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]  --> src/lib.rs:188:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote`
[INFO] [stdout]  --> src/lib.rs:193:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use topgg::IncomingVote;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `IncomingVote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_web`
[INFO] [stdout]  --> src/lib.rs:188:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> src/lib.rs:212:3
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[actix_web::main]
[INFO] [stdout]    |   ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `post`
[INFO] [stdout]   --> src/lib.rs:200:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[post("/webhook")]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `get`
[INFO] [stdout]   --> src/lib.rs:195:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[get("/")]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:213:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn main() -> io::Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 80) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:86:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:84:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:85:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 59) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:65:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:63:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:64:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::User::avatar (line 125) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:131:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:129:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:130:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::Voter::avatar (line 216) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:222:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:220:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:221:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::User::created_at (line 99) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:105:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:103:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:104:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::Voter::created_at (line 190) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:196:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:194:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:195:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 153) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:160:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:158:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_autoposter` found for struct `Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:164:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let autoposter = client.new_autoposter(Duration::from_secs(1800));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ method not found in `Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:159:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bot.rs - bot::Bot::avatar (line 146)
[INFO] [stdout]     src/bot.rs - bot::Bot::created_at (line 120)
[INFO] [stdout]     src/bot.rs - bot::Bot::invite (line 170)
[INFO] [stdout]     src/bot.rs - bot::Bot::shard_count (line 199)
[INFO] [stdout]     src/bot.rs - bot::Bot::url (line 223)
[INFO] [stdout]     src/bot.rs - bot::Stats::server_count (line 414)
[INFO] [stdout]     src/bot.rs - bot::Stats::shard_count (line 387)
[INFO] [stdout]     src/bot.rs - bot::Stats::shards (line 360)
[INFO] [stdout]     src/client.rs - client::Client::get_bot (line 265)
[INFO] [stdout]     src/client.rs - client::Client::get_bots (line 460)
[INFO] [stdout]     src/client.rs - client::Client::get_stats (line 308)
[INFO] [stdout]     src/client.rs - client::Client::get_user (line 221)
[INFO] [stdout]     src/client.rs - client::Client::get_voters (line 423)
[INFO] [stdout]     src/client.rs - client::Client::has_voted (line 515)
[INFO] [stdout]     src/client.rs - client::Client::is_weekend (line 559)
[INFO] [stdout]     src/client.rs - client::Client::new (line 180)
[INFO] [stdout]     src/client.rs - client::Client::post_stats (line 342)
[INFO] [stdout]     src/lib.rs - (line 108)
[INFO] [stdout]     src/lib.rs - (line 127)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 186)
[INFO] [stdout]     src/lib.rs - (line 233)
[INFO] [stdout]     src/lib.rs - (line 282)
[INFO] [stdout]     src/lib.rs - (line 329)
[INFO] [stdout]     src/lib.rs - (line 39)
[INFO] [stdout]     src/lib.rs - (line 59)
[INFO] [stdout]     src/lib.rs - (line 80)
[INFO] [stdout]     src/user.rs - user::User::avatar (line 125)
[INFO] [stdout]     src/user.rs - user::User::created_at (line 99)
[INFO] [stdout]     src/user.rs - user::Voter::avatar (line 216)
[INFO] [stdout]     src/user.rs - user::Voter::created_at (line 190)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "49b589d28659b37b9b7da0deb5cf3fa2758ff46601658476d3963e790bb24b85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49b589d28659b37b9b7da0deb5cf3fa2758ff46601658476d3963e790bb24b85", kill_on_drop: false }`
[INFO] [stdout] 49b589d28659b37b9b7da0deb5cf3fa2758ff46601658476d3963e790bb24b85
[INFO] testing topgg-1.2.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate topgg 1.2.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate topgg 1.2.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate topgg 1.2.0
[INFO] finished tweaking crates.io crate topgg 1.2.0
[INFO] tweaked toml for crates.io crate topgg 1.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e624b8134957ccf88424ac1707cca95a9c17b2a50f00fe806f5b53793d9233d
[INFO] running `Command { std: "docker" "start" "-a" "8e624b8134957ccf88424ac1707cca95a9c17b2a50f00fe806f5b53793d9233d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e624b8134957ccf88424ac1707cca95a9c17b2a50f00fe806f5b53793d9233d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e624b8134957ccf88424ac1707cca95a9c17b2a50f00fe806f5b53793d9233d", kill_on_drop: false }`
[INFO] [stdout] 8e624b8134957ccf88424ac1707cca95a9c17b2a50f00fe806f5b53793d9233d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] caf5c072d1e4fd56b1b1e15395da9a2b8952faf499c6a6b44ae981133921f6cf
[INFO] running `Command { std: "docker" "start" "-a" "caf5c072d1e4fd56b1b1e15395da9a2b8952faf499c6a6b44ae981133921f6cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling topgg v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.46s
[INFO] running `Command { std: "docker" "inspect" "caf5c072d1e4fd56b1b1e15395da9a2b8952faf499c6a6b44ae981133921f6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caf5c072d1e4fd56b1b1e15395da9a2b8952faf499c6a6b44ae981133921f6cf", kill_on_drop: false }`
[INFO] [stdout] caf5c072d1e4fd56b1b1e15395da9a2b8952faf499c6a6b44ae981133921f6cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13c14e446d7f1a012b92a0b48f8117dc96c08b9ba5e14c95d94cb7eb8aec915f
[INFO] running `Command { std: "docker" "start" "-a" "13c14e446d7f1a012b92a0b48f8117dc96c08b9ba5e14c95d94cb7eb8aec915f", kill_on_drop: false }`
[INFO] [stderr]    Compiling topgg v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.60s
[INFO] running `Command { std: "docker" "inspect" "13c14e446d7f1a012b92a0b48f8117dc96c08b9ba5e14c95d94cb7eb8aec915f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13c14e446d7f1a012b92a0b48f8117dc96c08b9ba5e14c95d94cb7eb8aec915f", kill_on_drop: false }`
[INFO] [stdout] 13c14e446d7f1a012b92a0b48f8117dc96c08b9ba5e14c95d94cb7eb8aec915f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 85c712cf9bd3b5d31f22882b35b2b37e7a91828fd33199385e5e889132ebe992
[INFO] running `Command { std: "docker" "start" "-a" "85c712cf9bd3b5d31f22882b35b2b37e7a91828fd33199385e5e889132ebe992", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/topgg-0dd487571be52910)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests topgg
[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] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test src/bot.rs - bot::Query::discriminator (line 545) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::limit (line 490) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::monthly_votes (line 598) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::certified (line 616) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Bot::created_at (line 120) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::shard_count (line 199) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::invite (line 170) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::url (line 223) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Bot::avatar (line 146) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Query::skip (line 508) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::new (line 471) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::votes (line 582) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::vanity (line 634) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Query::prefix (line 563) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::server_count (line 414) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Stats::count_based (line 299) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::shard_count (line 387) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Stats::shards (line 360) - compile ... FAILED
[INFO] [stdout] test src/bot.rs - bot::Query::username (line 526) - compile ... ok
[INFO] [stdout] test src/bot.rs - bot::Stats::shards_based (line 323) - compile ... ok
[INFO] [stdout] test src/client.rs - client::Client::get_bots (line 460) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_voters (line 423) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::has_voted (line 515) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_bot (line 265) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::post_stats (line 342) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_stats (line 308) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::get_user (line 221) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::is_weekend (line 559) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::new (line 180) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 127) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 108) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 39) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::User::avatar (line 125) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 329) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 186) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 282) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 80) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 233) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 59) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::User::created_at (line 99) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::Voter::created_at (line 190) - compile ... FAILED
[INFO] [stdout] test src/user.rs - user::Voter::avatar (line 216) - compile ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 153) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bot.rs - bot::Bot::created_at (line 120) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:126:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:124:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:125:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::shard_count (line 199) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:205:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:203:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:204:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::invite (line 170) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:176:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:174:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:175:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::url (line 223) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:229:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:227:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:228:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Bot::avatar (line 146) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:152:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:150:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:151:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::server_count (line 414) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:420:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:418:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:419:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::shard_count (line 387) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:393:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:391:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:392:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/bot.rs - bot::Stats::shards (line 360) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/bot.rs:366:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/bot.rs:364:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/bot.rs:365:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_bots (line 460) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:466:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:464:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:465:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_voters (line 423) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:429:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:427:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:428:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::has_voted (line 515) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:521:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:519:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:520:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_bot (line 265) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:271:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:269:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:270:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::post_stats (line 342) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:348:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:346:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stats`
[INFO] [stdout]   --> src/client.rs:352:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .post_stats(Stats::count_based(server_count, None))
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Stats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use topgg::Stats;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:347:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/client.rs - client::Client::get_stats (line 308) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:314:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:312:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:313:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::get_user (line 221) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:227:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:225:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:226:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::is_weekend (line 559) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:565:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:563:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:564:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/client.rs - client::Client::new (line 180) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/client.rs:186:29
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let _client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/client.rs:184:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/client.rs:185:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 127) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:133:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:131:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:132:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 108) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:114:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:112:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stats`
[INFO] [stdout]   --> src/lib.rs:118:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .post_stats(Stats::count_based(server_count, None))
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Stats`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use topgg::Stats;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:113:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - (line 39) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:45:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:43:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:44:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::User::avatar (line 125) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:131:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:129:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:130:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 329) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:351:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     env!("TOPGG_WEBHOOK_PASSWORD").to_string(),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler`
[INFO] [stdout]  --> src/lib.rs:332:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use topgg::{Vote, VoteHandler};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^ no `VoteHandler` in the root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Vote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `warp`
[INFO] [stdout]  --> src/lib.rs:333:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::Filter;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:344:3
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_trait`
[INFO] [stdout]   --> src/lib.rs:337:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[async_trait::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `async_trait`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `warp` in `topgg`
[INFO] [stdout]   --> src/lib.rs:349:24
[INFO] [stdout]    |
[INFO] [stdout] 22 |   let webhook = topgg::warp::webhook(
[INFO] [stdout]    |                        ^^^^ could not find `warp` in `topgg`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp`
[INFO] [stdout]   --> src/lib.rs:355:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |   let routes = warp::get().map(|| "Hello, World!").or(webhook);
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp`
[INFO] [stdout]   --> src/lib.rs:359:3
[INFO] [stdout]    |
[INFO] [stdout] 32 |   warp::serve(routes).run(addr).await
[INFO] [stdout]    |   ^^^^ use of undeclared crate or module `warp`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 186) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:202:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |   match vote.authenticate(env!("TOPGG_WEBHOOK_PASSWORD")) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]  --> src/lib.rs:188:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote`
[INFO] [stdout]  --> src/lib.rs:193:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use topgg::IncomingVote;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `IncomingVote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `actix_web`
[INFO] [stdout]  --> src/lib.rs:188:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web`
[INFO] [stdout]   --> src/lib.rs:212:3
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[actix_web::main]
[INFO] [stdout]    |   ^^^^^^^^^ use of undeclared crate or module `actix_web`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `post`
[INFO] [stdout]   --> src/lib.rs:200:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[post("/webhook")]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `get`
[INFO] [stdout]   --> src/lib.rs:195:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[get("/")]
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:213:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn main() -> io::Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 282) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:296:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |   match vote.authenticate(env!("TOPGG_WEBHOOK_PASSWORD")) {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote`
[INFO] [stdout]  --> src/lib.rs:287:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use topgg::IncomingVote;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `IncomingVote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket`
[INFO] [stdout]  --> src/lib.rs:286:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::{get, http::Status, post, routes};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rocket`
[INFO] [stdout]  --> src/lib.rs:286:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::{get, http::Status, post, routes};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `routes`
[INFO] [stdout]   --> src/lib.rs:312:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     .mount("/", routes![index, webhook])
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `post`
[INFO] [stdout]   --> src/lib.rs:294:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[post("/webhook", data = "<vote>")]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `get`
[INFO] [stdout]  --> src/lib.rs:289:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[get("/")]
[INFO] [stdout]   |   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/lib.rs:282:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(decl_macro)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket`
[INFO] [stdout]   --> src/lib.rs:311:3
[INFO] [stdout]    |
[INFO] [stdout] 31 |   rocket::ignite()
[INFO] [stdout]    |   ^^^^^^ use of undeclared crate or module `rocket`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0554.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 80) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:86:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:84:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:85:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 233) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time
[INFO] [stdout]   --> src/lib.rs:258:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |     topgg::axum::webhook(env!("TOPGG_WEBHOOK_PASSWORD").to_string(), Arc::clone(&state)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `std::env::var("TOPGG_WEBHOOK_PASSWORD")` to read the variable at run time
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:235:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{routing::get, Router, Server};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler`
[INFO] [stdout]  --> src/lib.rs:237:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use topgg::{Vote, VoteHandler};
[INFO] [stdout]   |             ^^^^  ^^^^^^^^^^^ no `VoteHandler` in the root
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `Vote` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum`
[INFO] [stdout]  --> src/lib.rs:235:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::{routing::get, Router, Server};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:252:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]   --> src/lib.rs:241:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[axum::async_trait]
[INFO] [stdout]    |   ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `axum` in `topgg`
[INFO] [stdout]   --> src/lib.rs:258:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     topgg::axum::webhook(env!("TOPGG_WEBHOOK_PASSWORD").to_string(), Arc::clone(&state)),
[INFO] [stdout]    |            ^^^^ could not find `axum` in `topgg`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 59) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:65:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:63:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:64:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::User::created_at (line 99) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:105:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:103:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:104:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::Voter::created_at (line 190) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:196:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:194:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:195:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/user.rs - user::Voter::avatar (line 216) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/user.rs:222:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/user.rs:220:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/user.rs:221:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - (line 153) stdout ----
[INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time
[INFO] [stdout]  --> src/lib.rs:160:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |   let client = Client::new(env!("TOPGG_TOKEN").to_string());
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `std::env::var("TOPGG_TOKEN")` to read the variable at run time
[INFO] [stdout]   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:158:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `new_autoposter` found for struct `Client` in the current scope
[INFO] [stdout]   --> src/lib.rs:164:27
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let autoposter = client.new_autoposter(Duration::from_secs(1800));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ method not found in `Client`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:159:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bot.rs - bot::Bot::avatar (line 146)
[INFO] [stdout]     src/bot.rs - bot::Bot::created_at (line 120)
[INFO] [stdout]     src/bot.rs - bot::Bot::invite (line 170)
[INFO] [stdout]     src/bot.rs - bot::Bot::shard_count (line 199)
[INFO] [stdout]     src/bot.rs - bot::Bot::url (line 223)
[INFO] [stdout]     src/bot.rs - bot::Stats::server_count (line 414)
[INFO] [stdout]     src/bot.rs - bot::Stats::shard_count (line 387)
[INFO] [stdout]     src/bot.rs - bot::Stats::shards (line 360)
[INFO] [stdout]     src/client.rs - client::Client::get_bot (line 265)
[INFO] [stdout]     src/client.rs - client::Client::get_bots (line 460)
[INFO] [stdout]     src/client.rs - client::Client::get_stats (line 308)
[INFO] [stdout]     src/client.rs - client::Client::get_user (line 221)
[INFO] [stdout]     src/client.rs - client::Client::get_voters (line 423)
[INFO] [stdout]     src/client.rs - client::Client::has_voted (line 515)
[INFO] [stdout]     src/client.rs - client::Client::is_weekend (line 559)
[INFO] [stdout]     src/client.rs - client::Client::new (line 180)
[INFO] [stdout]     src/client.rs - client::Client::post_stats (line 342)
[INFO] [stdout]     src/lib.rs - (line 108)
[INFO] [stdout]     src/lib.rs - (line 127)
[INFO] [stdout]     src/lib.rs - (line 153)
[INFO] [stdout]     src/lib.rs - (line 186)
[INFO] [stdout]     src/lib.rs - (line 233)
[INFO] [stdout]     src/lib.rs - (line 282)
[INFO] [stdout]     src/lib.rs - (line 329)
[INFO] [stdout]     src/lib.rs - (line 39)
[INFO] [stdout]     src/lib.rs - (line 59)
[INFO] [stdout]     src/lib.rs - (line 80)
[INFO] [stdout]     src/user.rs - user::User::avatar (line 125)
[INFO] [stdout]     src/user.rs - user::User::created_at (line 99)
[INFO] [stdout]     src/user.rs - user::Voter::avatar (line 216)
[INFO] [stdout]     src/user.rs - user::Voter::created_at (line 190)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "85c712cf9bd3b5d31f22882b35b2b37e7a91828fd33199385e5e889132ebe992", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85c712cf9bd3b5d31f22882b35b2b37e7a91828fd33199385e5e889132ebe992", kill_on_drop: false }`
[INFO] [stdout] 85c712cf9bd3b5d31f22882b35b2b37e7a91828fd33199385e5e889132ebe992
