[INFO] fetching crate fastly 0.10.5... [INFO] checking fastly-0.10.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate fastly 0.10.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate fastly 0.10.5 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 fastly 0.10.5 [INFO] finished tweaking crates.io crate fastly 0.10.5 [INFO] tweaked toml for crates.io crate fastly 0.10.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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] 45c3e1f7a2c38a8877e75a6554708fcac17afc95e46fe6a0c6d0f2a542b9ad60 [INFO] running `Command { std: "docker" "start" "-a" "45c3e1f7a2c38a8877e75a6554708fcac17afc95e46fe6a0c6d0f2a542b9ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45c3e1f7a2c38a8877e75a6554708fcac17afc95e46fe6a0c6d0f2a542b9ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c3e1f7a2c38a8877e75a6554708fcac17afc95e46fe6a0c6d0f2a542b9ad60", kill_on_drop: false }` [INFO] [stdout] 45c3e1f7a2c38a8877e75a6554708fcac17afc95e46fe6a0c6d0f2a542b9ad60 [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] a44e2d8c34eac7e7e8b0dd01675a52bc5b50637b7a5b2ba5518639326051bfdd [INFO] running `Command { std: "docker" "start" "-a" "a44e2d8c34eac7e7e8b0dd01675a52bc5b50637b7a5b2ba5518639326051bfdd", 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 proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking fastly-shared v0.10.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking elsa v1.10.0 [INFO] [stderr] Checking fastly-sys v0.10.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling fastly-macros v0.10.5 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking fastly v0.10.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fastly` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/http/lazy_headers.rs [INFO] [stderr] * src/http/response.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/http/response.rs:1886:6 [INFO] [stderr] | [INFO] [stderr] 1886 | ($status: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/http/response.rs:1890:6 [INFO] [stderr] | [INFO] [stderr] 1890 | ($status:expr_2021, $($arg:tt)*) => {{ [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] warning: elided lifetime has a name [INFO] [stderr] --> src/http/lazy_headers.rs:273:70 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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/http/request.rs:2337:47 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match 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/http/request.rs:2337:58 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match 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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/http/lazy_headers.rs:273:70 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/response.rs:1886:14 [INFO] [stdout] | [INFO] [stdout] 1886 | ($status: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] 1886 | ($status: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/http/response.rs:1890:14 [INFO] [stdout] | [INFO] [stdout] 1890 | ($status:expr, $($arg:tt)*) => {{ [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] 1890 | ($status:expr_2021, $($arg:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `http::body::handle::BodyHandle::as_u32` is unsafe and requires unsafe block [INFO] [stdout] --> src/http/body/streaming/handle.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | self.handle.as_u32() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/http/body/streaming/handle.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend/builder.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(enable) = self.tcp_keepalive_enable { [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/backend/builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | } else if config_options.contains(BackendConfigOptions::KEEPALIVE) { [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] 408 ~ match self.tcp_keepalive_enable { Some(enable) => { [INFO] [stdout] 409 | config.tcp_keepalive_enable = u32::from(enable); [INFO] [stdout] 410 | config_options.insert(BackendConfigOptions::KEEPALIVE); [INFO] [stdout] 411 ~ } _ => if config_options.contains(BackendConfigOptions::KEEPALIVE) { [INFO] [stdout] 412 | // If the other keepalive settings have been used, then default to [INFO] [stdout] 413 | // requesting them. [INFO] [stdout] 414 | config.tcp_keepalive_enable = u32::from(true); [INFO] [stdout] 415 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/core/handle.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | let (user_metadata_ptr, user_metadata_len) = if let Some(v) = &self.user_metadata { [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/cache/core/handle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 128 ~ let (user_metadata_ptr, user_metadata_len) = match &self.user_metadata { Some(v) => { [INFO] [stdout] 129 | mask.insert(Mask::USER_METADATA); [INFO] [stdout] 130 | (v.as_ptr(), v.len()) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | (ptr::null(), 0) [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/simple.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(found) = lookup_tx.found() { [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/cache/simple.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | } 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] 185 ~ match lookup_tx.found() { Some(found) => { [INFO] [stdout] 186 | // the value is already present, so just return it [INFO] [stdout] 187 | return Ok(Some(found.to_stream()?)); [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | // we're not in the insert-or-update case, but there's no found? [INFO] [stdout] 190 | return Err(CacheError::InvalidOperation); [INFO] [stdout] 191 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(values) = self.map.get_mut(name) { [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/http/lazy_headers.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } 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] 61 ~ match self.map.get_mut(name) { Some(values) => { [INFO] [stdout] 62 | Arc::make_mut(values).push(value) [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | self.set_header(name.clone(), value) [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(values) = self.lazy_map.as_mut().get_mut(name) { [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/http/lazy_headers.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.lazy_map.as_mut().get_mut(name) { Some(values) => { [INFO] [stdout] 166 | Arc::make_mut(values).push(value.into_owned()) [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | while let Some((Some(name), first_val)) = iter.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/http/lazy_headers.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:385:16 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(values) = lazy_map.remove(&name) { [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/http/lazy_headers.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | } 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] 385 ~ match lazy_map.remove(&name) { Some(values) => { [INFO] [stdout] 386 | header_map_append_many(&mut map, name, Arc::unwrap_or_clone(values).into_iter()); [INFO] [stdout] 387 ~ } _ => { [INFO] [stdout] 388 | header_map_append_many(&mut map, &name, self.handle.get_header_values(&name)); [INFO] [stdout] 389 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | if let Some(value) = values.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/http/lazy_headers.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 470 ~ match values.next() { Some(value) => { [INFO] [stdout] 471 | map.extend( [INFO] [stdout] 472 | std::iter::once((Some(name.into_owned()), value)).chain(values.map(|v| (None, v))), [INFO] [stdout] 473 | ); [INFO] [stdout] 474 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | if let Ok(trailers) = body.get_trailers() { [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/http/response.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match body.get_trailers() { Ok(trailers) => { [INFO] [stdout] 211 | for (k, v) in trailers.iter() { [INFO] [stdout] ... [INFO] [stdout] 214 | } [INFO] [stdout] 215 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | if let Some(ref mut body) = &mut self.body { [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/http/response.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | } 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] 443 ~ match &mut self.body { Some(ref mut body) => { [INFO] [stdout] 444 | body.append(other); [INFO] [stdout] 445 ~ } _ => { [INFO] [stdout] 446 | self.body = Some(other); [INFO] [stdout] 447 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | if let Some(body) = self.try_take_body() { [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/http/response.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | } 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] 585 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 586 | body.into_string() [INFO] [stdout] 587 ~ } _ => { [INFO] [stdout] 588 | String::new() [INFO] [stdout] 589 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(body) = self.try_take_body() { [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/http/response.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | } 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] 611 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 612 | String::from_utf8_lossy(&body.into_bytes()).to_string() [INFO] [stdout] 613 ~ } _ => { [INFO] [stdout] 614 | String::new() [INFO] [stdout] 615 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | if let Some(body) = self.try_take_body() { [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/http/response.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } 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] 679 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 680 | body.into_bytes() [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | Vec::new() [INFO] [stdout] 683 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(body) = self.try_take_body() { [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/http/response.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | } 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] 814 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 815 | serde_json::from_reader(body) [INFO] [stdout] 816 ~ } _ => { [INFO] [stdout] 817 | serde_json::from_reader(std::io::empty()) [INFO] [stdout] 818 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 900 | if let Some(body) = self.try_take_body() { [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/http/response.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | } 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] 900 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 901 | serde_urlencoded::from_reader(body) [INFO] [stdout] 902 ~ } _ => { [INFO] [stdout] 903 | serde_urlencoded::from_reader(std::io::empty()) [INFO] [stdout] 904 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1004:12 [INFO] [stdout] | [INFO] [stdout] 1004 | if let Some(hdr) = self.get_header(name.as_ref()) { [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/http/response.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | } 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] 1004 ~ match self.get_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1005 | Some( [INFO] [stdout] ... [INFO] [stdout] 1009 | ) [INFO] [stdout] 1010 ~ } _ => { [INFO] [stdout] 1011 | None [INFO] [stdout] 1012 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | if let Some(hdr) = self.remove_header(name.as_ref()) { [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/http/response.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | } 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] 1364 ~ match self.remove_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1365 | Some( [INFO] [stdout] ... [INFO] [stdout] 1369 | ) [INFO] [stdout] 1370 ~ } _ => { [INFO] [stdout] 1371 | None [INFO] [stdout] 1372 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1805:30 [INFO] [stdout] | [INFO] [stdout] 1805 | let body_handle = if let Some(body) = self.try_take_body() { [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/http/response.rs:1807:9 [INFO] [stdout] | [INFO] [stdout] 1807 | } 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] 1805 ~ let body_handle = match self.try_take_body() { Some(body) => { [INFO] [stdout] 1806 | body.into_handle() [INFO] [stdout] 1807 ~ } _ => { [INFO] [stdout] 1808 | BodyHandle::new() [INFO] [stdout] 1809 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if let Ok(trailers) = body.get_trailers() { [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/http/request.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 263 ~ match body.get_trailers() { Ok(trailers) => { [INFO] [stdout] 264 | for (k, v) in trailers.iter() { [INFO] [stdout] ... [INFO] [stdout] 267 | } [INFO] [stdout] 268 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(ref mut body) = &mut self.body { [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/http/request.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | } 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] 641 ~ match &mut self.body { Some(ref mut body) => { [INFO] [stdout] 642 | body.append(other); [INFO] [stdout] 643 ~ } _ => { [INFO] [stdout] 644 | self.body = Some(other); [INFO] [stdout] 645 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:784:12 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(body) = self.try_take_body() { [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/http/request.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | } 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] 784 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 785 | body.into_string() [INFO] [stdout] 786 ~ } _ => { [INFO] [stdout] 787 | String::new() [INFO] [stdout] 788 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | if let Some(body) = self.try_take_body() { [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/http/request.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | } 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] 810 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 811 | String::from_utf8_lossy(&body.into_bytes()).to_string() [INFO] [stdout] 812 ~ } _ => { [INFO] [stdout] 813 | String::new() [INFO] [stdout] 814 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | if let Some(body) = self.try_take_body() { [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/http/request.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | } 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] 878 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 879 | body.into_bytes() [INFO] [stdout] 880 ~ } _ => { [INFO] [stdout] 881 | Vec::new() [INFO] [stdout] 882 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1018:12 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Some(body) = self.try_take_body() { [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/http/request.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | } 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] 1018 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 1019 | serde_json::from_reader(body) [INFO] [stdout] 1020 ~ } _ => { [INFO] [stdout] 1021 | serde_json::from_reader(std::io::empty()) [INFO] [stdout] 1022 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | if let Some(body) = self.try_take_body() { [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/http/request.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | } 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] 1104 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 1105 | serde_urlencoded::from_reader(body) [INFO] [stdout] 1106 ~ } _ => { [INFO] [stdout] 1107 | serde_urlencoded::from_reader(std::io::empty()) [INFO] [stdout] 1108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1210 | if let Some(hdr) = self.get_header(name.as_ref()) { [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/http/request.rs:1215:9 [INFO] [stdout] | [INFO] [stdout] 1215 | } 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] 1210 ~ match self.get_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1211 | Some( [INFO] [stdout] ... [INFO] [stdout] 1214 | ) [INFO] [stdout] 1215 ~ } _ => { [INFO] [stdout] 1216 | None [INFO] [stdout] 1217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1564:12 [INFO] [stdout] | [INFO] [stdout] 1564 | if let Some(hdr) = self.remove_header(name.as_ref()) { [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/http/request.rs:1570:9 [INFO] [stdout] | [INFO] [stdout] 1570 | } 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] 1564 ~ match self.remove_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1565 | Some( [INFO] [stdout] ... [INFO] [stdout] 1569 | ) [INFO] [stdout] 1570 ~ } _ => { [INFO] [stdout] 1571 | None [INFO] [stdout] 1572 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/http/request.rs:2049:55 [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/http/request.rs:2049:38 [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:2312:30 [INFO] [stdout] | [INFO] [stdout] 2312 | let body_handle = if let Some(body) = self.try_take_body() { [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/http/request.rs:2314:9 [INFO] [stdout] | [INFO] [stdout] 2314 | } 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] 2312 ~ let body_handle = match self.try_take_body() { Some(body) => { [INFO] [stdout] 2313 | Some(body.into_handle()) [INFO] [stdout] 2314 ~ } _ => { [INFO] [stdout] 2315 | None [INFO] [stdout] 2316 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `fastly` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/http/lazy_headers.rs [INFO] [stderr] * src/http/response.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/http/response.rs:1886:6 [INFO] [stderr] | [INFO] [stderr] 1886 | ($status: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/http/response.rs:1890:6 [INFO] [stderr] | [INFO] [stderr] 1890 | ($status:expr_2021, $($arg:tt)*) => {{ [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] warning: elided lifetime has a name [INFO] [stderr] --> src/http/lazy_headers.rs:273:70 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [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/http/request.rs:2337:47 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match 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/http/request.rs:2337:58 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match 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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/http/lazy_headers.rs:273:70 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/http/response.rs:1886:14 [INFO] [stdout] | [INFO] [stdout] 1886 | ($status: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] 1886 | ($status: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/http/response.rs:1890:14 [INFO] [stdout] | [INFO] [stdout] 1890 | ($status:expr, $($arg:tt)*) => {{ [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] 1890 | ($status:expr_2021, $($arg:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `http::body::handle::BodyHandle::as_u32` is unsafe and requires unsafe block [INFO] [stdout] --> src/http/body/streaming/handle.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | self.handle.as_u32() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/http/body/streaming/handle.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend/builder.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(enable) = self.tcp_keepalive_enable { [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/backend/builder.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | } else if config_options.contains(BackendConfigOptions::KEEPALIVE) { [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] 408 ~ match self.tcp_keepalive_enable { Some(enable) => { [INFO] [stdout] 409 | config.tcp_keepalive_enable = u32::from(enable); [INFO] [stdout] 410 | config_options.insert(BackendConfigOptions::KEEPALIVE); [INFO] [stdout] 411 ~ } _ => if config_options.contains(BackendConfigOptions::KEEPALIVE) { [INFO] [stdout] 412 | // If the other keepalive settings have been used, then default to [INFO] [stdout] 413 | // requesting them. [INFO] [stdout] 414 | config.tcp_keepalive_enable = u32::from(true); [INFO] [stdout] 415 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/core/handle.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | let (user_metadata_ptr, user_metadata_len) = if let Some(v) = &self.user_metadata { [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/cache/core/handle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | } 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] 128 ~ let (user_metadata_ptr, user_metadata_len) = match &self.user_metadata { Some(v) => { [INFO] [stdout] 129 | mask.insert(Mask::USER_METADATA); [INFO] [stdout] 130 | (v.as_ptr(), v.len()) [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | (ptr::null(), 0) [INFO] [stdout] 133 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cache/simple.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(found) = lookup_tx.found() { [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/cache/simple.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | } 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] 185 ~ match lookup_tx.found() { Some(found) => { [INFO] [stdout] 186 | // the value is already present, so just return it [INFO] [stdout] 187 | return Ok(Some(found.to_stream()?)); [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | // we're not in the insert-or-update case, but there's no found? [INFO] [stdout] 190 | return Err(CacheError::InvalidOperation); [INFO] [stdout] 191 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(values) = self.map.get_mut(name) { [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/http/lazy_headers.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } 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] 61 ~ match self.map.get_mut(name) { Some(values) => { [INFO] [stdout] 62 | Arc::make_mut(values).push(value) [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | self.set_header(name.clone(), value) [INFO] [stdout] 65 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(values) = self.lazy_map.as_mut().get_mut(name) { [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/http/lazy_headers.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.lazy_map.as_mut().get_mut(name) { Some(values) => { [INFO] [stdout] 166 | Arc::make_mut(values).push(value.into_owned()) [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 350 | while let Some((Some(name), first_val)) = iter.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/http/lazy_headers.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:385:16 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(values) = lazy_map.remove(&name) { [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/http/lazy_headers.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | } 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] 385 ~ match lazy_map.remove(&name) { Some(values) => { [INFO] [stdout] 386 | header_map_append_many(&mut map, name, Arc::unwrap_or_clone(values).into_iter()); [INFO] [stdout] 387 ~ } _ => { [INFO] [stdout] 388 | header_map_append_many(&mut map, &name, self.handle.get_header_values(&name)); [INFO] [stdout] 389 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/lazy_headers.rs:470:8 [INFO] [stdout] | [INFO] [stdout] 470 | if let Some(value) = values.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/http/lazy_headers.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 470 ~ match values.next() { Some(value) => { [INFO] [stdout] 471 | map.extend( [INFO] [stdout] 472 | std::iter::once((Some(name.into_owned()), value)).chain(values.map(|v| (None, v))), [INFO] [stdout] 473 | ); [INFO] [stdout] 474 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | if let Ok(trailers) = body.get_trailers() { [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/http/response.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match body.get_trailers() { Ok(trailers) => { [INFO] [stdout] 211 | for (k, v) in trailers.iter() { [INFO] [stdout] ... [INFO] [stdout] 214 | } [INFO] [stdout] 215 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | if let Some(ref mut body) = &mut self.body { [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/http/response.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | } 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] 443 ~ match &mut self.body { Some(ref mut body) => { [INFO] [stdout] 444 | body.append(other); [INFO] [stdout] 445 ~ } _ => { [INFO] [stdout] 446 | self.body = Some(other); [INFO] [stdout] 447 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | if let Some(body) = self.try_take_body() { [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/http/response.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | } 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] 585 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 586 | body.into_string() [INFO] [stdout] 587 ~ } _ => { [INFO] [stdout] 588 | String::new() [INFO] [stdout] 589 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | if let Some(body) = self.try_take_body() { [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/http/response.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | } 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] 611 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 612 | String::from_utf8_lossy(&body.into_bytes()).to_string() [INFO] [stdout] 613 ~ } _ => { [INFO] [stdout] 614 | String::new() [INFO] [stdout] 615 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | if let Some(body) = self.try_take_body() { [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/http/response.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } 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] 679 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 680 | body.into_bytes() [INFO] [stdout] 681 ~ } _ => { [INFO] [stdout] 682 | Vec::new() [INFO] [stdout] 683 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(body) = self.try_take_body() { [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/http/response.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | } 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] 814 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 815 | serde_json::from_reader(body) [INFO] [stdout] 816 ~ } _ => { [INFO] [stdout] 817 | serde_json::from_reader(std::io::empty()) [INFO] [stdout] 818 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:900:12 [INFO] [stdout] | [INFO] [stdout] 900 | if let Some(body) = self.try_take_body() { [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/http/response.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | } 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] 900 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 901 | serde_urlencoded::from_reader(body) [INFO] [stdout] 902 ~ } _ => { [INFO] [stdout] 903 | serde_urlencoded::from_reader(std::io::empty()) [INFO] [stdout] 904 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1004:12 [INFO] [stdout] | [INFO] [stdout] 1004 | if let Some(hdr) = self.get_header(name.as_ref()) { [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/http/response.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | } 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] 1004 ~ match self.get_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1005 | Some( [INFO] [stdout] ... [INFO] [stdout] 1009 | ) [INFO] [stdout] 1010 ~ } _ => { [INFO] [stdout] 1011 | None [INFO] [stdout] 1012 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | if let Some(hdr) = self.remove_header(name.as_ref()) { [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/http/response.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | } 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] 1364 ~ match self.remove_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1365 | Some( [INFO] [stdout] ... [INFO] [stdout] 1369 | ) [INFO] [stdout] 1370 ~ } _ => { [INFO] [stdout] 1371 | None [INFO] [stdout] 1372 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/response.rs:1805:30 [INFO] [stdout] | [INFO] [stdout] 1805 | let body_handle = if let Some(body) = self.try_take_body() { [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/http/response.rs:1807:9 [INFO] [stdout] | [INFO] [stdout] 1807 | } 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] 1805 ~ let body_handle = match self.try_take_body() { Some(body) => { [INFO] [stdout] 1806 | body.into_handle() [INFO] [stdout] 1807 ~ } _ => { [INFO] [stdout] 1808 | BodyHandle::new() [INFO] [stdout] 1809 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if let Ok(trailers) = body.get_trailers() { [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/http/request.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 263 ~ match body.get_trailers() { Ok(trailers) => { [INFO] [stdout] 264 | for (k, v) in trailers.iter() { [INFO] [stdout] ... [INFO] [stdout] 267 | } [INFO] [stdout] 268 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(ref mut body) = &mut self.body { [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/http/request.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | } 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] 641 ~ match &mut self.body { Some(ref mut body) => { [INFO] [stdout] 642 | body.append(other); [INFO] [stdout] 643 ~ } _ => { [INFO] [stdout] 644 | self.body = Some(other); [INFO] [stdout] 645 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:784:12 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(body) = self.try_take_body() { [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/http/request.rs:786:9 [INFO] [stdout] | [INFO] [stdout] 786 | } 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] 784 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 785 | body.into_string() [INFO] [stdout] 786 ~ } _ => { [INFO] [stdout] 787 | String::new() [INFO] [stdout] 788 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | if let Some(body) = self.try_take_body() { [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/http/request.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | } 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] 810 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 811 | String::from_utf8_lossy(&body.into_bytes()).to_string() [INFO] [stdout] 812 ~ } _ => { [INFO] [stdout] 813 | String::new() [INFO] [stdout] 814 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | if let Some(body) = self.try_take_body() { [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/http/request.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | } 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] 878 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 879 | body.into_bytes() [INFO] [stdout] 880 ~ } _ => { [INFO] [stdout] 881 | Vec::new() [INFO] [stdout] 882 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1018:12 [INFO] [stdout] | [INFO] [stdout] 1018 | if let Some(body) = self.try_take_body() { [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/http/request.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | } 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] 1018 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 1019 | serde_json::from_reader(body) [INFO] [stdout] 1020 ~ } _ => { [INFO] [stdout] 1021 | serde_json::from_reader(std::io::empty()) [INFO] [stdout] 1022 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1104 | if let Some(body) = self.try_take_body() { [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/http/request.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | } 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] 1104 ~ match self.try_take_body() { Some(body) => { [INFO] [stdout] 1105 | serde_urlencoded::from_reader(body) [INFO] [stdout] 1106 ~ } _ => { [INFO] [stdout] 1107 | serde_urlencoded::from_reader(std::io::empty()) [INFO] [stdout] 1108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1210:12 [INFO] [stdout] | [INFO] [stdout] 1210 | if let Some(hdr) = self.get_header(name.as_ref()) { [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/http/request.rs:1215:9 [INFO] [stdout] | [INFO] [stdout] 1215 | } 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] 1210 ~ match self.get_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1211 | Some( [INFO] [stdout] ... [INFO] [stdout] 1214 | ) [INFO] [stdout] 1215 ~ } _ => { [INFO] [stdout] 1216 | None [INFO] [stdout] 1217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:1564:12 [INFO] [stdout] | [INFO] [stdout] 1564 | if let Some(hdr) = self.remove_header(name.as_ref()) { [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/http/request.rs:1570:9 [INFO] [stdout] | [INFO] [stdout] 1570 | } 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] 1564 ~ match self.remove_header(name.as_ref()) { Some(hdr) => { [INFO] [stdout] 1565 | Some( [INFO] [stdout] ... [INFO] [stdout] 1569 | ) [INFO] [stdout] 1570 ~ } _ => { [INFO] [stdout] 1571 | None [INFO] [stdout] 1572 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/http/request.rs:2049:55 [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/http/request.rs:2049:38 [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 2049 | pub fn get_original_header_names(&self) -> Option + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/http/request.rs:2312:30 [INFO] [stdout] | [INFO] [stdout] 2312 | let body_handle = if let Some(body) = self.try_take_body() { [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/http/request.rs:2314:9 [INFO] [stdout] | [INFO] [stdout] 2314 | } 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] 2312 ~ let body_handle = match self.try_take_body() { Some(body) => { [INFO] [stdout] 2313 | Some(body.into_handle()) [INFO] [stdout] 2314 ~ } _ => { [INFO] [stdout] 2315 | None [INFO] [stdout] 2316 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.53s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking fastly v0.10.5 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/http/request.rs:2337:47 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/http/request.rs:2337:47 [INFO] [stdout] | [INFO] [stdout] 2337 | self.metadata.cache_key.as_ref().map(|gen| match gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/http/lazy_headers.rs:273:70 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/http/lazy_headers.rs:273:70 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_header_names<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `http::body::handle::BodyHandle::as_u32` is unsafe and requires unsafe block [INFO] [stdout] --> src/http/body/streaming/handle.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | self.handle.as_u32() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/http/body/streaming/handle.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastly` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `http::body::handle::BodyHandle::as_u32` is unsafe and requires unsafe block [INFO] [stdout] --> src/http/body/streaming/handle.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | self.handle.as_u32() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/http/body/streaming/handle.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn as_u32(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastly` (lib) due to 2 previous errors; 2 warnings emitted [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" "a44e2d8c34eac7e7e8b0dd01675a52bc5b50637b7a5b2ba5518639326051bfdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44e2d8c34eac7e7e8b0dd01675a52bc5b50637b7a5b2ba5518639326051bfdd", kill_on_drop: false }` [INFO] [stdout] a44e2d8c34eac7e7e8b0dd01675a52bc5b50637b7a5b2ba5518639326051bfdd