[INFO] fetching crate topgg 1.4.2... [INFO] testing topgg-1.4.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate topgg 1.4.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate topgg 1.4.2 [INFO] finished tweaking crates.io crate topgg 1.4.2 [INFO] tweaked toml for crates.io crate topgg 1.4.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate topgg 1.4.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 372 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.6) [INFO] [stderr] Adding twilight-cache-inmemory v0.15.4 (available: v0.16.0) [INFO] [stderr] Adding twilight-model v0.15.4 (available: v0.16.0) [INFO] [stderr] Adding warp v0.3.7 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3de0a59ded91db36892c3eb8b3d709cbf244ec986e56b5ce850407f3571b6d1e [INFO] running `Command { std: "docker" "start" "-a" "3de0a59ded91db36892c3eb8b3d709cbf244ec986e56b5ce850407f3571b6d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de0a59ded91db36892c3eb8b3d709cbf244ec986e56b5ce850407f3571b6d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de0a59ded91db36892c3eb8b3d709cbf244ec986e56b5ce850407f3571b6d1e", kill_on_drop: false }` [INFO] [stdout] 3de0a59ded91db36892c3eb8b3d709cbf244ec986e56b5ce850407f3571b6d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 080a39b8495422543467de9c9787bf3b868669da4953e8e8222173fabfe5cef7 [INFO] running `Command { std: "docker" "start" "-a" "080a39b8495422543467de9c9787bf3b868669da4953e8e8222173fabfe5cef7", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling topgg v1.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.18s [INFO] running `Command { std: "docker" "inspect" "080a39b8495422543467de9c9787bf3b868669da4953e8e8222173fabfe5cef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080a39b8495422543467de9c9787bf3b868669da4953e8e8222173fabfe5cef7", kill_on_drop: false }` [INFO] [stdout] 080a39b8495422543467de9c9787bf3b868669da4953e8e8222173fabfe5cef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd423af8f1ed151c444677ceb0a4f23f8d80f8afd78a1ead8181a4e9f0cea957 [INFO] running `Command { std: "docker" "start" "-a" "cd423af8f1ed151c444677ceb0a4f23f8d80f8afd78a1ead8181a4e9f0cea957", kill_on_drop: false }` [INFO] [stderr] Compiling topgg v1.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "cd423af8f1ed151c444677ceb0a4f23f8d80f8afd78a1ead8181a4e9f0cea957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd423af8f1ed151c444677ceb0a4f23f8d80f8afd78a1ead8181a4e9f0cea957", kill_on_drop: false }` [INFO] [stdout] cd423af8f1ed151c444677ceb0a4f23f8d80f8afd78a1ead8181a4e9f0cea957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1eefe054d9becb6a1806ba214bb08d0e8ba48042e7a64ce3318e096dc2efa539 [INFO] running `Command { std: "docker" "start" "-a" "1eefe054d9becb6a1806ba214bb08d0e8ba48042e7a64ce3318e096dc2efa539", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/topgg-eb0c8ef2f3becf03) [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 13 tests [INFO] [stdout] test src/bot.rs - bot::Stats (line 168) - compile ... ok [INFO] [stdout] test src/bot.rs - bot::Stats::from_shards (line 280) - compile ... ok [INFO] [stdout] test src/bot.rs - bot::Stats (line 186) - compile ... ok [INFO] [stdout] test src/bot.rs - bot::Stats (line 176) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 56) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 39) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 255) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 158) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 302) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 210) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 101) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 347) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:62: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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:61: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 73) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:79: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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:78: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 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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `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 255) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time [INFO] [stdout] --> src/lib.rs:280: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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{routing::get, Router, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler` [INFO] [stdout] --> src/lib.rs:259: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:257:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{routing::get, Router, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/lib.rs:263:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[axum::async_trait] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `axum` in `topgg` [INFO] [stdout] --> src/lib.rs:280: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 158) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 10 | let client = topgg::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] [INFO] [stdout] error: environment variable `DISCORD_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 15 | env!("DISCORD_TOKEN").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DISCORD_TOKEN")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `topgg::Autoposter` [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 5 | use topgg::Autoposter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Autoposter` in the root [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twilight_gateway` [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 6 | use twilight_gateway::{Event, Intents, Shard, ShardId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `twilight_gateway` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `twilight_gateway`, use `cargo add twilight_gateway` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 302) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time [INFO] [stdout] --> src/lib.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 17 | 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] [INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote` [INFO] [stdout] --> src/lib.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 8 | use topgg::IncomingVote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `IncomingVote` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> src/lib.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::{get, http::Status, post, routes}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> src/lib.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::{get, http::Status, post, routes}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(decl_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> src/lib.rs:332:3 [INFO] [stdout] | [INFO] [stdout] 32 | rocket::ignite() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 210) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time [INFO] [stdout] --> src/lib.rs:226: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] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `topgg::IncomingVote` [INFO] [stdout] --> src/lib.rs:217: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:212:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `actix_web`, use `cargo add actix_web` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] --> src/lib.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[actix_web::main] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `actix_web` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:237: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 6 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 101) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:126:41 [INFO] [stdout] | [INFO] [stdout] 27 | let topgg_client = topgg::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] [INFO] [stdout] error: environment variable `DISCORD_TOKEN` not defined at compile time [INFO] [stdout] --> src/lib.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 30 | let bot_token = env!("DISCORD_TOKEN").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DISCORD_TOKEN")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serenity` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::{client::{Client, Context, EventHandler}, model::{channel::Message, gateway::Ready}}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serenity` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serenity`, use `cargo add serenity` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `topgg::Autoposter` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 6 | use topgg::Autoposter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Autoposter` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serenity` [INFO] [stdout] --> src/lib.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[serenity::async_trait] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `serenity` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GatewayIntents` [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 31 | let intents = GatewayIntents::GUILD_MESSAGES | GatewayIntents::GUILDS | GatewayIntents::MESSAGE_CONTENT; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GatewayIntents` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GatewayIntents` [INFO] [stdout] --> src/lib.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 31 | let intents = GatewayIntents::GUILD_MESSAGES | GatewayIntents::GUILDS | GatewayIntents::MESSAGE_CONTENT; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GatewayIntents` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GatewayIntents` [INFO] [stdout] --> src/lib.rs:130:75 [INFO] [stdout] | [INFO] [stdout] 31 | let intents = GatewayIntents::GUILD_MESSAGES | GatewayIntents::GUILDS | GatewayIntents::MESSAGE_CONTENT; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GatewayIntents` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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 347) stdout ---- [INFO] [stdout] error: environment variable `TOPGG_WEBHOOK_PASSWORD` not defined at compile time [INFO] [stdout] --> src/lib.rs:369: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] [INFO] [stdout] error[E0432]: unresolved imports `topgg::Vote`, `topgg::VoteHandler` [INFO] [stdout] --> src/lib.rs:350: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:351:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::Filter; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:362:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] --> src/lib.rs:355:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[async_trait::async_trait] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `warp` in `topgg` [INFO] [stdout] --> src/lib.rs:367: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 unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/lib.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 28 | let routes = warp::get().map(|| "Hello, World!").or(webhook); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp` [INFO] [stdout] --> src/lib.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 32 | warp::serve(routes).run(addr).await [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `warp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml` [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 101) [INFO] [stdout] src/lib.rs - (line 158) [INFO] [stdout] src/lib.rs - (line 210) [INFO] [stdout] src/lib.rs - (line 255) [INFO] [stdout] src/lib.rs - (line 302) [INFO] [stdout] src/lib.rs - (line 347) [INFO] [stdout] src/lib.rs - (line 39) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1eefe054d9becb6a1806ba214bb08d0e8ba48042e7a64ce3318e096dc2efa539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eefe054d9becb6a1806ba214bb08d0e8ba48042e7a64ce3318e096dc2efa539", kill_on_drop: false }` [INFO] [stdout] 1eefe054d9becb6a1806ba214bb08d0e8ba48042e7a64ce3318e096dc2efa539