[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] testing Inspirateur/serenity-utils against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInspirateur%2Fserenity-utils" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Inspirateur/serenity-utils on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "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 202 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.32 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.114 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.114 [INFO] [stderr] Downloaded ipnet v2.12.0 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.114 [INFO] [stderr] Downloaded rustls v0.23.37 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.64 [INFO] [stderr] Downloaded js-sys v0.3.91 [INFO] [stderr] Downloaded bumpalo v3.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b4926f6c9110c59b85709469d244f4d2e5e43b3ca8159b1d58bd493cca5f7e [INFO] running `Command { std: "docker" "start" "-a" "06b4926f6c9110c59b85709469d244f4d2e5e43b3ca8159b1d58bd493cca5f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b4926f6c9110c59b85709469d244f4d2e5e43b3ca8159b1d58bd493cca5f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b4926f6c9110c59b85709469d244f4d2e5e43b3ca8159b1d58bd493cca5f7e", kill_on_drop: false }` [INFO] [stdout] 06b4926f6c9110c59b85709469d244f4d2e5e43b3ca8159b1d58bd493cca5f7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63662f54c3b130c414a35edc986699972b94d85d260c96817b898c6c940d11bd [INFO] running `Command { std: "docker" "start" "-a" "63662f54c3b130c414a35edc986699972b94d85d260c96817b898c6c940d11bd", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serenity v0.12.5 (https://github.com/serenity-rs/serenity.git#87b2bd1a) [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [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 1m 37s [INFO] running `Command { std: "docker" "inspect" "63662f54c3b130c414a35edc986699972b94d85d260c96817b898c6c940d11bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63662f54c3b130c414a35edc986699972b94d85d260c96817b898c6c940d11bd", kill_on_drop: false }` [INFO] [stdout] 63662f54c3b130c414a35edc986699972b94d85d260c96817b898c6c940d11bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c31c91da15c5148a4a7089d88d7312938eb8db57527c28775075adf9a9b02fd3 [INFO] running `Command { std: "docker" "start" "-a" "c31c91da15c5148a4a7089d88d7312938eb8db57527c28775075adf9a9b02fd3", 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] [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/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] [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.80s [INFO] running `Command { std: "docker" "inspect" "c31c91da15c5148a4a7089d88d7312938eb8db57527c28775075adf9a9b02fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31c91da15c5148a4a7089d88d7312938eb8db57527c28775075adf9a9b02fd3", kill_on_drop: false }` [INFO] [stdout] c31c91da15c5148a4a7089d88d7312938eb8db57527c28775075adf9a9b02fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bda5b7d68f9283834ef1d503182a921c6bbe45a69c570943f15774538c08180d [INFO] running `Command { std: "docker" "start" "-a" "bda5b7d68f9283834ef1d503182a921c6bbe45a69c570943f15774538c08180d", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `serenity::all::GuildChannel::permissions_for_user`: Use `Guild::user_permissions_in` [INFO] [stderr] --> src/utils.rs:9:40 [INFO] [stderr] | [INFO] [stderr] 9 | if let Ok(perms) = channel.permissions_for_user(&ctx.cache, me.id) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/bot_util.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] 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] [stderr] | [INFO] [stderr] 8 - async fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> Result; [INFO] [stderr] 8 + fn send(&self, channel_id: ChannelId, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/command_util.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 14 - async fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> Result; [INFO] [stderr] 14 + fn response(&self, http: &Http, message: MessageBuilder, kind: InteractionResponseFlags) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/command_util.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 16 - async fn followup(&self, http: &Http, message: MessageBuilder) -> Result<()>; [INFO] [stderr] 16 + fn followup(&self, http: &Http, message: MessageBuilder) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `serenity-utils` (lib) generated 4 warnings [INFO] [stderr] warning: `serenity-utils` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serenity_utils-64610198022d8292) [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 serenity_utils [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] running `Command { std: "docker" "inspect" "bda5b7d68f9283834ef1d503182a921c6bbe45a69c570943f15774538c08180d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda5b7d68f9283834ef1d503182a921c6bbe45a69c570943f15774538c08180d", kill_on_drop: false }` [INFO] [stdout] bda5b7d68f9283834ef1d503182a921c6bbe45a69c570943f15774538c08180d