[INFO] cloning repository https://github.com/rootkill-g/groove-throttle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rootkill-g/groove-throttle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootkill-g%2Fgroove-throttle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootkill-g%2Fgroove-throttle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4f346879bc1908aa67ba63fccd53802c0b1ffd9 [INFO] checking rootkill-g/groove-throttle against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootkill-g%2Fgroove-throttle" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rootkill-g/groove-throttle [INFO] finished tweaking git repo https://github.com/rootkill-g/groove-throttle [INFO] tweaked toml for git repo https://github.com/rootkill-g/groove-throttle written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rootkill-g/groove-throttle on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rootkill-g/groove-throttle 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongocrypt v0.3.1 [INFO] [stderr] Downloaded mongodb-internal-macros v3.3.0 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded mongocrypt-sys v0.1.4+1.12.0 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded resolv-conf v0.7.5 [INFO] [stderr] Downloaded typed-builder-macro v0.20.1 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded deadpool-redis v0.22.0 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded mongodb v3.3.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded bson v3.0.0 [INFO] [stderr] Downloaded redis v0.32.5 [INFO] [stderr] Downloaded typed-builder v0.20.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0640bc24aa5b2a7d3ae757d78c7dc39a1271382547a564f7465c46cd406f276 [INFO] running `Command { std: "docker" "start" "-a" "c0640bc24aa5b2a7d3ae757d78c7dc39a1271382547a564f7465c46cd406f276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0640bc24aa5b2a7d3ae757d78c7dc39a1271382547a564f7465c46cd406f276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0640bc24aa5b2a7d3ae757d78c7dc39a1271382547a564f7465c46cd406f276", kill_on_drop: false }` [INFO] [stdout] c0640bc24aa5b2a7d3ae757d78c7dc39a1271382547a564f7465c46cd406f276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78430b47eb8a541e87508f802ab545eb0acb0fbc22b8d769087e78f093a2704c [INFO] running `Command { std: "docker" "start" "-a" "78430b47eb8a541e87508f802ab545eb0acb0fbc22b8d769087e78f093a2704c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling mongocrypt-sys v0.1.4+1.12.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling typed-builder-macro v0.20.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking resolv-conf v0.7.5 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking typed-builder v0.20.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.26.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking mongocrypt v0.3.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking serde_with v3.14.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking bson v3.0.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking redis v0.32.5 [INFO] [stderr] Checking mongodb v3.3.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking deadpool-redis v0.22.0 [INFO] [stderr] Checking groove-throttle v0.1.0 (/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/ports.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn multi_hgetall( [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] 6 ~ fn multi_hgetall( [INFO] [stdout] 7 | &self, [INFO] [stdout] 8 | keys: &[String], [INFO] [stdout] 9 ~ ) -> impl std::future::Future>, BoxError>> + 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/ports.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hgetall(&self, key: &str) -> Result, BoxError>; [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] 10 - async fn hgetall(&self, key: &str) -> Result, BoxError>; [INFO] [stdout] 10 + fn hgetall(&self, key: &str) -> impl std::future::Future, BoxError>> + 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/ports.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn write_cache_and_clear( [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] 11 ~ fn write_cache_and_clear( [INFO] [stdout] 12 | &self, [INFO] [stdout] ... [INFO] [stdout] 15 | cache_ttl: u64, [INFO] [stdout] 16 ~ ) -> 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/ports.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn set_inflight_fields( [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] 17 ~ fn set_inflight_fields( [INFO] [stdout] 18 | &self, [INFO] [stdout] ... [INFO] [stdout] 22 | inflight_ttl: u64, [INFO] [stdout] 23 ~ ) -> 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/ports.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn find_by_urls(&self, urls: &[String]) -> Result, BoxError>; [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] 27 - async fn find_by_urls(&self, urls: &[String]) -> Result, BoxError>; [INFO] [stdout] 27 + fn find_by_urls(&self, urls: &[String]) -> impl std::future::Future, BoxError>> + 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/ports.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn send_batch(&self, urls: &[String]) -> Result<(), BoxError>; [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] 31 - async fn send_batch(&self, urls: &[String]) -> Result<(), BoxError>; [INFO] [stdout] 31 + fn send_batch(&self, urls: &[String]) -> 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/ports.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | async fn multi_hgetall( [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] 6 ~ fn multi_hgetall( [INFO] [stdout] 7 | &self, [INFO] [stdout] 8 | keys: &[String], [INFO] [stdout] 9 ~ ) -> impl std::future::Future>, BoxError>> + 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/ports.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hgetall(&self, key: &str) -> Result, BoxError>; [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] 10 - async fn hgetall(&self, key: &str) -> Result, BoxError>; [INFO] [stdout] 10 + fn hgetall(&self, key: &str) -> impl std::future::Future, BoxError>> + 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/ports.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn write_cache_and_clear( [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] 11 ~ fn write_cache_and_clear( [INFO] [stdout] 12 | &self, [INFO] [stdout] ... [INFO] [stdout] 15 | cache_ttl: u64, [INFO] [stdout] 16 ~ ) -> 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/ports.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn set_inflight_fields( [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] 17 ~ fn set_inflight_fields( [INFO] [stdout] 18 | &self, [INFO] [stdout] ... [INFO] [stdout] 22 | inflight_ttl: u64, [INFO] [stdout] 23 ~ ) -> 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/ports.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn find_by_urls(&self, urls: &[String]) -> Result, BoxError>; [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] 27 - async fn find_by_urls(&self, urls: &[String]) -> Result, BoxError>; [INFO] [stdout] 27 + fn find_by_urls(&self, urls: &[String]) -> impl std::future::Future, BoxError>> + 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/ports.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn send_batch(&self, urls: &[String]) -> Result<(), BoxError>; [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] 31 - async fn send_batch(&self, urls: &[String]) -> Result<(), BoxError>; [INFO] [stdout] 31 + fn send_batch(&self, urls: &[String]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "78430b47eb8a541e87508f802ab545eb0acb0fbc22b8d769087e78f093a2704c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78430b47eb8a541e87508f802ab545eb0acb0fbc22b8d769087e78f093a2704c", kill_on_drop: false }` [INFO] [stdout] 78430b47eb8a541e87508f802ab545eb0acb0fbc22b8d769087e78f093a2704c