[INFO] fetching crate tiny-web 0.6.0... [INFO] checking tiny-web-0.6.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate tiny-web 0.6.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate tiny-web 0.6.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiny-web 0.6.0 [INFO] finished tweaking crates.io crate tiny-web 0.6.0 [INFO] tweaked toml for crates.io crate tiny-web 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 274 packages to latest compatible versions [INFO] [stderr] Adding x509-certificate v0.23.1 (available: v0.24.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 640d9bea2f49ca4b518cca335d8b2e6530380c56034da0f2d561afe68629f887 [INFO] running `Command { std: "docker" "start" "-a" "640d9bea2f49ca4b518cca335d8b2e6530380c56034da0f2d561afe68629f887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "640d9bea2f49ca4b518cca335d8b2e6530380c56034da0f2d561afe68629f887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640d9bea2f49ca4b518cca335d8b2e6530380c56034da0f2d561afe68629f887", kill_on_drop: false }` [INFO] [stdout] 640d9bea2f49ca4b518cca335d8b2e6530380c56034da0f2d561afe68629f887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c58e2847ae3920d25e04676bbd2a5ebe9293894e9e04ed80b03dbbbdaa3c1ca [INFO] running `Command { std: "docker" "start" "-a" "8c58e2847ae3920d25e04676bbd2a5ebe9293894e9e04ed80b03dbbbdaa3c1ca", 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 shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking bcder v0.7.4 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling tiny-web-macro v0.1.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking postgres-types v0.2.8 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-postgres v0.7.12 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking x509-certificate v0.23.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking postgres v0.19.9 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tiberius v0.12.3 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking lettre v0.11.10 [INFO] [stderr] Checking tiny-web v0.6.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/sys/dbs/adapter.rs (1 fix) [INFO] [stderr] Fixed src/sys/go.rs (5 fixes) [INFO] [stderr] Fixed src/sys/cache.rs (1 fix) [INFO] [stderr] Fixed src/sys/lang.rs (3 fixes) [INFO] [stderr] Fixed src/sys/html.rs (1 fix) [INFO] [stderr] Fixed src/sys/worker.rs (4 fixes) [INFO] [stderr] Fixed src/sys/action.rs (2 fixes) [INFO] [stderr] Fixed src/sys/session.rs (3 fixes) [INFO] [stderr] Fixed src/sys/mail.rs (1 fix) [INFO] [stderr] Fixed src/sys/log.rs (1 fix) [INFO] [stderr] Fixed src/sys/dbs/pgsql.rs (5 fixes) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sys/log.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | let mut file = unsafe { LOG_FILE.as_str() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sys/log.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let file = unsafe { LOG_FILE.as_str() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sys/data.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | if let Data::$variant(inner) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_from_for_data!( [INFO] [stdout] 106 | | usize => Usize, [INFO] [stdout] 107 | | i16 => I16, [INFO] [stdout] 108 | | i32 => I32, [INFO] [stdout] ... | [INFO] [stdout] 118 | | BTreeMap => Map, [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sys/data.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_from_for_data!( [INFO] [stdout] 106 | | usize => Usize, [INFO] [stdout] 107 | | i16 => I16, [INFO] [stdout] 108 | | i32 => I32, [INFO] [stdout] ... | [INFO] [stdout] 118 | | BTreeMap => Map, [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_from_for_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sys/log.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | let mut file = unsafe { LOG_FILE.as_str() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sys/log.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let file = unsafe { LOG_FILE.as_str() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/sys/data.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | if let Data::$variant(inner) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_from_for_data!( [INFO] [stdout] 106 | | usize => Usize, [INFO] [stdout] 107 | | i16 => I16, [INFO] [stdout] 108 | | i32 => I32, [INFO] [stdout] ... | [INFO] [stdout] 118 | | BTreeMap => Map, [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/sys/data.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | / impl_from_for_data!( [INFO] [stdout] 106 | | usize => Usize, [INFO] [stdout] 107 | | i16 => I16, [INFO] [stdout] 108 | | i32 => I32, [INFO] [stdout] ... | [INFO] [stdout] 118 | | BTreeMap => Map, [INFO] [stdout] 119 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_from_for_data` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/sys/action.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 486 | let (data, key) = self.cache.get(key).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 492 | | .db [INFO] [stdout] 493 | | .query_prepare( [INFO] [stdout] 494 | | fnv1a_64!("lib_get_auth"), [INFO] [stdout] ... | [INFO] [stdout] 497 | | ) [INFO] [stdout] 498 | | .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] | 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] ... [INFO] [stdout] 524 | } [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: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/semaphore.rs:1190:1 [INFO] [stdout] | [INFO] [stdout] 1190 | impl Drop for SemaphorePermit<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `data` 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/sys/action.rs:603:19 [INFO] [stdout] | [INFO] [stdout] 598 | let (data, key) = self.cache.get(key).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `data` calls a custom destructor [INFO] [stdout] | `data` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 603 | match self [INFO] [stdout] | ___________________^ [INFO] [stdout] 604 | | .db [INFO] [stdout] 605 | | .query_prepare( [INFO] [stdout] 606 | | fnv1a_64!("lib_get_url"), [INFO] [stdout] ... | [INFO] [stdout] 609 | | ) [INFO] [stdout] 610 | | .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] | 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] ... [INFO] [stdout] 638 | } else { [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: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/semaphore.rs:1190:1 [INFO] [stdout] | [INFO] [stdout] 1190 | impl Drop for SemaphorePermit<'_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `data` 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/sys/dbs/adapter.rs:338:19 [INFO] [stdout] | [INFO] [stdout] 338 | match connection_mutex.try_lock() { Ok(mut db) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------ [INFO] [stdout] | | | [INFO] [stdout] | | `db` calls a custom destructor [INFO] [stdout] | | `db` 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] 339 | let res = db.query_group(&query, params, assoc, conds).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] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 342 | } _ => {}} [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: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `db` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/mutex.rs:963:1 [INFO] [stdout] | [INFO] [stdout] 963 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/sys/dbs/pgsql.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | match client.query(&q, &[]).await { Err(e) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----- - [INFO] [stdout] | | | | [INFO] [stdout] | | | `e` calls a custom destructor [INFO] [stdout] | | | `e` 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] | | up until Edition 2021 `#3` 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 `#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] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 179 | return Err(e.to_string()); [INFO] [stdout] 180 | } _ => {}} [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: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.31/src/mpsc/mod.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.31/src/mpsc/mod.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__awaitee` 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: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `e` 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/sys/dbs/pgsql.rs:415:27 [INFO] [stdout] | [INFO] [stdout] 414 | for (key, (prepare, sql)) in map { [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] 415 | match prepare.await { [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | up until Edition 2021 `#5` 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 `#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 `#4` [INFO] [stdout] | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 416 | Ok(s) => { [INFO] [stdout] 417 | self.prepare.insert(key, PgStatement { statement: s, sql }); [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] 418 | } [INFO] [stdout] 419 | Err(e) => { [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` calls a custom destructor [INFO] [stdout] | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | } [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` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `e` 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/sys/dbs/pgsql.rs:449:43 [INFO] [stdout] | [INFO] [stdout] 449 | ... match res.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] 450 | ... Ok(row) => match row { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `row` calls a custom destructor [INFO] [stdout] | `row` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | ... Err(e) => return DBResult::ErrQuery(e.to_string()), [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` calls a custom destructor [INFO] [stdout] | `e` will be dropped later as of Edition 2024 [INFO] [stdout] 457 | ... } [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: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `row` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `row` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `e` 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/sys/dbs/pgsql.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 439 | pin_mut!(res); [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `res` calls a custom destructor [INFO] [stdout] | `res` will be dropped later as of Edition 2024 [INFO] [stdout] 440 | match res.try_next().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] ... [INFO] [stdout] 465 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `res` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes_mut.rs:1123:1 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Drop for BytesMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `res` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.31/src/mpsc/mod.rs:1105:1 [INFO] [stdout] | [INFO] [stdout] 1105 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `res` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.12/src/statement.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl Drop for StatementInner { [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/sys/go.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | match handle.await { Err(e) => { [INFO] [stdout] | ^^^^^^^----- - [INFO] [stdout] | | | | [INFO] [stdout] | | | `e` calls a custom destructor [INFO] [stdout] | | | `e` 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] | 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] ... [INFO] [stdout] 254 | } [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: `#2` 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: `e` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.44s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking tiny-web v0.6.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/sys/action.rs:353:33 [INFO] [stdout] | [INFO] [stdout] 353 | Arc::clone(unsafe { self.language.read().await.langs.get_unchecked(self.session.get_lang_id() as usize) }) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/sys/action.rs:353:33 [INFO] [stdout] | [INFO] [stdout] 353 | Arc::clone(unsafe { self.language.read().await.langs.get_unchecked(self.session.get_lang_id() as usize) }) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-web` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tiny-web` (lib test) due to 1 previous error [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8c58e2847ae3920d25e04676bbd2a5ebe9293894e9e04ed80b03dbbbdaa3c1ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c58e2847ae3920d25e04676bbd2a5ebe9293894e9e04ed80b03dbbbdaa3c1ca", kill_on_drop: false }` [INFO] [stdout] 8c58e2847ae3920d25e04676bbd2a5ebe9293894e9e04ed80b03dbbbdaa3c1ca