[INFO] cloning repository https://github.com/Inspirateur/serenity-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inspirateur/serenity-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInspirateur%2Fserenity-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInspirateur%2Fserenity-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b061f4740bad97a8a9edf34ab16bf368aa16e97 [INFO] building Inspirateur/serenity-utils against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInspirateur%2Fserenity-utils" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Inspirateur/serenity-utils [INFO] finished tweaking git repo https://github.com/Inspirateur/serenity-utils [INFO] tweaked toml for git repo https://github.com/Inspirateur/serenity-utils written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Inspirateur/serenity-utils on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity.git` [INFO] [stderr] Locking 210 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded percent-encoding v2.3.2 [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded quote v1.0.41 [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] [stderr] Downloaded unicode-ident v1.0.19 [INFO] [stderr] Downloaded anyhow v1.0.100 [INFO] [stderr] Downloaded wasi v0.14.7+wasi-0.2.4 [INFO] [stderr] Downloaded async-trait v0.1.89 [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded hyper v1.7.0 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded rustls-webpki v0.103.6 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded serde_json v1.0.145 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded io-uring v0.7.10 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded zerocopy v0.8.27 [INFO] [stderr] Downloaded zerocopy-derive v0.8.27 [INFO] [stderr] Downloaded memchr v2.7.6 [INFO] [stderr] Downloaded syn v2.0.106 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded rustls v0.23.32 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded thiserror-impl v2.0.17 [INFO] [stderr] Downloaded thiserror v2.0.17 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded tokio-rustls v0.26.4 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded form_urlencoded v1.2.2 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded cc v1.2.39 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded windows-targets v0.53.4 [INFO] [stderr] Downloaded serde v1.0.228 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded libc v0.2.176 [INFO] [stderr] Downloaded serde_derive v1.0.228 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded serde_core v1.0.228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 510b26a5d189d908a9a5148a43afc3023e80d29fd8d4d2cd9e65f67b13f4a942 [INFO] running `Command { std: "docker" "start" "-a" "510b26a5d189d908a9a5148a43afc3023e80d29fd8d4d2cd9e65f67b13f4a942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "510b26a5d189d908a9a5148a43afc3023e80d29fd8d4d2cd9e65f67b13f4a942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510b26a5d189d908a9a5148a43afc3023e80d29fd8d4d2cd9e65f67b13f4a942", kill_on_drop: false }` [INFO] [stdout] 510b26a5d189d908a9a5148a43afc3023e80d29fd8d4d2cd9e65f67b13f4a942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f28f0cc3f8e2478b31be721ceadf21252f50f8c88b93a4dc06bd0b43e84a1490 [INFO] running `Command { std: "docker" "start" "-a" "f28f0cc3f8e2478b31be721ceadf21252f50f8c88b93a4dc06bd0b43e84a1490", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serenity v0.12.4 (https://github.com/serenity-rs/serenity.git#cdf94395) [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling serenity-utils v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `serenity::all::GuildChannel::permissions_for_user`: Use `Guild::user_permissions_in` [INFO] [stdout] --> src/utils.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(perms) = channel.permissions_for_user(&ctx.cache, me.id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/bot_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] 8 + fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] 14 + fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] 16 + fn followup(&self, http: &Http, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "f28f0cc3f8e2478b31be721ceadf21252f50f8c88b93a4dc06bd0b43e84a1490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28f0cc3f8e2478b31be721ceadf21252f50f8c88b93a4dc06bd0b43e84a1490", kill_on_drop: false }` [INFO] [stdout] f28f0cc3f8e2478b31be721ceadf21252f50f8c88b93a4dc06bd0b43e84a1490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f9fece582d08652a3b536ed46520413002ae994c90c1e6aac16c80905bde02f [INFO] running `Command { std: "docker" "start" "-a" "6f9fece582d08652a3b536ed46520413002ae994c90c1e6aac16c80905bde02f", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `serenity::all::GuildChannel::permissions_for_user`: Use `Guild::user_permissions_in` [INFO] [stdout] --> src/utils.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(perms) = channel.permissions_for_user(&ctx.cache, me.id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/bot_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] 8 + fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serenity-utils v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] 14 + fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] 16 + fn followup(&self, http: &Http, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `serenity::all::GuildChannel::permissions_for_user`: Use `Guild::user_permissions_in` [INFO] [stdout] --> src/utils.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(perms) = channel.permissions_for_user(&ctx.cache, me.id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/bot_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stdout] 8 + fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stdout] 14 + fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/command_util.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 16 - async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stdout] 16 + fn followup(&self, http: &Http, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "6f9fece582d08652a3b536ed46520413002ae994c90c1e6aac16c80905bde02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9fece582d08652a3b536ed46520413002ae994c90c1e6aac16c80905bde02f", kill_on_drop: false }` [INFO] [stdout] 6f9fece582d08652a3b536ed46520413002ae994c90c1e6aac16c80905bde02f