[INFO] fetching crate sqlx-core 0.8.2... [INFO] checking sqlx-core-0.8.2 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate sqlx-core 0.8.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate sqlx-core 0.8.2 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sqlx-core 0.8.2 [INFO] finished tweaking crates.io crate sqlx-core 0.8.2 [INFO] tweaked toml for crates.io crate sqlx-core 0.8.2 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 326 packages to latest compatible versions [INFO] [stderr] Adding async-io v1.13.0 (available: v2.4.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.15.1) [INFO] [stderr] Adding sqlformat v0.2.6 (available: v0.3.1) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46c269b4ca2eb9d140a7b0f19169c3388c878d25555ee1f3342824ff5496169 [INFO] running `Command { std: "docker" "start" "-a" "d46c269b4ca2eb9d140a7b0f19169c3388c878d25555ee1f3342824ff5496169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46c269b4ca2eb9d140a7b0f19169c3388c878d25555ee1f3342824ff5496169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46c269b4ca2eb9d140a7b0f19169c3388c878d25555ee1f3342824ff5496169", kill_on_drop: false }` [INFO] [stdout] d46c269b4ca2eb9d140a7b0f19169c3388c878d25555ee1f3342824ff5496169 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 270572edf781ab9d63d0fde6138848c33da32305f497b5f801f3788e113c2551 [INFO] running `Command { std: "docker" "start" "-a" "270572edf781ab9d63d0fde6138848c33da32305f497b5f801f3788e113c2551", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling allocator-api2 v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking url v2.5.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking sqlx-core v0.8.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling sqlx-mysql v0.8.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/executor.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | while let Some(v) = s.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^-----^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 32 | r#yield!(v); [INFO] [stdout] 33 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] ::: src/ext/async_stream.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | yielder.r#yield($v).await; [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/connection.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 87 | let floating = self.take_live().float(self.pool.clone()); [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `floating` calls a custom destructor [INFO] [stdout] | `floating` will be dropped later as of Edition 2024 [INFO] [stdout] 88 | floating.inner.raw.close().await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 89 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `floating` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/fs.rs (1 fix) [INFO] [stderr] Fixed src/pool/inner.rs (8 fixes) [INFO] [stderr] Fixed src/type_checking.rs (1 fix) [INFO] [stderr] Fixed src/query.rs (4 fixes) [INFO] [stderr] Fixed src/net/socket/buffered.rs (1 fix) [INFO] [stderr] Fixed src/query_as.rs (1 fix) [INFO] [stderr] Fixed src/pool/mod.rs (1 fix) [INFO] [stderr] Fixed src/ext/async_stream.rs (1 fix) [INFO] [stderr] Fixed src/pool/connection.rs (4 fixes) [INFO] [stderr] Fixed src/logger.rs (5 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/inner.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | while let Some(idle) = self.idle_conns.pop() { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `idle` calls a custom destructor [INFO] [stdout] | `idle` will be dropped later as of Edition 2024 [INFO] [stdout] 103 | let _ = idle.live.float((*self).clone()).close().await; [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 104 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/inner.rs:362:50 [INFO] [stdout] | [INFO] [stdout] 340 | let timeout = deadline_as_timeout(deadline)?; [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let connect_options = self [INFO] [stdout] | _________________---------------___- [INFO] [stdout] | | | [INFO] [stdout] | | `connect_options` calls a custom destructor [INFO] [stdout] | | `connect_options` will be dropped later as of Edition 2024 [INFO] [stdout] 345 | | .connect_options [INFO] [stdout] 346 | | .read() [INFO] [stdout] 347 | | .expect("write-lock holder panicked") [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________________________________________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | match crate::rt::timeout(timeout, connect_options.connect()).await { [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | let res = match &self.options.after_connect { Some(callback) => { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `res` calls a custom destructor [INFO] [stdout] | `res` will be dropped later as of Edition 2024 [INFO] [stdout] 362 | callback(&mut raw, meta).await [INFO] [stdout] | -------------------------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | up until Edition 2021 `#10` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 363 | } _ => { [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... [INFO] [stdout] 369 | Err(error) => { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `error` calls a custom destructor [INFO] [stdout] | `error` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | let _ = raw.close_hard().await; [INFO] [stdout] | ---------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | Ok(Err(Error::Database(error))) if error.is_transient_in_connect_phase() => (), [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#10` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/std/src/sync/rwlock.rs:712:1 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `res` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#5` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `error` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#8` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#9` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/inner.rs:551:31 [INFO] [stdout] | [INFO] [stdout] 551 | match pool.try_acquire() { Some(conn) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | let _ = conn.close().await; [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 556 | pool.min_connections_maintenance(Some(next_run)).await; [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/pool/inner.rs:539:40 [INFO] [stdout] | [INFO] [stdout] 539 | while let Some(pool) = pool_weak.upgrade() { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `pool` calls a custom destructor [INFO] [stdout] | `pool` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | let _ = conn.close().await; [INFO] [stdout] | ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 556 | pool.min_connections_maintenance(Some(next_run)).await; [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | / impl Drop for PoolInner { [INFO] [stdout] 444 | | fn drop(&mut self) { [INFO] [stdout] 445 | | self.mark_closed(); [INFO] [stdout] ... | [INFO] [stdout] 451 | | } [INFO] [stdout] 452 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `pool` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | / impl Drop for PoolInner { [INFO] [stdout] 444 | | fn drop(&mut self) { [INFO] [stdout] 445 | | self.mark_closed(); [INFO] [stdout] ... | [INFO] [stdout] 451 | | } [INFO] [stdout] 452 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> src/pool/inner.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl Drop for DecrementSizeGuard { [INFO] [stdout] 617 | | fn drop(&mut self) { [INFO] [stdout] 618 | | if !self.cancelled { [INFO] [stdout] 619 | | self.pool.size.fetch_sub(1, Ordering::AcqRel); [INFO] [stdout] ... | [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/query.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | while let Some(v) = s.try_next().await? { [INFO] [stdout] | - ^^^^^^^^^^^^^-----^ [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `v` calls a custom destructor [INFO] [stdout] | `v` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] ::: src/ext/async_stream.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | yielder.r#yield($v).await; [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sqlx-core v0.8.2 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "270572edf781ab9d63d0fde6138848c33da32305f497b5f801f3788e113c2551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270572edf781ab9d63d0fde6138848c33da32305f497b5f801f3788e113c2551", kill_on_drop: false }` [INFO] [stdout] 270572edf781ab9d63d0fde6138848c33da32305f497b5f801f3788e113c2551