[INFO] fetching crate r2d2_mysql_batis 0.1.4... [INFO] checking r2d2_mysql_batis-0.1.4 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate r2d2_mysql_batis 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate r2d2_mysql_batis 0.1.4 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking crates.io crate r2d2_mysql_batis 0.1.4 [INFO] finished tweaking crates.io crate r2d2_mysql_batis 0.1.4 [INFO] tweaked toml for crates.io crate r2d2_mysql_batis 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 217 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (latest: v0.4.5) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding lru v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mysql v24.0.0 (latest: v25.0.1) [INFO] [stderr] Adding mysql-common-derive v0.30.2 (latest: v0.31.1) [INFO] [stderr] Adding mysql_common v0.30.6 (latest: v0.32.4) [INFO] [stderr] Adding pem v2.0.1 (latest: v3.0.4) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding r2d2_mysql v24.0.0 (latest: v25.0.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_utils v0.14.2 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded r2d2_mysql v24.0.0 [INFO] [stderr] Downloaded r2d2_mysql_batis_macros v0.1.0 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a9c1bc124ecff9cb397bbbe8a878e992a3c253049f937e6e05dd902e5560d47 [INFO] running `Command { std: "docker" "start" "-a" "7a9c1bc124ecff9cb397bbbe8a878e992a3c253049f937e6e05dd902e5560d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9c1bc124ecff9cb397bbbe8a878e992a3c253049f937e6e05dd902e5560d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9c1bc124ecff9cb397bbbe8a878e992a3c253049f937e6e05dd902e5560d47", kill_on_drop: false }` [INFO] [stdout] 7a9c1bc124ecff9cb397bbbe8a878e992a3c253049f937e6e05dd902e5560d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eabd7f31c32dee7a961ca3f3b7c1a0eec3b7eb68ded15dbbcc77b6b1d3616f7 [INFO] running `Command { std: "docker" "start" "-a" "1eabd7f31c32dee7a961ca3f3b7c1a0eec3b7eb68ded15dbbcc77b6b1d3616f7", kill_on_drop: false }` [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling r2d2_mysql_batis_macros v0.1.0 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking r2d2_mysql v24.0.0 [INFO] [stderr] Checking r2d2_mysql_batis v0.1.4 (/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/service/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn query(query_sql: String) -> Result, BoxErr> { [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] 14 ~ fn query(query_sql: String) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 15 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 25 | }).await? [INFO] [stdout] 26 ~ } } [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/service/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn jpa_query(query_sql: String, params: Params) -> Result, BoxErr> { [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] 29 ~ fn jpa_query(query_sql: String, params: Params) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 30 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 40 | }).await? [INFO] [stdout] 41 ~ } } [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/service/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn list() -> Result, BoxErr> { [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] 44 ~ fn list() -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 45 | Self::query(format!("SELECT * FROM `{}` ORDER BY `{}` ASC", Self::table_name(), Self::primary_key())).await [INFO] [stdout] 46 ~ } } [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/service/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn find_by_id(id: u64) -> Result, BoxErr> { [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] 49 ~ fn find_by_id(id: u64) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 50 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 58 | }).await? [INFO] [stdout] 59 ~ } } [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/service/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn add(mut self) -> 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] 62 ~ fn add(mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 63 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 68 | }).await? [INFO] [stdout] 69 ~ } } [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/service/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn edit(self) -> 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] 72 ~ fn edit(self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 73 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 77 | }).await? [INFO] [stdout] 78 ~ } } [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/service/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn remove(id: u64) -> Result<(), BoxErr> { [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] 81 ~ fn remove(id: u64) -> impl std::future::Future> + Send {async { [INFO] [stdout] 82 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 86 | }).await? [INFO] [stdout] 87 ~ } } [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/service/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn query(query_sql: String) -> Result, BoxErr> { [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] 14 ~ fn query(query_sql: String) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 15 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 25 | }).await? [INFO] [stdout] 26 ~ } } [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/service/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn jpa_query(query_sql: String, params: Params) -> Result, BoxErr> { [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] 29 ~ fn jpa_query(query_sql: String, params: Params) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 30 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 40 | }).await? [INFO] [stdout] 41 ~ } } [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/service/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn list() -> Result, BoxErr> { [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] 44 ~ fn list() -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 45 | Self::query(format!("SELECT * FROM `{}` ORDER BY `{}` ASC", Self::table_name(), Self::primary_key())).await [INFO] [stdout] 46 ~ } } [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/service/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn find_by_id(id: u64) -> Result, BoxErr> { [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] 49 ~ fn find_by_id(id: u64) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 50 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 58 | }).await? [INFO] [stdout] 59 ~ } } [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/service/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn add(mut self) -> 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] 62 ~ fn add(mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 63 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 68 | }).await? [INFO] [stdout] 69 ~ } } [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/service/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn edit(self) -> 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] 72 ~ fn edit(self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 73 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 77 | }).await? [INFO] [stdout] 78 ~ } } [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/service/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn remove(id: u64) -> Result<(), BoxErr> { [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] 81 ~ fn remove(id: u64) -> impl std::future::Future> + Send {async { [INFO] [stdout] 82 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 86 | }).await? [INFO] [stdout] 87 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] running `Command { std: "docker" "inspect" "1eabd7f31c32dee7a961ca3f3b7c1a0eec3b7eb68ded15dbbcc77b6b1d3616f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eabd7f31c32dee7a961ca3f3b7c1a0eec3b7eb68ded15dbbcc77b6b1d3616f7", kill_on_drop: false }` [INFO] [stdout] 1eabd7f31c32dee7a961ca3f3b7c1a0eec3b7eb68ded15dbbcc77b6b1d3616f7 [INFO] checking r2d2_mysql_batis-0.1.4 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate r2d2_mysql_batis 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate r2d2_mysql_batis 0.1.4 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate r2d2_mysql_batis 0.1.4 [INFO] finished tweaking crates.io crate r2d2_mysql_batis 0.1.4 [INFO] tweaked toml for crates.io crate r2d2_mysql_batis 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 217 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (latest: v0.4.5) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding lru v0.10.1 (latest: v0.12.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mysql v24.0.0 (latest: v25.0.1) [INFO] [stderr] Adding mysql-common-derive v0.30.2 (latest: v0.31.1) [INFO] [stderr] Adding mysql_common v0.30.6 (latest: v0.32.4) [INFO] [stderr] Adding pem v2.0.1 (latest: v3.0.4) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding r2d2_mysql v24.0.0 (latest: v25.0.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ba34e9ad93aed9b6fe31a1c6875af66069e53039607053832546315eaa2054 [INFO] running `Command { std: "docker" "start" "-a" "37ba34e9ad93aed9b6fe31a1c6875af66069e53039607053832546315eaa2054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ba34e9ad93aed9b6fe31a1c6875af66069e53039607053832546315eaa2054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ba34e9ad93aed9b6fe31a1c6875af66069e53039607053832546315eaa2054", kill_on_drop: false }` [INFO] [stdout] 37ba34e9ad93aed9b6fe31a1c6875af66069e53039607053832546315eaa2054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc0203573b1f3950c5c7fae2776c4e964ea6db38d7b80c83a14cd122ae4a6240 [INFO] running `Command { std: "docker" "start" "-a" "cc0203573b1f3950c5c7fae2776c4e964ea6db38d7b80c83a14cd122ae4a6240", kill_on_drop: false }` [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling r2d2_mysql_batis_macros v0.1.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking r2d2_mysql v24.0.0 [INFO] [stderr] Checking r2d2_mysql_batis v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = File::open("./db.yml").unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let docs = YamlLoader::load_from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let doc = &docs[0]; [INFO] [stdout] 19 | let builder = OptsBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let manager = MySqlConnectionManager::new(builder); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | r2d2::Pool::builder().max_size(5).build(manager).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = File::open("./db.yml").unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let docs = YamlLoader::load_from_str(contents.as_str()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let doc = &docs[0]; [INFO] [stdout] 19 | let builder = OptsBuilder::new() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let manager = MySqlConnectionManager::new(builder); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | r2d2::Pool::builder().max_size(5).build(manager).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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/service/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn query(query_sql: String) -> Result, BoxErr> { [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] 14 ~ fn query(query_sql: String) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 15 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 25 | }).await? [INFO] [stdout] 26 ~ } } [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/service/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn query(query_sql: String) -> Result, BoxErr> { [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] 14 ~ fn query(query_sql: String) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 15 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 25 | }).await? [INFO] [stdout] 26 ~ } } [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/service/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn jpa_query(query_sql: String, params: Params) -> Result, BoxErr> { [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] 29 ~ fn jpa_query(query_sql: String, params: Params) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 30 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 40 | }).await? [INFO] [stdout] 41 ~ } } [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/service/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn jpa_query(query_sql: String, params: Params) -> Result, BoxErr> { [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] 29 ~ fn jpa_query(query_sql: String, params: Params) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 30 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 40 | }).await? [INFO] [stdout] 41 ~ } } [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/service/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn list() -> Result, BoxErr> { [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] 44 ~ fn list() -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 45 | Self::query(format!("SELECT * FROM `{}` ORDER BY `{}` ASC", Self::table_name(), Self::primary_key())).await [INFO] [stdout] 46 ~ } } [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/service/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn list() -> Result, BoxErr> { [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] 44 ~ fn list() -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 45 | Self::query(format!("SELECT * FROM `{}` ORDER BY `{}` ASC", Self::table_name(), Self::primary_key())).await [INFO] [stdout] 46 ~ } } [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/service/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn find_by_id(id: u64) -> Result, BoxErr> { [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] 49 ~ fn find_by_id(id: u64) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 50 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 58 | }).await? [INFO] [stdout] 59 ~ } } [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/service/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn find_by_id(id: u64) -> Result, BoxErr> { [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] 49 ~ fn find_by_id(id: u64) -> impl std::future::Future, BoxErr>> + Send {async { [INFO] [stdout] 50 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 58 | }).await? [INFO] [stdout] 59 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 50 | ... let mut coon = mysql::get_coon().await?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | ... task::spawn_blocking(move || { [INFO] [stdout] 52 | ... let result = coon.exec_first(format!("SELECT * FROM `{}` WHERE `{}` = :id LIMIT 1", Self::table_name(), Self::primary_key()), p... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | ... Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/mod.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 50 | ... let mut coon = mysql::get_coon().await?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | ... task::spawn_blocking(move || { [INFO] [stdout] 52 | ... let result = coon.exec_first(format!("SELECT * FROM `{}` WHERE `{}` = :id LIMIT 1", Self::table_name(), Self::primary_key()), p... [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | ... Ok(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/service/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn add(mut self) -> 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] 62 ~ fn add(mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 63 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 68 | }).await? [INFO] [stdout] 69 ~ } } [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/service/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn add(mut self) -> 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] 62 ~ fn add(mut self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 63 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 68 | }).await? [INFO] [stdout] 69 ~ } } [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/service/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn edit(self) -> 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] 72 ~ fn edit(self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 73 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 77 | }).await? [INFO] [stdout] 78 ~ } } [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/service/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn edit(self) -> 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] 72 ~ fn edit(self) -> impl std::future::Future> + Send {async { [INFO] [stdout] 73 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 77 | }).await? [INFO] [stdout] 78 ~ } } [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/service/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn remove(id: u64) -> Result<(), BoxErr> { [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] 81 ~ fn remove(id: u64) -> impl std::future::Future> + Send {async { [INFO] [stdout] 82 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 86 | }).await? [INFO] [stdout] 87 ~ } } [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/service/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn remove(id: u64) -> Result<(), BoxErr> { [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] 81 ~ fn remove(id: u64) -> impl std::future::Future> + Send {async { [INFO] [stdout] 82 | let mut coon = mysql::get_coon().await?; [INFO] [stdout] ... [INFO] [stdout] 86 | }).await? [INFO] [stdout] 87 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r2d2_mysql_batis` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `r2d2_mysql_batis` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cc0203573b1f3950c5c7fae2776c4e964ea6db38d7b80c83a14cd122ae4a6240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0203573b1f3950c5c7fae2776c4e964ea6db38d7b80c83a14cd122ae4a6240", kill_on_drop: false }` [INFO] [stdout] cc0203573b1f3950c5c7fae2776c4e964ea6db38d7b80c83a14cd122ae4a6240