[INFO] fetching crate ntex-h2 1.1.0... [INFO] checking ntex-h2-1.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ntex-h2 1.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ntex-h2 1.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntex-h2 1.1.0 [INFO] finished tweaking crates.io crate ntex-h2 1.1.0 [INFO] tweaked toml for crates.io crate ntex-h2 1.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate ntex-h2 1.1.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b289cb1eea2e7b67beffbe8de6a7113497ae75192441164867caf6106c464f7 [INFO] running `Command { std: "docker" "start" "-a" "2b289cb1eea2e7b67beffbe8de6a7113497ae75192441164867caf6106c464f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b289cb1eea2e7b67beffbe8de6a7113497ae75192441164867caf6106c464f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b289cb1eea2e7b67beffbe8de6a7113497ae75192441164867caf6106c464f7", kill_on_drop: false }` [INFO] [stdout] 2b289cb1eea2e7b67beffbe8de6a7113497ae75192441164867caf6106c464f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6fda720067f35c0b87e71e7640634a98127e5f577a3c1bf81a68e28c2e7864b [INFO] running `Command { std: "docker" "start" "-a" "f6fda720067f35c0b87e71e7640634a98127e5f577a3c1bf81a68e28c2e7864b", 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 libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ntex-util v2.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.1.0 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.0.0 [INFO] [stderr] Checking ntex-h2 v1.0.0 [INFO] [stderr] Checking ntex-server v2.3.0 [INFO] [stderr] Checking ntex-tls v2.0.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ntex v2.1.0 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ntex_h2` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/frame/headers.rs [INFO] [stderr] * src/frame/mod.rs [INFO] [stderr] * src/hpack/table.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/mod.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($buf:expr_2021, $offset:expr_2021, $tip:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/mod.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | ($buf:expr_2021, $offset:expr_2021, $tip:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/headers.rs:425:28 [INFO] [stderr] | [INFO] [stderr] 425 | ($field:ident, $val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hpack/table.rs:58:26 [INFO] [stderr] | [INFO] [stderr] 58 | ($probe_var: ident < $len: expr_2021, $body: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hpack/table.rs:58:43 [INFO] [stderr] | [INFO] [stderr] 58 | ($probe_var: ident < $len: expr_2021, $body: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr, $tip:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr_2021, $offset:expr, $tip:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/mod.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr, $tip:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr_2021, $tip:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/headers.rs:425:33 [INFO] [stdout] | [INFO] [stdout] 425 | ($field:ident, $val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 425 | ($field:ident, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/hpack/table.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr_2021, $body: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/hpack/table.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/mod.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let mut bytes = if let Some(bytes) = inner.decoder.decode(src)? { [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] = 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/codec/mod.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ let mut bytes = match inner.decoder.decode(src)? { Some(bytes) => { [INFO] [stdout] 135 | bytes [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | return Ok(None); [INFO] [stdout] 138 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(err) = self.0.error.take() { [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] = 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/connection.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 189 ~ match self.0.error.take() { Some(err) => { [INFO] [stdout] 190 | self.0.error.set(Some(err.clone())); [INFO] [stdout] 191 | Err(err) [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | Ok(()) [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 238 | self.0.active_local_streams.get() < max [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | true [INFO] [stdout] 241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | return if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ return match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 248 | if self.0.active_local_streams.get() < max { [INFO] [stdout] ... [INFO] [stdout] 257 | } [INFO] [stdout] 258 ~ } _ => { [INFO] [stdout] 259 | Ok(()) [INFO] [stdout] 260 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | if let Some(stream) = stream { [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] = 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/connection.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 320 ~ match stream { Some(stream) => { [INFO] [stdout] 321 | stream.set_failed(Some(reason)) [INFO] [stdout] 322 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 337 ~ match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 338 | if local == max { [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | ... while let Some(tx) = self.0.readiness.borrow_mut().pop_front() { [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] = 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/connection.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some((id, _)) = queue.pop_front() { [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] = 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/connection.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ match queue.pop_front() { Some((id, _)) => { [INFO] [stdout] 366 | ids.remove(&id); [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Some(stream) = self.query(id) { [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] = 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/connection.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | } else if id < self.0.next_stream_id.get() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match self.query(id) { Some(stream) => { [INFO] [stdout] 416 | match stream.recv_headers(frm) { [INFO] [stdout] ... [INFO] [stdout] 419 | } [INFO] [stdout] 420 ~ } _ => if id < self.0.next_stream_id.get() { [INFO] [stdout] 421 | Err(Either::Left(ConnectionError::InvalidStreamId( [INFO] [stdout] ... [INFO] [stdout] 489 | } [INFO] [stdout] 490 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 498 | match stream.recv_data(frm) { [INFO] [stdout] ... [INFO] [stdout] 501 | } [INFO] [stdout] 502 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 503 | self.encode(frame::Reset::new( [INFO] [stdout] ... [INFO] [stdout] 511 | ))) [INFO] [stdout] 512 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:632:19 [INFO] [stdout] | [INFO] [stdout] 632 | } else if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 632 ~ } else { match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 633 | stream [INFO] [stdout] 634 | .recv_window_update(frm) [INFO] [stdout] 635 | .map_err(|kind| Either::Right(StreamErrorInner::new(stream, kind))) [INFO] [stdout] 636 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 637 | Ok(()) [INFO] [stdout] ... [INFO] [stdout] 642 | ))) [INFO] [stdout] 643 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:665:19 [INFO] [stdout] | [INFO] [stdout] 665 | } else if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 665 ~ } else { match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 666 | stream.recv_rst_stream(&frm); [INFO] [stdout] ... [INFO] [stdout] 672 | ))) [INFO] [stdout] 673 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 674 | self.update_rst_count() [INFO] [stdout] ... [INFO] [stdout] 677 | Err(Either::Left(ConnectionError::UnknownStream("RST_STREAM"))) [INFO] [stdout] 678 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | if let Some(err) = self.0.error.take() { [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] = 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/connection.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 748 ~ match self.0.error.take() { Some(err) => { [INFO] [stdout] 749 | self.0.error.set(Some(err)) [INFO] [stdout] 750 ~ } _ => { [INFO] [stdout] 751 | self.0.error.set(Some(OperationError::Disconnected)); [INFO] [stdout] 752 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | let next = if let Some(item) = state.0.local_reset_queue.borrow().front() { [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] = 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/connection.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 787 ~ let next = match state.0.local_reset_queue.borrow().front() { Some(item) => { [INFO] [stdout] 788 | item.1 - now() [INFO] [stdout] 789 ~ } _ => { [INFO] [stdout] 790 | break; [INFO] [stdout] 791 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | if let Some(item) = queue.front() { [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] = 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/connection.rs:810:13 [INFO] [stdout] | [INFO] [stdout] 810 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 802 ~ match queue.front() { Some(item) => { [INFO] [stdout] 803 | if item.1 <= now { [INFO] [stdout] ... [INFO] [stdout] 809 | } [INFO] [stdout] 810 ~ } _ => { [INFO] [stdout] 811 | state.unset_flags(ConnectionFlags::DELAY_DROP_TASK_STARTED); [INFO] [stdout] 812 | return; [INFO] [stdout] 813 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if let Some(val) = window.update( [INFO] [stdout] | ____________^ [INFO] [stdout] 261 | | size, [INFO] [stdout] 262 | | self.con.config().window_sz.get(), [INFO] [stdout] | | -------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 263 | | self.con.config().window_sz_threshold.get(), [INFO] [stdout] 264 | | ) { [INFO] [stdout] | |_________^ [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/stream.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 260 ~ match window.update( [INFO] [stdout] 261 | size, [INFO] [stdout] 262 | self.con.config().window_sz.get(), [INFO] [stdout] 263 | self.con.config().window_sz_threshold.get(), [INFO] [stdout] 264 ~ ) { Some(val) => { [INFO] [stdout] 265 | log::trace!( [INFO] [stdout] ... [INFO] [stdout] 273 | self.con.encode(WindowUpdate::new(self.id, val)); [INFO] [stdout] 274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:408:24 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(content_length) = headers.get(CONTENT_LENGTH) { [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] = 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/stream.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 408 ~ match headers.get(CONTENT_LENGTH) { Some(content_length) => { [INFO] [stdout] 409 | if let Some(v) = parse_u64(content_length.as_bytes()) { [INFO] [stdout] ... [INFO] [stdout] 414 | } [INFO] [stdout] 415 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | if let Some(val) = window.update( [INFO] [stdout] | ____________^ [INFO] [stdout] 530 | | self.0.recv_size.get(), [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 531 | | self.0.con.config().window_sz.get(), [INFO] [stdout] 532 | | self.0.con.config().window_sz_threshold.get(), [INFO] [stdout] 533 | | ) { [INFO] [stdout] | |_________^ [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/stream.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 529 ~ match window.update( [INFO] [stdout] 530 | self.0.recv_size.get(), [INFO] [stdout] 531 | self.0.con.config().window_sz.get(), [INFO] [stdout] 532 | self.0.con.config().window_sz_threshold.get(), [INFO] [stdout] 533 ~ ) { Some(val) => { [INFO] [stdout] 534 | self.0.recv_window.set(window); [INFO] [stdout] 535 | Ok(Some(val)) [INFO] [stdout] 536 ~ } _ => { [INFO] [stdout] 537 | self.0.recv_window.set(window); [INFO] [stdout] 538 | Ok(None) [INFO] [stdout] 539 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/pool.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | while let Some(waiter) = waiters.pop_front() { [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] = 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/client/pool.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/pool.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | 'inner: while let Some(tx) = self.waiters.borrow_mut().pop_front() { [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] = 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/client/pool.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(inflight) = inner.get_mut(&self.0.id()) { [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] = 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/client/stream.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match inner.get_mut(&self.0.id()) { Some(inflight) => { [INFO] [stdout] 153 | if let Some(msg) = inflight.pop() { [INFO] [stdout] ... [INFO] [stdout] 166 | } [INFO] [stdout] 167 ~ } _ => { [INFO] [stdout] 168 | Poll::Ready(None) [INFO] [stdout] 169 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(msg) = inflight.pop() { [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] = 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/client/stream.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match inflight.pop() { Some(msg) => { [INFO] [stdout] 154 | let to_remove = match msg.kind() { [INFO] [stdout] ... [INFO] [stdout] 162 | Poll::Ready(Some(msg)) [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | inflight.waker.register(cx.waker()); [INFO] [stdout] 165 | Poll::Pending [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(ref cb) = self.0.cb { [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] = 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/client/stream.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match self.0.cb { Some(ref cb) => { [INFO] [stdout] 233 | (*cb)(id) [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hpack/table.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 409 | if let Some(idx) = slot.next { [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] = 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/hpack/table.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | } else if Some(pos.index) == prev_idx { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match slot.next { Some(idx) => { [INFO] [stdout] 410 | pos.index = idx; [INFO] [stdout] 411 | self.indices[probe] = Some(pos); [INFO] [stdout] 412 ~ } _ => if Some(pos.index) == prev_idx { [INFO] [stdout] 413 | pos.index = 0usize.wrapping_sub(self.inserted + 1); [INFO] [stdout] ... [INFO] [stdout] 417 | self.remove_phase_two(probe); [INFO] [stdout] 418 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/server.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ntex_h2` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/frame/headers.rs [INFO] [stderr] * src/frame/mod.rs [INFO] [stderr] * src/hpack/table.rs [INFO] [stderr] * src/hpack/test/fixture.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/mod.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($buf:expr_2021, $offset:expr_2021, $tip:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/mod.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | ($buf:expr_2021, $offset:expr_2021, $tip:ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/frame/headers.rs:425:28 [INFO] [stderr] | [INFO] [stderr] 425 | ($field:ident, $val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hpack/table.rs:58:26 [INFO] [stderr] | [INFO] [stderr] 58 | ($probe_var: ident < $len: expr_2021, $body: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hpack/table.rs:58:43 [INFO] [stderr] | [INFO] [stderr] 58 | ($probe_var: ident < $len: expr_2021, $body: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/hpack/test/fixture.rs:157:25 [INFO] [stderr] | [INFO] [stderr] 157 | ($fn:ident, $path:expr_2021); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/hpack/test/fuzz.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | FuzzHpack::new(thread_rng().gen()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/hpack/test/fuzz.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let status = (g.gen::() % 500) + 100; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr, $tip:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr_2021, $offset:expr, $tip:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/mod.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr, $tip:ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($buf:expr, $offset:expr_2021, $tip:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/frame/headers.rs:425:33 [INFO] [stdout] | [INFO] [stdout] 425 | ($field:ident, $val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 425 | ($field:ident, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/hpack/table.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr_2021, $body: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/hpack/table.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 58 | ($probe_var: ident < $len: expr, $body: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/hpack/test/fixture.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | ($fn:ident, $path:expr); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($fn:ident, $path:expr_2021); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/codec/mod.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let mut bytes = if let Some(bytes) = inner.decoder.decode(src)? { [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] = 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/codec/mod.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 134 ~ let mut bytes = match inner.decoder.decode(src)? { Some(bytes) => { [INFO] [stdout] 135 | bytes [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | return Ok(None); [INFO] [stdout] 138 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(err) = self.0.error.take() { [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] = 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/connection.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 189 ~ match self.0.error.take() { Some(err) => { [INFO] [stdout] 190 | self.0.error.set(Some(err.clone())); [INFO] [stdout] 191 | Err(err) [INFO] [stdout] 192 ~ } _ => { [INFO] [stdout] 193 | Ok(()) [INFO] [stdout] 194 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 237 ~ match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 238 | self.0.active_local_streams.get() < max [INFO] [stdout] 239 ~ } _ => { [INFO] [stdout] 240 | true [INFO] [stdout] 241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | return if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ return match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 248 | if self.0.active_local_streams.get() < max { [INFO] [stdout] ... [INFO] [stdout] 257 | } [INFO] [stdout] 258 ~ } _ => { [INFO] [stdout] 259 | Ok(()) [INFO] [stdout] 260 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | if let Some(stream) = stream { [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] = 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/connection.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 320 ~ match stream { Some(stream) => { [INFO] [stdout] 321 | stream.set_failed(Some(reason)) [INFO] [stdout] 322 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | if let Some(max) = self.0.local_max_concurrent_streams.get() { [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] = 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/connection.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 337 ~ match self.0.local_max_concurrent_streams.get() { Some(max) => { [INFO] [stdout] 338 | if local == max { [INFO] [stdout] ... [INFO] [stdout] 345 | } [INFO] [stdout] 346 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | ... while let Some(tx) = self.0.readiness.borrow_mut().pop_front() { [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] = 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/connection.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | ... } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some((id, _)) = queue.pop_front() { [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] = 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/connection.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ match queue.pop_front() { Some((id, _)) => { [INFO] [stdout] 366 | ids.remove(&id); [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | if let Some(stream) = self.query(id) { [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] = 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/connection.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | } else if id < self.0.next_stream_id.get() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 415 ~ match self.query(id) { Some(stream) => { [INFO] [stdout] 416 | match stream.recv_headers(frm) { [INFO] [stdout] ... [INFO] [stdout] 419 | } [INFO] [stdout] 420 ~ } _ => if id < self.0.next_stream_id.get() { [INFO] [stdout] 421 | Err(Either::Left(ConnectionError::InvalidStreamId( [INFO] [stdout] ... [INFO] [stdout] 489 | } [INFO] [stdout] 490 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 498 | match stream.recv_data(frm) { [INFO] [stdout] ... [INFO] [stdout] 501 | } [INFO] [stdout] 502 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 503 | self.encode(frame::Reset::new( [INFO] [stdout] ... [INFO] [stdout] 511 | ))) [INFO] [stdout] 512 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:632:19 [INFO] [stdout] | [INFO] [stdout] 632 | } else if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 632 ~ } else { match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 633 | stream [INFO] [stdout] 634 | .recv_window_update(frm) [INFO] [stdout] 635 | .map_err(|kind| Either::Right(StreamErrorInner::new(stream, kind))) [INFO] [stdout] 636 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 637 | Ok(()) [INFO] [stdout] ... [INFO] [stdout] 642 | ))) [INFO] [stdout] 643 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:665:19 [INFO] [stdout] | [INFO] [stdout] 665 | } else if let Some(stream) = self.query(frm.stream_id()) { [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] = 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/connection.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | } else if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 665 ~ } else { match self.query(frm.stream_id()) { Some(stream) => { [INFO] [stdout] 666 | stream.recv_rst_stream(&frm); [INFO] [stdout] ... [INFO] [stdout] 672 | ))) [INFO] [stdout] 673 ~ } _ => if self.0.local_reset_ids.borrow().contains(&frm.stream_id()) { [INFO] [stdout] 674 | self.update_rst_count() [INFO] [stdout] ... [INFO] [stdout] 677 | Err(Either::Left(ConnectionError::UnknownStream("RST_STREAM"))) [INFO] [stdout] 678 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | if let Some(err) = self.0.error.take() { [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] = 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/connection.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 748 ~ match self.0.error.take() { Some(err) => { [INFO] [stdout] 749 | self.0.error.set(Some(err)) [INFO] [stdout] 750 ~ } _ => { [INFO] [stdout] 751 | self.0.error.set(Some(OperationError::Disconnected)); [INFO] [stdout] 752 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | let next = if let Some(item) = state.0.local_reset_queue.borrow().front() { [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] = 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/connection.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 787 ~ let next = match state.0.local_reset_queue.borrow().front() { Some(item) => { [INFO] [stdout] 788 | item.1 - now() [INFO] [stdout] 789 ~ } _ => { [INFO] [stdout] 790 | break; [INFO] [stdout] 791 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/connection.rs:802:16 [INFO] [stdout] | [INFO] [stdout] 802 | if let Some(item) = queue.front() { [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] = 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/connection.rs:810:13 [INFO] [stdout] | [INFO] [stdout] 810 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 802 ~ match queue.front() { Some(item) => { [INFO] [stdout] 803 | if item.1 <= now { [INFO] [stdout] ... [INFO] [stdout] 809 | } [INFO] [stdout] 810 ~ } _ => { [INFO] [stdout] 811 | state.unset_flags(ConnectionFlags::DELAY_DROP_TASK_STARTED); [INFO] [stdout] 812 | return; [INFO] [stdout] 813 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | if let Some(val) = window.update( [INFO] [stdout] | ____________^ [INFO] [stdout] 261 | | size, [INFO] [stdout] 262 | | self.con.config().window_sz.get(), [INFO] [stdout] | | -------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 263 | | self.con.config().window_sz_threshold.get(), [INFO] [stdout] 264 | | ) { [INFO] [stdout] | |_________^ [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/stream.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 260 ~ match window.update( [INFO] [stdout] 261 | size, [INFO] [stdout] 262 | self.con.config().window_sz.get(), [INFO] [stdout] 263 | self.con.config().window_sz_threshold.get(), [INFO] [stdout] 264 ~ ) { Some(val) => { [INFO] [stdout] 265 | log::trace!( [INFO] [stdout] ... [INFO] [stdout] 273 | self.con.encode(WindowUpdate::new(self.id, val)); [INFO] [stdout] 274 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:408:24 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(content_length) = headers.get(CONTENT_LENGTH) { [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] = 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/stream.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 408 ~ match headers.get(CONTENT_LENGTH) { Some(content_length) => { [INFO] [stdout] 409 | if let Some(v) = parse_u64(content_length.as_bytes()) { [INFO] [stdout] ... [INFO] [stdout] 414 | } [INFO] [stdout] 415 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | if let Some(val) = window.update( [INFO] [stdout] | ____________^ [INFO] [stdout] 530 | | self.0.recv_size.get(), [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 531 | | self.0.con.config().window_sz.get(), [INFO] [stdout] 532 | | self.0.con.config().window_sz_threshold.get(), [INFO] [stdout] 533 | | ) { [INFO] [stdout] | |_________^ [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/stream.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 529 ~ match window.update( [INFO] [stdout] 530 | self.0.recv_size.get(), [INFO] [stdout] 531 | self.0.con.config().window_sz.get(), [INFO] [stdout] 532 | self.0.con.config().window_sz_threshold.get(), [INFO] [stdout] 533 ~ ) { Some(val) => { [INFO] [stdout] 534 | self.0.recv_window.set(window); [INFO] [stdout] 535 | Ok(Some(val)) [INFO] [stdout] 536 ~ } _ => { [INFO] [stdout] 537 | self.0.recv_window.set(window); [INFO] [stdout] 538 | Ok(None) [INFO] [stdout] 539 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/pool.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | while let Some(waiter) = waiters.pop_front() { [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] = 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/client/pool.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/pool.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | 'inner: while let Some(tx) = self.waiters.borrow_mut().pop_front() { [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] = 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/client/pool.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | if let Some(inflight) = inner.get_mut(&self.0.id()) { [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] = 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/client/stream.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 152 ~ match inner.get_mut(&self.0.id()) { Some(inflight) => { [INFO] [stdout] 153 | if let Some(msg) = inflight.pop() { [INFO] [stdout] ... [INFO] [stdout] 166 | } [INFO] [stdout] 167 ~ } _ => { [INFO] [stdout] 168 | Poll::Ready(None) [INFO] [stdout] 169 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(msg) = inflight.pop() { [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] = 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/client/stream.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match inflight.pop() { Some(msg) => { [INFO] [stdout] 154 | let to_remove = match msg.kind() { [INFO] [stdout] ... [INFO] [stdout] 162 | Poll::Ready(Some(msg)) [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | inflight.waker.register(cx.waker()); [INFO] [stdout] 165 | Poll::Pending [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client/stream.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(ref cb) = self.0.cb { [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] = 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/client/stream.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 232 ~ match self.0.cb { Some(ref cb) => { [INFO] [stdout] 233 | (*cb)(id) [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/hpack/table.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 409 | if let Some(idx) = slot.next { [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] = 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/hpack/table.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | } else if Some(pos.index) == prev_idx { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 409 ~ match slot.next { Some(idx) => { [INFO] [stdout] 410 | pos.index = idx; [INFO] [stdout] 411 | self.indices[probe] = Some(pos); [INFO] [stdout] 412 ~ } _ => if Some(pos.index) == prev_idx { [INFO] [stdout] 413 | pos.index = 0usize.wrapping_sub(self.inserted + 1); [INFO] [stdout] ... [INFO] [stdout] 417 | self.remove_phase_two(probe); [INFO] [stdout] 418 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/server.rs (2 fixes) [INFO] [stderr] Migrating tests/connection.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/connection.rs (4 fixes) [INFO] [stderr] Migrating tests/codec.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/client.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `codec` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/codec.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/codec.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | ($bytes: ident, $type: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/codec.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | ($bytes: ident, $type: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 28 | ($bytes: ident, $type: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/client.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/client.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | while let Some(msg) = recv_stream.recv().await { [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] = 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] --> examples/client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/tls-server.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/tls-server.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ntex-h2 v1.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/hpack/test/fuzz.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | FuzzHpack::new(thread_rng().gen()) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 180 | FuzzHpack::new(thread_rng().r#gen()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/hpack/test/fuzz.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let status = (g.gen::() % 500) + 100; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 232 | let status = (g.r#gen::() % 500) + 100; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-h2` (lib test) due to 3 previous errors [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" "f6fda720067f35c0b87e71e7640634a98127e5f577a3c1bf81a68e28c2e7864b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fda720067f35c0b87e71e7640634a98127e5f577a3c1bf81a68e28c2e7864b", kill_on_drop: false }` [INFO] [stdout] f6fda720067f35c0b87e71e7640634a98127e5f577a3c1bf81a68e28c2e7864b