[INFO] fetching crate async-bb8-diesel 0.2.1... [INFO] checking async-bb8-diesel-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate async-bb8-diesel 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate async-bb8-diesel 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-bb8-diesel 0.2.1 [INFO] finished tweaking crates.io crate async-bb8-diesel 0.2.1 [INFO] tweaked toml for crates.io crate async-bb8-diesel 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate async-bb8-diesel 0.2.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b8a83d4f2f7ce3848ba3af05a2699446fcaae7b59823d689622e34a54c8843d [INFO] running `Command { std: "docker" "start" "-a" "8b8a83d4f2f7ce3848ba3af05a2699446fcaae7b59823d689622e34a54c8843d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b8a83d4f2f7ce3848ba3af05a2699446fcaae7b59823d689622e34a54c8843d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8a83d4f2f7ce3848ba3af05a2699446fcaae7b59823d689622e34a54c8843d", kill_on_drop: false }` [INFO] [stdout] 8b8a83d4f2f7ce3848ba3af05a2699446fcaae7b59823d689622e34a54c8843d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f59c32605bf76d1d2e6d141c9e1c32a0faf7628e30f67b77880c1063809ebffe [INFO] running `Command { std: "docker" "start" "-a" "f59c32605bf76d1d2e6d141c9e1c32a0faf7628e30f67b77880c1063809ebffe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling rustix v0.38.26 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking bb8 v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking async-bb8-diesel v0.2.1 (/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/async_traits.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn run(&self, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | let connection = self.get_owned_connection(); [INFO] [stdout] 85 | | connection.run_with_connection(f).await [INFO] [stdout] 86 | | } [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/async_traits.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run_with_connection(self, f: Func) -> Result [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / { [INFO] [stdout] 95 | | spawn_blocking(move || f(&mut *self.as_sync_conn())) [INFO] [stdout] 96 | | .await [INFO] [stdout] 97 | | .unwrap() // Propagate panics [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run_with_connection(self, f: Func) -> Result [INFO] [stdout] | ---- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | spawn_blocking(move || f(&mut *self.as_sync_conn())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/async_traits.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 101 | async fn run_with_shared_connection(self: &Arc, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | / { [INFO] [stdout] 107 | | let conn = self.clone(); [INFO] [stdout] 108 | | spawn_blocking(move || f(&mut *conn.as_sync_conn())) [INFO] [stdout] 109 | | .await [INFO] [stdout] 110 | | .unwrap() // Propagate panics [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 101 | async fn run_with_shared_connection(self: &Arc, f: Func) -> Result [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let conn = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | spawn_blocking(move || f(&mut *conn.as_sync_conn())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/async_traits.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 186 | f: Func, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | retry: RetryFunc, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | / { [INFO] [stdout] 196 | | // This function sure has a bunch of generic parameters, which can cause [INFO] [stdout] 197 | | // a lot of code to be generated, and can slow down compile-time. [INFO] [stdout] 198 | | // [INFO] [stdout] ... | [INFO] [stdout] 217 | | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] 218 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 206 | let f = |conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | / f(conn) [INFO] [stdout] 208 | | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | |_________________________________________________________________________________^ [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/async_traits.rs:208:46 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let retry = || retry().boxed(); [INFO] [stdout] | ^^^^^^^ [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/async_traits.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 306 | async fn transaction_async(&'a self, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | / { [INFO] [stdout] 313 | | // This function sure has a bunch of generic parameters, which can cause [INFO] [stdout] 314 | | // a lot of code to be generated, and can slow down compile-time. [INFO] [stdout] 315 | | // [INFO] [stdout] ... | [INFO] [stdout] 330 | | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 306 | async fn transaction_async(&'a self, f: Func) -> Result [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let f = Box::new(move |conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | / f(conn) [INFO] [stdout] 324 | | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | |_________________________________________________________________________________^ [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/async_traits.rs:324:46 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:330:23 [INFO] [stdout] | [INFO] [stdout] 330 | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 336 | / f: Box< [INFO] [stdout] 337 | | dyn FnOnce(Connection) -> BoxFuture<'a, Result, E>> [INFO] [stdout] 338 | | + Send [INFO] [stdout] 339 | | + 'a, [INFO] [stdout] 340 | | >, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | / { [INFO] [stdout] 345 | | // Check out a connection once, and use it for the duration of the [INFO] [stdout] 346 | | // operation. [INFO] [stdout] 347 | | let conn = Arc::new(self.get_owned_connection()); [INFO] [stdout] ... | [INFO] [stdout] 391 | | } [INFO] [stdout] 392 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 434 | async fn execute_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / { [INFO] [stdout] 438 | | asc.run(|conn| self.execute(conn)).await [INFO] [stdout] 439 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 441 | async fn load_async(self, asc: &AsyncConn) -> Result, DieselError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | / { [INFO] [stdout] 446 | | asc.run(|conn| self.load(conn)).await [INFO] [stdout] 447 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 449 | async fn get_result_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 453 | / { [INFO] [stdout] 454 | | asc.run(|conn| self.get_result(conn)).await [INFO] [stdout] 455 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 457 | async fn get_results_async(self, asc: &AsyncConn) -> Result, DieselError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 461 | / { [INFO] [stdout] 462 | | asc.run(|conn| self.get_results(conn)).await [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 465 | async fn first_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | / { [INFO] [stdout] 471 | | asc.run(|conn| self.first(conn)).await [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 494 | async fn save_changes_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | / { [INFO] [stdout] 499 | | asc.run(|conn| self.save_changes(conn)).await [INFO] [stdout] 500 | | } [INFO] [stdout] | |_____^ [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/connection.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(c: C) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self(Arc::new(Mutex::new(c))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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/connection.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 39 | let diesel_conn = Connection(self.0.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let query = query.to_string(); [INFO] [stdout] 41 | task::spawn_blocking(move || diesel_conn.inner().batch_execute(&query)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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/connection_manager.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new>(database_url: S) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Self { [INFO] [stdout] 45 | inner: Arc::new(Mutex::new(r2d2::ConnectionManager::new(database_url))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/connection_manager.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 49 | async fn run_blocking(&self, f: F) -> R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let cloned = self.inner.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | tokio::task::spawn_blocking(move || f(&*cloned.lock().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] [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/error.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn optional(self) -> Result, ConnectionError> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let self_as_query_result: diesel::QueryResult = match self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(value) => Ok(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Err(ConnectionError::Query(error_kind)) => Err(error_kind), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Err(e) => return Err(e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / self_as_query_result [INFO] [stdout] 42 | | .optional() [INFO] [stdout] | |_______________________^ [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/error.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(error: DieselError) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | PoolError::Connection(ConnectionError::Query(error)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-bb8-diesel` (lib test) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/async_traits.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | async fn run(&self, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / { [INFO] [stdout] 84 | | let connection = self.get_owned_connection(); [INFO] [stdout] 85 | | connection.run_with_connection(f).await [INFO] [stdout] 86 | | } [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/async_traits.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run_with_connection(self, f: Func) -> Result [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / { [INFO] [stdout] 95 | | spawn_blocking(move || f(&mut *self.as_sync_conn())) [INFO] [stdout] 96 | | .await [INFO] [stdout] 97 | | .unwrap() // Propagate panics [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 89 | async fn run_with_connection(self, f: Func) -> Result [INFO] [stdout] | ---- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | spawn_blocking(move || f(&mut *self.as_sync_conn())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/async_traits.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 101 | async fn run_with_shared_connection(self: &Arc, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | / { [INFO] [stdout] 107 | | let conn = self.clone(); [INFO] [stdout] 108 | | spawn_blocking(move || f(&mut *conn.as_sync_conn())) [INFO] [stdout] 109 | | .await [INFO] [stdout] 110 | | .unwrap() // Propagate panics [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 101 | async fn run_with_shared_connection(self: &Arc, f: Func) -> Result [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | let conn = self.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | spawn_blocking(move || f(&mut *conn.as_sync_conn())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/async_traits.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 186 | f: Func, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | retry: RetryFunc, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | / { [INFO] [stdout] 196 | | // This function sure has a bunch of generic parameters, which can cause [INFO] [stdout] 197 | | // a lot of code to be generated, and can slow down compile-time. [INFO] [stdout] 198 | | // [INFO] [stdout] ... | [INFO] [stdout] 217 | | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] 218 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 206 | let f = |conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | / f(conn) [INFO] [stdout] 208 | | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | |_________________________________________________________________________________^ [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/async_traits.rs:208:46 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let retry = || retry().boxed(); [INFO] [stdout] | ^^^^^^^ [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/async_traits.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 306 | async fn transaction_async(&'a self, f: Func) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | / { [INFO] [stdout] 313 | | // This function sure has a bunch of generic parameters, which can cause [INFO] [stdout] 314 | | // a lot of code to be generated, and can slow down compile-time. [INFO] [stdout] 315 | | // [INFO] [stdout] ... | [INFO] [stdout] 330 | | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] 331 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 306 | async fn transaction_async(&'a self, f: Func) -> Result [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let f = Box::new(move |conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | / f(conn) [INFO] [stdout] 324 | | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | |_________________________________________________________________________________^ [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/async_traits.rs:324:46 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|result| result.map(|r| Box::new(r) as Box)) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:330:23 [INFO] [stdout] | [INFO] [stdout] 330 | .map(|v| *v.downcast::().expect("Should be an 'R' type")) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/async_traits.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 336 | / f: Box< [INFO] [stdout] 337 | | dyn FnOnce(Connection) -> BoxFuture<'a, Result, E>> [INFO] [stdout] 338 | | + Send [INFO] [stdout] 339 | | + 'a, [INFO] [stdout] 340 | | >, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | / { [INFO] [stdout] 345 | | // Check out a connection once, and use it for the duration of the [INFO] [stdout] 346 | | // operation. [INFO] [stdout] 347 | | let conn = Arc::new(self.get_owned_connection()); [INFO] [stdout] ... | [INFO] [stdout] 391 | | } [INFO] [stdout] 392 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 434 | async fn execute_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / { [INFO] [stdout] 438 | | asc.run(|conn| self.execute(conn)).await [INFO] [stdout] 439 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 441 | async fn load_async(self, asc: &AsyncConn) -> Result, DieselError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | / { [INFO] [stdout] 446 | | asc.run(|conn| self.load(conn)).await [INFO] [stdout] 447 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 449 | async fn get_result_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 453 | / { [INFO] [stdout] 454 | | asc.run(|conn| self.get_result(conn)).await [INFO] [stdout] 455 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 457 | async fn get_results_async(self, asc: &AsyncConn) -> Result, DieselError> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 461 | / { [INFO] [stdout] 462 | | asc.run(|conn| self.get_results(conn)).await [INFO] [stdout] 463 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 465 | async fn first_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | / { [INFO] [stdout] 471 | | asc.run(|conn| self.first(conn)).await [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [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/async_traits.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 494 | async fn save_changes_async(self, asc: &AsyncConn) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | / { [INFO] [stdout] 499 | | asc.run(|conn| self.save_changes(conn)).await [INFO] [stdout] 500 | | } [INFO] [stdout] | |_____^ [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/connection.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(c: C) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self(Arc::new(Mutex::new(c))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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/connection.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 39 | let diesel_conn = Connection(self.0.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let query = query.to_string(); [INFO] [stdout] 41 | task::spawn_blocking(move || diesel_conn.inner().batch_execute(&query)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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/connection_manager.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new>(database_url: S) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Self { [INFO] [stdout] 45 | inner: Arc::new(Mutex::new(r2d2::ConnectionManager::new(database_url))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/connection_manager.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 49 | async fn run_blocking(&self, f: F) -> R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let cloned = self.inner.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | tokio::task::spawn_blocking(move || f(&*cloned.lock().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] [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/error.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn optional(self) -> Result, ConnectionError> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let self_as_query_result: diesel::QueryResult = match self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(value) => Ok(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Err(ConnectionError::Query(error_kind)) => Err(error_kind), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Err(e) => return Err(e), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | / self_as_query_result [INFO] [stdout] 42 | | .optional() [INFO] [stdout] | |_______________________^ [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/error.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(error: DieselError) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | PoolError::Connection(ConnectionError::Query(error)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-bb8-diesel` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "f59c32605bf76d1d2e6d141c9e1c32a0faf7628e30f67b77880c1063809ebffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59c32605bf76d1d2e6d141c9e1c32a0faf7628e30f67b77880c1063809ebffe", kill_on_drop: false }` [INFO] [stdout] f59c32605bf76d1d2e6d141c9e1c32a0faf7628e30f67b77880c1063809ebffe