[INFO] fetching crate autocache 0.2.1... [INFO] checking autocache-0.2.1 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate autocache 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate autocache 0.2.1 [INFO] finished tweaking crates.io crate autocache 0.2.1 [INFO] tweaked toml for crates.io crate autocache 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate autocache 0.2.1 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding async_singleflight v0.5.3 (available: v0.6.2) [INFO] [stderr] Adding redis v0.26.1 (available: v1.1.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6b6f77b0768c931601e3c9ae808263baf2d3003e5dd12807d5266d3f9d37615 [INFO] running `Command { std: "docker" "start" "-a" "a6b6f77b0768c931601e3c9ae808263baf2d3003e5dd12807d5266d3f9d37615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6b6f77b0768c931601e3c9ae808263baf2d3003e5dd12807d5266d3f9d37615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b6f77b0768c931601e3c9ae808263baf2d3003e5dd12807d5266d3f9d37615", kill_on_drop: false }` [INFO] [stdout] a6b6f77b0768c931601e3c9ae808263baf2d3003e5dd12807d5266d3f9d37615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f7a0d61a5b8dbf3ff8dea745574dd9c84823a576ad04c6eda66d7eb6c2bc3cf [INFO] running `Command { std: "docker" "start" "-a" "1f7a0d61a5b8dbf3ff8dea745574dd9c84823a576ad04c6eda66d7eb6c2bc3cf", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking arc-swap v1.9.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking moka v0.12.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking async_singleflight v0.5.3 [INFO] [stderr] Checking autocache v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/panic.rs:94:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/panic.rs:94:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:97:62","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:97:62","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:110:62","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:110:62","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/select.rs:760:56","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/panic.rs:94:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.50.0/src/macros/select.rs:760:56","p":1,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:189:48","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/core/src/panic.rs:94:23","p":2,"ph":0,"wa":0,"pa":0,"a":0,"pos":0,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":0,"a_opt":0,"sz_no_dedup":0,"sz_old":0,"sz_opt":0} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:275:48","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:189:48","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:645:40","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:275:48","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:49:15","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:59:12","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:71:15","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/std/src/macros.rs:385:12","p":10,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"/rustc/38c2997544af84fe301d600d6896397738163002/library/std/src/macros.rs:385:12","p":10,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/autocache.rs:645:40","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:49:15","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:59:12","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"autocache","loc":"src/local_cache.rs:71:15","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":0,"cap":1,"ucap":1,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn mget(&self, keys: &[Self::Key]) -> 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 mget(&self, keys: &[Self::Key]) -> Result>; [INFO] [stdout] 8 + fn mget(&self, keys: &[Self::Key]) -> 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/cache.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn mdel(&self, keys: &[Self::Key]) -> 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] 15 - async fn mdel(&self, keys: &[Self::Key]) -> Result<()>; [INFO] [stdout] 15 + fn mdel(&self, keys: &[Self::Key]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `message` are never read [INFO] [stdout] --> src/test/local_cache_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn mget(&self, keys: &[Self::Key]) -> 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 mget(&self, keys: &[Self::Key]) -> Result>; [INFO] [stdout] 8 + fn mget(&self, keys: &[Self::Key]) -> 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/cache.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn mdel(&self, keys: &[Self::Key]) -> 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] 15 - async fn mdel(&self, keys: &[Self::Key]) -> Result<()>; [INFO] [stdout] 15 + fn mdel(&self, keys: &[Self::Key]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.34s [INFO] running `Command { std: "docker" "inspect" "1f7a0d61a5b8dbf3ff8dea745574dd9c84823a576ad04c6eda66d7eb6c2bc3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7a0d61a5b8dbf3ff8dea745574dd9c84823a576ad04c6eda66d7eb6c2bc3cf", kill_on_drop: false }` [INFO] [stdout] 1f7a0d61a5b8dbf3ff8dea745574dd9c84823a576ad04c6eda66d7eb6c2bc3cf