[INFO] cloning repository https://github.com/huduku/my-web-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huduku/my-web-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuduku%2Fmy-web-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuduku%2Fmy-web-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea6d4093cc296e0b99d21b69ed092b59385c8d66 [INFO] building huduku/my-web-service against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuduku%2Fmy-web-service" "/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/huduku/my-web-service [INFO] finished tweaking git repo https://github.com/huduku/my-web-service [INFO] tweaked toml for git repo https://github.com/huduku/my-web-service written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/huduku/my-web-service on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/huduku/my-web-service 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sql-parser v0.1.0 [INFO] [stderr] Downloaded rbdc-mysql v4.5.17 [INFO] [stderr] Downloaded rbdc-pool-fast v4.5.11 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded rbatis-macro-driver v4.5.12 [INFO] [stderr] Downloaded fastdate v0.3.34 [INFO] [stderr] Downloaded rbs v4.5.24 [INFO] [stderr] Downloaded fast_log v1.7.6 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded html_parser v0.6.3 [INFO] [stderr] Downloaded rbatis-codegen v4.5.29 [INFO] [stderr] Downloaded rbdc v4.5.45 [INFO] [stderr] Downloaded dark-std v0.2.16 [INFO] [stderr] Downloaded fast_pool v0.2.1 [INFO] [stderr] Downloaded rbatis v4.5.48 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 789d3ad65b1b3171c588eafc362e685ced0a739a724a0e40c2ccfad55ac9cd9a [INFO] running `Command { std: "docker" "start" "-a" "789d3ad65b1b3171c588eafc362e685ced0a739a724a0e40c2ccfad55ac9cd9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "789d3ad65b1b3171c588eafc362e685ced0a739a724a0e40c2ccfad55ac9cd9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "789d3ad65b1b3171c588eafc362e685ced0a739a724a0e40c2ccfad55ac9cd9a", kill_on_drop: false }` [INFO] [stdout] 789d3ad65b1b3171c588eafc362e685ced0a739a724a0e40c2ccfad55ac9cd9a [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 619eab5987c43728636b47decfd367ebc56cd5434038afbcad835541c39f8341 [INFO] running `Command { std: "docker" "start" "-a" "619eab5987c43728636b47decfd367ebc56cd5434038afbcad835541c39f8341", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling sql-parser v0.1.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rbs v4.5.24 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling fast_pool v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling dark-std v0.2.16 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling rbatis-codegen v4.5.29 [INFO] [stderr] Compiling redis v0.27.6 [INFO] [stderr] Compiling fastdate v0.3.34 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling rbdc v4.5.45 [INFO] [stderr] Compiling fast_log v1.7.6 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rbdc-pool-fast v4.5.11 [INFO] [stderr] Compiling rbdc-mysql v4.5.17 [INFO] [stderr] Compiling rbatis-macro-driver v4.5.12 [INFO] [stderr] Compiling rbatis v4.5.48 [INFO] [stderr] Compiling my-web-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AreaCalculator`, `Circle`, `Rectangle`, and `Visitable` [INFO] [stdout] --> src/test/double_dispatch.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::test::double_dispatch::{AreaCalculator, Circle, Rectangle, Visitable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `student_repository` is never used [INFO] [stdout] --> src/web/student_controller.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn student_repository() -> &'static StudentRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/test/double_dispatch.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitable` is never used [INFO] [stdout] --> src/test/double_dispatch.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait Visitable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AreaCalculator` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct AreaCalculator; [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/ddd/repo.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn attach(&self, aggr: Self::Aggr); [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] 16 - async fn attach(&self, aggr: Self::Aggr); [INFO] [stdout] 16 + fn attach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn detach(&self, aggr: Self::Aggr); [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] 18 - async fn detach(&self, aggr: Self::Aggr); [INFO] [stdout] 18 + fn detach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn find(&self, id: Self::Id) -> 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] 20 - async fn find(&self, id: Self::Id) -> Result; [INFO] [stdout] 20 + fn find(&self, id: Self::Id) -> 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/ddd/repo.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [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] 22 - async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [INFO] [stdout] 22 + fn save(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [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] 24 - async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [INFO] [stdout] 24 + fn remove(&self, aggr: Self::Id) -> 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/domain/repo/student.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_one(&self, stu_no: StuNo) -> 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] 10 - async fn find_one(&self, stu_no: StuNo) -> Result; [INFO] [stdout] 10 + fn find_one(&self, stu_no: StuNo) -> 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/domain/repo/student.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn find_page(&self, page_query: PageQuery) -> Result, String>; [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] 12 - async fn find_page(&self, page_query: PageQuery) -> Result, String>; [INFO] [stdout] 12 + fn find_page(&self, page_query: PageQuery) -> impl std::future::Future, String>> + 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/domain/repo/student.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn count(&self, query: StudentQuery) -> 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 count(&self, query: StudentQuery) -> Result; [INFO] [stdout] 14 + fn count(&self, query: StudentQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "619eab5987c43728636b47decfd367ebc56cd5434038afbcad835541c39f8341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619eab5987c43728636b47decfd367ebc56cd5434038afbcad835541c39f8341", kill_on_drop: false }` [INFO] [stdout] 619eab5987c43728636b47decfd367ebc56cd5434038afbcad835541c39f8341 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f46b640b5fe2847445dbcecd04f31440890c1aba58a256433abb186f109914bf [INFO] running `Command { std: "docker" "start" "-a" "f46b640b5fe2847445dbcecd04f31440890c1aba58a256433abb186f109914bf", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `AreaCalculator`, `Circle`, `Rectangle`, and `Visitable` [INFO] [stdout] --> src/test/double_dispatch.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::test::double_dispatch::{AreaCalculator, Circle, Rectangle, Visitable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `student_repository` is never used [INFO] [stdout] --> src/web/student_controller.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn student_repository() -> &'static StudentRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/test/double_dispatch.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitable` is never used [INFO] [stdout] --> src/test/double_dispatch.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait Visitable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AreaCalculator` is never constructed [INFO] [stdout] --> src/test/double_dispatch.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct AreaCalculator; [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/ddd/repo.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn attach(&self, aggr: Self::Aggr); [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] 16 - async fn attach(&self, aggr: Self::Aggr); [INFO] [stdout] 16 + fn attach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn detach(&self, aggr: Self::Aggr); [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] 18 - async fn detach(&self, aggr: Self::Aggr); [INFO] [stdout] 18 + fn detach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn find(&self, id: Self::Id) -> 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] 20 - async fn find(&self, id: Self::Id) -> Result; [INFO] [stdout] 20 + fn find(&self, id: Self::Id) -> 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/ddd/repo.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [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] 22 - async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [INFO] [stdout] 22 + fn save(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [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] 24 - async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [INFO] [stdout] 24 + fn remove(&self, aggr: Self::Id) -> 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/domain/repo/student.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_one(&self, stu_no: StuNo) -> 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] 10 - async fn find_one(&self, stu_no: StuNo) -> Result; [INFO] [stdout] 10 + fn find_one(&self, stu_no: StuNo) -> 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/domain/repo/student.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn find_page(&self, page_query: PageQuery) -> Result, String>; [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] 12 - async fn find_page(&self, page_query: PageQuery) -> Result, String>; [INFO] [stdout] 12 + fn find_page(&self, page_query: PageQuery) -> impl std::future::Future, String>> + 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/domain/repo/student.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn count(&self, query: StudentQuery) -> 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 count(&self, query: StudentQuery) -> Result; [INFO] [stdout] 14 + fn count(&self, query: StudentQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling my-web-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `student_repository` is never used [INFO] [stdout] --> src/web/student_controller.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn student_repository() -> &'static StudentRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/ddd/repo.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn attach(&self, aggr: Self::Aggr); [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] 16 - async fn attach(&self, aggr: Self::Aggr); [INFO] [stdout] 16 + fn attach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn detach(&self, aggr: Self::Aggr); [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] 18 - async fn detach(&self, aggr: Self::Aggr); [INFO] [stdout] 18 + fn detach(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn find(&self, id: Self::Id) -> 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] 20 - async fn find(&self, id: Self::Id) -> Result; [INFO] [stdout] 20 + fn find(&self, id: Self::Id) -> 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/ddd/repo.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [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] 22 - async fn save(&self, aggr: Self::Aggr) -> Result<(), String>; [INFO] [stdout] 22 + fn save(&self, aggr: Self::Aggr) -> 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/ddd/repo.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [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] 24 - async fn remove(&self, aggr: Self::Id) -> Result<(), String>; [INFO] [stdout] 24 + fn remove(&self, aggr: Self::Id) -> 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/domain/repo/student.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | async fn find_one(&self, stu_no: StuNo) -> 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] 10 - async fn find_one(&self, stu_no: StuNo) -> Result; [INFO] [stdout] 10 + fn find_one(&self, stu_no: StuNo) -> 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/domain/repo/student.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn find_page(&self, page_query: PageQuery) -> Result, String>; [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] 12 - async fn find_page(&self, page_query: PageQuery) -> Result, String>; [INFO] [stdout] 12 + fn find_page(&self, page_query: PageQuery) -> impl std::future::Future, String>> + 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/domain/repo/student.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn count(&self, query: StudentQuery) -> 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 count(&self, query: StudentQuery) -> Result; [INFO] [stdout] 14 + fn count(&self, query: StudentQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "f46b640b5fe2847445dbcecd04f31440890c1aba58a256433abb186f109914bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f46b640b5fe2847445dbcecd04f31440890c1aba58a256433abb186f109914bf", kill_on_drop: false }` [INFO] [stdout] f46b640b5fe2847445dbcecd04f31440890c1aba58a256433abb186f109914bf