[INFO] cloning repository https://github.com/thatmagicalcat/descord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thatmagicalcat/descord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmagicalcat%2Fdescord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmagicalcat%2Fdescord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da491f53efd330883eeebdaf2a6541c37456fccf [INFO] testing thatmagicalcat/descord against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthatmagicalcat%2Fdescord" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thatmagicalcat/descord [INFO] finished tweaking git repo https://github.com/thatmagicalcat/descord [INFO] tweaked toml for git repo https://github.com/thatmagicalcat/descord written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thatmagicalcat/descord on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thatmagicalcat/descord already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28f08d3dc53d2eef8a48724716cac9792306747e62ff54ec0f2af6751a21cd1e [INFO] running `Command { std: "docker" "start" "-a" "28f08d3dc53d2eef8a48724716cac9792306747e62ff54ec0f2af6751a21cd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f08d3dc53d2eef8a48724716cac9792306747e62ff54ec0f2af6751a21cd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f08d3dc53d2eef8a48724716cac9792306747e62ff54ec0f2af6751a21cd1e", kill_on_drop: false }` [INFO] [stdout] 28f08d3dc53d2eef8a48724716cac9792306747e62ff54ec0f2af6751a21cd1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 434763ba43a353bca11b41aa3805e7ff6d5a52ea7701e948f72310d66da1ddd2 [INFO] running `Command { std: "docker" "start" "-a" "434763ba43a353bca11b41aa3805e7ff6d5a52ea7701e948f72310d66da1ddd2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling nanoserde-derive v0.1.22 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling nanoserde v0.1.37 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling descord-macros v0.1.5 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling descord v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/main.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | async fn guild_create(guild: GuildCreate) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.33s [INFO] running `Command { std: "docker" "inspect" "434763ba43a353bca11b41aa3805e7ff6d5a52ea7701e948f72310d66da1ddd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434763ba43a353bca11b41aa3805e7ff6d5a52ea7701e948f72310d66da1ddd2", kill_on_drop: false }` [INFO] [stdout] 434763ba43a353bca11b41aa3805e7ff6d5a52ea7701e948f72310d66da1ddd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3903afd6eb746ed46193a6e3f421e6d29a8e37fa60cba28773458f37239eb6a3 [INFO] running `Command { std: "docker" "start" "-a" "3903afd6eb746ed46193a6e3f421e6d29a8e37fa60cba28773458f37239eb6a3", kill_on_drop: false }` [INFO] [stderr] Compiling descord v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/main.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | async fn guild_create(guild: GuildCreate) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "3903afd6eb746ed46193a6e3f421e6d29a8e37fa60cba28773458f37239eb6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3903afd6eb746ed46193a6e3f421e6d29a8e37fa60cba28773458f37239eb6a3", kill_on_drop: false }` [INFO] [stdout] 3903afd6eb746ed46193a6e3f421e6d29a8e37fa60cba28773458f37239eb6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c59d76714968eb323a68d5ee78850282fb6dc9a26c789e408f725c6e1d1ef350 [INFO] running `Command { std: "docker" "start" "-a" "c59d76714968eb323a68d5ee78850282fb6dc9a26c789e408f725c6e1d1ef350", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `guild` [INFO] [stderr] --> src/main.rs:167:23 [INFO] [stderr] | [INFO] [stderr] 167 | async fn guild_create(guild: GuildCreate) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `descord` (bin "descord" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/descord-2658c7818f885227) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/descord-61c5a3d7759fcb87) [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 descord [INFO] [stdout] [INFO] [stdout] running 65 tests [INFO] [stdout] test src/client/client.rs - client::client::Client::get_commands (line 201) ... FAILED [INFO] [stdout] test src/models/attachment.rs - models::attachment::AttachmentPayload::new (line 58) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::author (line 187) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::token (line 100) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::register_commands (line 154) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::get_slash_commands (line 221) ... FAILED [INFO] [stdout] test src/models/component_builder.rs - models::component_builder::ComponentBuilder::button (line 20) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::login (line 78) ... FAILED [INFO] [stdout] test src/models/channel.rs - models::channel::Channel::send_message (line 104) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::register_events (line 115) ... FAILED [INFO] [stdout] test src/models/channel.rs - models::channel::Channel::send_typing (line 115) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::register_component_callbacks (line 136) ... FAILED [INFO] [stdout] test src/models/component_builder.rs - models::component_builder::ComponentBuilder::select (line 70) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::new (line 53) ... FAILED [INFO] [stdout] test src/client/client.rs - client::client::Client::register_slash_commands (line 184) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::description (line 59) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::field (line 215) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::footer (line 93) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::new (line 15) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::video (line 165) ... FAILED [INFO] [stdout] test src/models/guild.rs - models::guild::Guild::default_role (line 279) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::build (line 28) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::thumbnail (line 143) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::title (line 43) ... FAILED [INFO] [stdout] test src/models/emoji.rs - models::emoji::Emoji::parse (line 33) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::color (line 75) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::fields (line 244) ... FAILED [INFO] [stdout] test src/models/guild.rs - models::guild::Guild::fetch_role (line 268) ... FAILED [INFO] [stdout] test src/models/guild.rs - models::guild::Guild::fetch_member (line 253) ... FAILED [INFO] [stdout] test src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::image (line 121) ... FAILED [INFO] [stdout] test src/models/guild.rs - models::guild::Member::get_avatar_url (line 297) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::Interaction::edit_original (line 146) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::InteractionAutoCompleteChoices::new (line 261) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::add_components (line 272) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::Interaction::defer (line 95) ... FAILED [INFO] [stdout] test src/models/guild.rs - models::guild::Member::send_dm (line 328) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::Interaction::reply (line 70) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::Interaction::followup (line 121) ... FAILED [INFO] [stdout] test src/models/interaction.rs - models::interaction::Interaction::delete_original (line 169) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 294) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 314) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 334) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 379) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 399) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::delete_after (line 177) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::edit (line 193) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::delete (line 162) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::to_json (line 241) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::get_author (line 121) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 456) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::get_channel (line 105) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::get_message_reference (line 147) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::get_guild (line 136) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::send_in_channel (line 94) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::reply (line 79) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::Message::react (line 208) ... FAILED [INFO] [stdout] test src/models/reaction_response.rs - models::reaction_response::Reaction::get_channel (line 41) ... FAILED [INFO] [stdout] test src/models/reaction_response.rs - models::reaction_response::Reaction::get_user (line 52) ... FAILED [INFO] [stdout] test src/models/reaction_response.rs - models::reaction_response::Reaction::get_message (line 63) ... FAILED [INFO] [stdout] test src/models/user.rs - models::user::User::get_avatar_url (line 52) ... FAILED [INFO] [stdout] test src/models/reaction_response.rs - models::reaction_response::Reaction::remove_reaction (line 74) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 354) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 419) ... FAILED [INFO] [stdout] test src/models/message_response.rs - models::message_response::CreateMessageData::from (line 476) ... FAILED [INFO] [stdout] test src/lib.rs - (line 4) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/client.rs - client::client::Client::get_commands (line 201) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 3 | let commands = client.get_commands(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/attachment.rs - models::attachment::AttachmentPayload::new (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AttachmentPayload` [INFO] [stdout] --> src/models/attachment.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 3 | let payload = AttachmentPayload::new("file.txt", "/path/to/file.txt", "text/plain"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AttachmentPayload` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::attachment::AttachmentPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::author (line 187) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embed` [INFO] [stdout] --> src/models/embed_builder.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 3 | let author = embed::EmbedAuthor { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embed`, use `cargo add embed` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 9 | let builder = EmbedBuilder::new().author(author); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::token (line 100) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 3 | let token = client.token(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::register_commands (line 154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_commands(vec![commands::echo()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `commands` [INFO] [stdout] --> src/client/client.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_commands(vec![commands::echo()]); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `commands` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `commands`, use `cargo add commands` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::get_slash_commands (line 221) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 3 | let slash_commands = client.get_slash_commands(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/component_builder.rs - models::component_builder::ComponentBuilder::button (line 20) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ButtonObject` in this scope [INFO] [stdout] --> src/models/component_builder.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 3 | let button = ButtonObject { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ButtonObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ButtonStyle` [INFO] [stdout] --> src/models/component_builder.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 4 | style: ButtonStyle::Primary, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ButtonStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ButtonStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComponentBuilder` [INFO] [stdout] --> src/models/component_builder.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 11 | let component = ComponentBuilder::button(button).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ComponentBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ComponentBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::login (line 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.login().await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/client.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_rs_78_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | client.login().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/channel.rs - models::channel::Channel::send_message (line 104) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `channel` in this scope [INFO] [stdout] --> src/models/channel.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 3 | channel.send_message("Hello, world!").await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/channel.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_channel_rs_104_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 3 | channel.send_message("Hello, world!").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::register_events (line 115) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_events(vec![events::ready(), events::message_create()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `events` [INFO] [stdout] --> src/client/client.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_events(vec![events::ready(), events::message_create()]); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `events` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `events`, use `cargo add events` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `events` [INFO] [stdout] --> src/client/client.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_events(vec![events::ready(), events::message_create()]); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `events` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `events`, use `cargo add events` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/channel.rs - models::channel::Channel::send_typing (line 115) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `channel` in this scope [INFO] [stdout] --> src/models/channel.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 3 | channel.send_typing().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/channel.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_channel_rs_115_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 3 | channel.send_typing().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::register_component_callbacks (line 136) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_component_callbacks(vec![components::btn1()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `components` [INFO] [stdout] --> src/client/client.rs:137:42 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_component_callbacks(vec![components::btn1()]); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `components` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `components`, use `cargo add components` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/component_builder.rs - models::component_builder::ComponentBuilder::select (line 70) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SelectObject` in this scope [INFO] [stdout] --> src/models/component_builder.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 3 | let select = SelectObject { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::SelectObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComponentBuilder` [INFO] [stdout] --> src/models/component_builder.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 14 | let component = ComponentBuilder::select(select).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ComponentBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ComponentBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::new (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/client/client.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 3 | let client = Client::new("TOKEN", GatewayIntent::NON_PRIVILEGED, "!").await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use descord::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GatewayIntent` [INFO] [stdout] --> src/client/client.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 3 | let client = Client::new("TOKEN", GatewayIntent::NON_PRIVILEGED, "!").await; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `GatewayIntent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::GatewayIntent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/client.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_rs_53_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let client = Client::new("TOKEN", GatewayIntent::NON_PRIVILEGED, "!").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/client.rs - client::client::Client::register_slash_commands (line 184) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/client.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_slash_commands(vec![commands::avatar()]).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/client.rs:185:58 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_rs_184_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | client.register_slash_commands(vec![commands::avatar()]).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `commands` [INFO] [stdout] --> src/client/client.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 3 | client.register_slash_commands(vec![commands::avatar()]).await; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `commands` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `commands`, use `cargo add commands` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::description (line 59) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().description("Description"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::field (line 215) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().field("Field name", "Field value", true); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::footer (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().footer("Footer text", Some("https://example.com/icon.png".to_string()), None); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::new (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::video (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embed` [INFO] [stdout] --> src/models/embed_builder.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 3 | let video = embed::EmbedVideo { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embed`, use `cargo add embed` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 9 | let builder = EmbedBuilder::new().video(video); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/guild.rs - models::guild::Guild::default_role (line 279) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `guild` in this scope [INFO] [stdout] --> src/models/guild.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 3 | let default_role = guild.default_role().await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/guild.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_guild_rs_279_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let default_role = guild.default_role().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::build (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 3 | let embed = EmbedBuilder::new().title("Title").build(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::thumbnail (line 143) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embed` [INFO] [stdout] --> src/models/embed_builder.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 3 | let thumbnail = embed::EmbedThumbnail { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embed`, use `cargo add embed` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 9 | let builder = EmbedBuilder::new().thumbnail(thumbnail); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::title (line 43) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().title("Title"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/emoji.rs - models::emoji::Emoji::parse (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Emoji` [INFO] [stdout] --> src/models/emoji.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 3 | let emoji = Emoji::parse(":star:"); [INFO] [stdout] | ^^^^^ use of undeclared type `Emoji` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::emoji::Emoji; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::color (line 75) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().color(Color::from_rgb(255, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/models/embed_builder.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().color(Color::from_rgb(255, 0, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use descord::color::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::fields (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embed` [INFO] [stdout] --> src/models/embed_builder.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 4 | embed::EmbedField { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embed`, use `cargo add embed` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embed` [INFO] [stdout] --> src/models/embed_builder.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 9 | embed::EmbedField { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `embed` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embed`, use `cargo add embed` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use descord::models::embed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 15 | let builder = EmbedBuilder::new().fields(fields); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/guild.rs - models::guild::Guild::fetch_role (line 268) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `guild` in this scope [INFO] [stdout] --> src/models/guild.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 3 | let role = guild.fetch_role("role_id").await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/guild.rs:269:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_guild_rs_268_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let role = guild.fetch_role("role_id").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/guild.rs - models::guild::Guild::fetch_member (line 253) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `guild` in this scope [INFO] [stdout] --> src/models/guild.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 3 | let member = guild.fetch_member("user_id").await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/guild.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_guild_rs_253_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let member = guild.fetch_member("user_id").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::image (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmbedBuilder` [INFO] [stdout] --> src/models/embed_builder.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = EmbedBuilder::new().image("https://example.com/image.png".to_string(), Some(100), Some(100)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `EmbedBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::EmbedBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/guild.rs - models::guild::Member::get_avatar_url (line 297) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `member` in this scope [INFO] [stdout] --> src/models/guild.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 3 | let avatar_url = member.get_avatar_url(ImageFormat::PNG, Some(128)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageFormat` [INFO] [stdout] --> src/models/guild.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 3 | let avatar_url = member.get_avatar_url(ImageFormat::PNG, Some(128)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ImageFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::Interaction::edit_original (line 146) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `interaction` in this scope [INFO] [stdout] --> src/models/interaction.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 3 | interaction.edit_original("Edited message").await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/interaction.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_interaction_rs_146_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 3 | interaction.edit_original("Edited message").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::InteractionAutoCompleteChoices::new (line 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InteractionAutoCompleteChoices` [INFO] [stdout] --> src/models/interaction.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 3 | let choices = InteractionAutoCompleteChoices::new(vec![choice1, choice2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `InteractionAutoCompleteChoices` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::InteractionAutoCompleteChoices; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `choice1` in this scope [INFO] [stdout] --> src/models/interaction.rs:262:56 [INFO] [stdout] | [INFO] [stdout] 3 | let choices = InteractionAutoCompleteChoices::new(vec![choice1, choice2]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `choice2` in this scope [INFO] [stdout] --> src/models/interaction.rs:262:65 [INFO] [stdout] | [INFO] [stdout] 3 | let choices = InteractionAutoCompleteChoices::new(vec![choice1, choice2]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::add_components (line 272) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message_data` in this scope [INFO] [stdout] --> src/models/message_response.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 3 | message_data.add_components(vec![vec![component1, component2]]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `component1` in this scope [INFO] [stdout] --> src/models/message_response.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 3 | message_data.add_components(vec![vec![component1, component2]]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `component2` in this scope [INFO] [stdout] --> src/models/message_response.rs:273:51 [INFO] [stdout] | [INFO] [stdout] 3 | message_data.add_components(vec![vec![component1, component2]]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::Interaction::defer (line 95) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `interaction` in this scope [INFO] [stdout] --> src/models/interaction.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 3 | interaction.defer().await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/interaction.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_interaction_rs_95_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] 3 | interaction.defer().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/guild.rs - models::guild::Member::send_dm (line 328) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `member` in this scope [INFO] [stdout] --> src/models/guild.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 3 | member.send_dm("Hello, world!").await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/guild.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_guild_rs_328_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | member.send_dm("Hello, world!").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::Interaction::reply (line 70) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `interaction` in this scope [INFO] [stdout] --> src/models/interaction.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 3 | interaction.reply("Hello, world!", true).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/interaction.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_interaction_rs_70_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] 3 | interaction.reply("Hello, world!", true).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::Interaction::followup (line 121) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `interaction` in this scope [INFO] [stdout] --> src/models/interaction.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 3 | interaction.followup("Follow-up message").await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/interaction.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_interaction_rs_121_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 3 | interaction.followup("Follow-up message").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/interaction.rs - models::interaction::Interaction::delete_original (line 169) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `interaction` in this scope [INFO] [stdout] --> src/models/interaction.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 3 | interaction.delete_original().await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/interaction.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_interaction_rs_169_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 3 | interaction.delete_original().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 294) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = "Hello, world!".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 314) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = (&"Hello, world!".to_string()).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 334) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = "Hello, world!".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 379) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = embed.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `embed` in this scope [INFO] [stdout] --> src/models/message_response.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = embed.into(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 399) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = allowed_mentions.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `allowed_mentions` in this scope [INFO] [stdout] --> src/models/message_response.rs:400:39 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = allowed_mentions.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::delete_after (line 177) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.delete_after(tokio::time::Duration::from_secs(10)).await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:178:60 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_177_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | message.delete_after(tokio::time::Duration::from_secs(10)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::edit (line 193) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.edit("Edited message").await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_193_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | message.edit("Edited message").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::delete (line 162) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.delete().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_162_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | message.delete().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::to_json (line 241) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message_data` in this scope [INFO] [stdout] --> src/models/message_response.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 3 | let json = message_data.to_json(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::get_author (line 121) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 3 | let author = message.get_author().await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_121_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let author = message.get_author().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 456) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = attachment_payload.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `attachment_payload` in this scope [INFO] [stdout] --> src/models/message_response.rs:457:39 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = attachment_payload.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::get_channel (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 3 | let channel = message.get_channel().await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_105_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let channel = message.get_channel().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::get_message_reference (line 147) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 3 | let referenced_message = message.get_message_reference().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:148:58 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_147_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let referenced_message = message.get_message_reference().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::get_guild (line 136) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 3 | let guild = message.get_guild().await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_136_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let guild = message.get_guild().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::send_in_channel (line 94) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.send_in_channel("Hello, world!").await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_94_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 3 | message.send_in_channel("Hello, world!").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::reply (line 79) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.reply("Hello, world!").await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_79_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 3 | message.reply("Hello, world!").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::Message::react (line 208) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> src/models/message_response.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 3 | message.react("👍").await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/message_response.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_message_response_rs_208_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | message.react("👍").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/reaction_response.rs - models::reaction_response::Reaction::get_channel (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `reaction` in this scope [INFO] [stdout] --> src/models/reaction_response.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 3 | let channel = reaction.get_channel().await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/reaction_response.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_reaction_response_rs_41_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let channel = reaction.get_channel().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/reaction_response.rs - models::reaction_response::Reaction::get_user (line 52) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `reaction` in this scope [INFO] [stdout] --> src/models/reaction_response.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 3 | let user = reaction.get_user().await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/reaction_response.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_reaction_response_rs_52_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let user = reaction.get_user().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/reaction_response.rs - models::reaction_response::Reaction::get_message (line 63) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `reaction` in this scope [INFO] [stdout] --> src/models/reaction_response.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 3 | let message = reaction.get_message().await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/reaction_response.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_reaction_response_rs_63_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | let message = reaction.get_message().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/user.rs - models::user::User::get_avatar_url (line 52) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> src/models/user.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 3 | let avatar_url = user.get_avatar_url(ImageFormat::PNG, Some(128)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageFormat` [INFO] [stdout] --> src/models/user.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 3 | let avatar_url = user.get_avatar_url(ImageFormat::PNG, Some(128)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ImageFormat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::ImageFormat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/reaction_response.rs - models::reaction_response::Reaction::remove_reaction (line 74) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `reaction` in this scope [INFO] [stdout] --> src/models/reaction_response.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | reaction.remove_reaction().await; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/models/reaction_response.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_models_reaction_response_rs_74_0() { [INFO] [stdout] | ------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | reaction.remove_reaction().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 354) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![embed1, embed2].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `embed1` in this scope [INFO] [stdout] --> src/models/message_response.rs:355:44 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![embed1, embed2].into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `embed2` in this scope [INFO] [stdout] --> src/models/message_response.rs:355:52 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![embed1, embed2].into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 419) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![vec![component1, component2]].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `component1` in this scope [INFO] [stdout] --> src/models/message_response.rs:420:49 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![vec![component1, component2]].into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `component2` in this scope [INFO] [stdout] --> src/models/message_response.rs:420:61 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![vec![component1, component2]].into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/message_response.rs - models::message_response::CreateMessageData::from (line 476) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CreateMessageData` in this scope [INFO] [stdout] --> src/models/message_response.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![attachment_payload1, attachment_payload2].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use descord::prelude::CreateMessageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `attachment_payload1` in this scope [INFO] [stdout] --> src/models/message_response.rs:477:44 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![attachment_payload1, attachment_payload2].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `attachment_payload2` in this scope [INFO] [stdout] --> src/models/message_response.rs:477:65 [INFO] [stdout] | [INFO] [stdout] 3 | let message_data: CreateMessageData = vec![attachment_payload1, attachment_payload2].into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 4) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' panicked at /opt/rustwide/workdir/src/ws/websocket_manager.rs:74:22: [INFO] [stdout] Failed to connect to the gateway: Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d2f125fc392 - std::backtrace_rs::backtrace::libunwind::trace::h5edb72cc539d8d33 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d2f125fc392 - std::backtrace_rs::backtrace::trace_unsynchronized::h73d186ef976c5ae2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d2f125fc392 - std::sys::backtrace::_print_fmt::h4410012d384fde01 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d2f125fc392 - ::fmt::h281a579a27d691d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d2f12622e83 - core::fmt::rt::Argument::fmt::h4c31bb6a3f4e4ed6 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d2f12622e83 - core::fmt::write::hd1f1283e971fbb36 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5d2f125f8f73 - std::io::default_write_fmt::h6a5e70459c660153 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d2f125f8f73 - std::io::Write::write_fmt::h5523e5312d28c915 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d2f125fc1e2 - std::sys::backtrace::BacktraceLock::print::h7cc2f8a0b7549773 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d2f125fd2b6 - std::panicking::default_hook::{{closure}}::hc18f11ca3cc980d1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5d2f125fd0b9 - std::panicking::default_hook::h5207cd5928e5a9d2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x5d2f125fdcc2 - std::panicking::rust_panic_with_hook::he2975323910480e2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x5d2f125fda5a - std::panicking::begin_panic_handler::{{closure}}::hf6a73f8f68d2901d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:706:13 [INFO] [stdout] 13: 0x5d2f125fc899 - std::sys::backtrace::__rust_end_short_backtrace::h91c7517b8fba4182 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 14: 0x5d2f125fd6ed - __rustc[c30fa7112bbf6ac0]::rust_begin_unwind [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x5d2f12620760 - core::panicking::panic_fmt::h1dc18eebb9b6550e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5d2f12620c06 - core::result::unwrap_failed::hf0cc4753dff8b804 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/result.rs:1761:5 [INFO] [stdout] 17: 0x5d2f11fefe03 - core::result::Result::expect::ha4bd2e1f5c668f03 [INFO] [stdout] 18: 0x5d2f12029af1 - descord::ws::websocket_manager::WsManager::new::{{closure}}::h63fb2e5bcd24ed50 [INFO] [stdout] 19: 0x5d2f12044be3 - descord::client::client::Client::new::{{closure}}::h7523381fbfa3c7bb [INFO] [stdout] 20: 0x5d2f12066aee - rust_out::main::{{closure}}::h50bcc537c35229ca [INFO] [stdout] 21: 0x5d2f11ffa695 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h1600f97352d8806c [INFO] [stdout] 22: 0x5d2f11ffa175 - tokio::runtime::park::CachedParkThread::block_on::hba0936cb70d4d719 [INFO] [stdout] 23: 0x5d2f1200fa7a - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::hd99503b2c0c01ccb [INFO] [stdout] 24: 0x5d2f1200fcfd - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h1a515be82ad70d60 [INFO] [stdout] 25: 0x5d2f1200f394 - tokio::runtime::context::runtime::enter_runtime::h70ac4351a22edd3f [INFO] [stdout] 26: 0x5d2f1200fcb2 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h080f11f68cab1ee1 [INFO] [stdout] 27: 0x5d2f1200fb97 - tokio::runtime::runtime::Runtime::block_on::h3077113d4a72c67e [INFO] [stdout] 28: 0x5d2f1206683b - rust_out::main::h84f5651df411a575 [INFO] [stdout] 29: 0x5d2f11fdd1b3 - core::ops::function::FnOnce::call_once::h1213258808069625 [INFO] [stdout] 30: 0x5d2f11fd6ed6 - std::sys::backtrace::__rust_begin_short_backtrace::h7ecc26ee18a9a374 [INFO] [stdout] 31: 0x5d2f11fd6d19 - std::rt::lang_start::{{closure}}::h44aca79ad871ec40 [INFO] [stdout] 32: 0x5d2f125f4920 - core::ops::function::impls:: for &F>::call_once::h256aadcdfb3ed913 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:284:21 [INFO] [stdout] 33: 0x5d2f125f4920 - std::panicking::catch_unwind::do_call::h3b98e2bc67e1b3ef [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 34: 0x5d2f125f4920 - std::panicking::catch_unwind::hc8b49dde47d50ce5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 35: 0x5d2f125f4920 - std::panic::catch_unwind::h6864f6d3ed9011d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 36: 0x5d2f125f4920 - std::rt::lang_start_internal::{{closure}}::h3493d5ceb4627f61 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/rt.rs:175:24 [INFO] [stdout] 37: 0x5d2f125f4920 - std::panicking::catch_unwind::do_call::h7221bf2b954c8147 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5d2f125f4920 - std::panicking::catch_unwind::ha4252da2a39088c9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5d2f125f4920 - std::panic::catch_unwind::h1dda6ea6c3f4d1f9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d2f125f4920 - std::rt::lang_start_internal::h016a9927582d4280 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/rt.rs:171:5 [INFO] [stdout] 41: 0x5d2f11fd6d01 - std::rt::lang_start::heb89f2354ba1d329 [INFO] [stdout] 42: 0x5d2f12068f95 - main [INFO] [stdout] 43: 0x794dcd8721ca - [INFO] [stdout] 44: 0x794dcd87228b - __libc_start_main [INFO] [stdout] 45: 0x5d2f11fba825 - _start [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/client.rs - client::client::Client::get_commands (line 201) [INFO] [stdout] src/client/client.rs - client::client::Client::get_slash_commands (line 221) [INFO] [stdout] src/client/client.rs - client::client::Client::login (line 78) [INFO] [stdout] src/client/client.rs - client::client::Client::new (line 53) [INFO] [stdout] src/client/client.rs - client::client::Client::register_commands (line 154) [INFO] [stdout] src/client/client.rs - client::client::Client::register_component_callbacks (line 136) [INFO] [stdout] src/client/client.rs - client::client::Client::register_events (line 115) [INFO] [stdout] src/client/client.rs - client::client::Client::register_slash_commands (line 184) [INFO] [stdout] src/client/client.rs - client::client::Client::token (line 100) [INFO] [stdout] src/lib.rs - (line 4) [INFO] [stdout] src/models/attachment.rs - models::attachment::AttachmentPayload::new (line 58) [INFO] [stdout] src/models/channel.rs - models::channel::Channel::send_message (line 104) [INFO] [stdout] src/models/channel.rs - models::channel::Channel::send_typing (line 115) [INFO] [stdout] src/models/component_builder.rs - models::component_builder::ComponentBuilder::button (line 20) [INFO] [stdout] src/models/component_builder.rs - models::component_builder::ComponentBuilder::select (line 70) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::author (line 187) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::build (line 28) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::color (line 75) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::description (line 59) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::field (line 215) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::fields (line 244) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::footer (line 93) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::image (line 121) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::new (line 15) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::thumbnail (line 143) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::title (line 43) [INFO] [stdout] src/models/embed_builder.rs - models::embed_builder::EmbedBuilder::video (line 165) [INFO] [stdout] src/models/emoji.rs - models::emoji::Emoji::parse (line 33) [INFO] [stdout] src/models/guild.rs - models::guild::Guild::default_role (line 279) [INFO] [stdout] src/models/guild.rs - models::guild::Guild::fetch_member (line 253) [INFO] [stdout] src/models/guild.rs - models::guild::Guild::fetch_role (line 268) [INFO] [stdout] src/models/guild.rs - models::guild::Member::get_avatar_url (line 297) [INFO] [stdout] src/models/guild.rs - models::guild::Member::send_dm (line 328) [INFO] [stdout] src/models/interaction.rs - models::interaction::Interaction::defer (line 95) [INFO] [stdout] src/models/interaction.rs - models::interaction::Interaction::delete_original (line 169) [INFO] [stdout] src/models/interaction.rs - models::interaction::Interaction::edit_original (line 146) [INFO] [stdout] src/models/interaction.rs - models::interaction::Interaction::followup (line 121) [INFO] [stdout] src/models/interaction.rs - models::interaction::Interaction::reply (line 70) [INFO] [stdout] src/models/interaction.rs - models::interaction::InteractionAutoCompleteChoices::new (line 261) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::add_components (line 272) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 294) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 314) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 334) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 354) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 379) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 399) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 419) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 456) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::from (line 476) [INFO] [stdout] src/models/message_response.rs - models::message_response::CreateMessageData::to_json (line 241) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::delete (line 162) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::delete_after (line 177) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::edit (line 193) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::get_author (line 121) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::get_channel (line 105) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::get_guild (line 136) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::get_message_reference (line 147) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::react (line 208) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::reply (line 79) [INFO] [stdout] src/models/message_response.rs - models::message_response::Message::send_in_channel (line 94) [INFO] [stdout] src/models/reaction_response.rs - models::reaction_response::Reaction::get_channel (line 41) [INFO] [stdout] src/models/reaction_response.rs - models::reaction_response::Reaction::get_message (line 63) [INFO] [stdout] src/models/reaction_response.rs - models::reaction_response::Reaction::get_user (line 52) [INFO] [stdout] src/models/reaction_response.rs - models::reaction_response::Reaction::remove_reaction (line 74) [INFO] [stdout] src/models/user.rs - models::user::User::get_avatar_url (line 52) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 65 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c59d76714968eb323a68d5ee78850282fb6dc9a26c789e408f725c6e1d1ef350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59d76714968eb323a68d5ee78850282fb6dc9a26c789e408f725c6e1d1ef350", kill_on_drop: false }` [INFO] [stdout] c59d76714968eb323a68d5ee78850282fb6dc9a26c789e408f725c6e1d1ef350