[INFO] fetching crate httproxide 0.2.0... [INFO] checking httproxide-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate httproxide 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate httproxide 0.2.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate httproxide 0.2.0 [INFO] finished tweaking crates.io crate httproxide 0.2.0 [INFO] tweaked toml for crates.io crate httproxide 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate httproxide 0.2.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 745382f47185d70ad0c44264cd52890c0550524e3988aa617b7c5c85ac93dfca [INFO] running `Command { std: "docker" "start" "-a" "745382f47185d70ad0c44264cd52890c0550524e3988aa617b7c5c85ac93dfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "745382f47185d70ad0c44264cd52890c0550524e3988aa617b7c5c85ac93dfca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745382f47185d70ad0c44264cd52890c0550524e3988aa617b7c5c85ac93dfca", kill_on_drop: false }` [INFO] [stdout] 745382f47185d70ad0c44264cd52890c0550524e3988aa617b7c5c85ac93dfca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 801c1425b09ffe6095e0eebe20b2380cf9a60aeb23dede77574fbad5fa732711 [INFO] running `Command { std: "docker" "start" "-a" "801c1425b09ffe6095e0eebe20b2380cf9a60aeb23dede77574fbad5fa732711", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling rustls v0.21.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde v1.0.178 [INFO] [stderr] Compiling serde_derive v1.0.178 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking matchit v0.7.1 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking serde-tuple-vec-map v1.0.1 [INFO] [stderr] Checking rustls-webpki v0.101.2 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rcgen v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking quinn-udp v0.4.0 [INFO] [stderr] Checking quinn-proto v0.10.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quinn v0.10.1 [INFO] [stderr] Checking h3 v0.0.2 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking h3-quinn v0.0.3 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking httproxide-hyperlocal v0.8.0 [INFO] [stderr] Checking httproxide-client-util v0.2.0 [INFO] [stderr] Checking httproxide v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `content_length` [INFO] [stdout] --> src/listener/h3.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | ... let content_length = content_length_parse_all(req.headers()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_length` [INFO] [stdout] --> src/listener/h3.rs:146:37 [INFO] [stdout] | [INFO] [stdout] 146 | ... let content_length = content_length_parse_all(req.headers()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reverse_proxy.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(mut req) = upgrade_request { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let mut res_upgraded = hyper::upgrade::on(response).await?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | match hyper::upgrade::on(&mut req).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn to_automatic(inner: impl IntoTarget) -> Target { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | / inner [INFO] [stdout] 41 | | .into_target() [INFO] [stdout] 42 | | .map_response(|resp| { [INFO] [stdout] 43 | | let (parts, body) = resp.into_parts(); [INFO] [stdout] 44 | | Response::from_parts(parts, AutomaticBody::Boxed(body)) [INFO] [stdout] 45 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 42 | .map_response(|resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let (parts, body) = resp.into_parts(); [INFO] [stdout] | ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Response::from_parts(parts, AutomaticBody::Boxed(body)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add_automatic_body(inner: L) -> impl ApplyLayer [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | layer_fn(move |s| from_automatic(inner.layer(to_automatic(s)).boxed_clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add_automatic_body(inner: L) -> impl ApplyLayer [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | layer_fn(move |s| from_automatic(inner.layer(to_automatic(s)).boxed_clone())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_layer(&self, t: Target) -> Target { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | self.layer(t).into_target() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn authorize(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let uri = self.uri.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 35 | | let client_ip = req.client_ip(); [INFO] [stdout] 36 | | let mut new_req = Request::new(ReqBody::default()); [INFO] [stdout] 37 | | let target = format!("{}://{}", uri.scheme_str().unwrap(), uri.authority().unwrap()); [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn authorize(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let uri = self.uri.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let mut new_req = Request::new(ReqBody::default()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | match crate::reverse_proxy::call(client_ip, &target, new_req, &client).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | let uri = config.target.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(add_automatic_body(AsyncRequireAuthorizationLayer::new( [INFO] [stdout] | ________^ [INFO] [stdout] 72 | | AuthRequest { [INFO] [stdout] 73 | | uri, [INFO] [stdout] 74 | | client: get_client(config.client)?, [INFO] [stdout] 75 | | }, [INFO] [stdout] 76 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/limit.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 14 | Ok(layer_fn(move |s| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | RequestBodyLimit::new(MapRequestBody::new(s, axum::body::boxed), config.limit) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(new_conn) = endpoint.accept().await { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let mut svc = match make_svc.call(new_conn.remote_address()).await { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | match new_conn.await { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 211 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 216 | | let rustls_config = get_rustls_config(vec!["h3".into()], config.tls).await?; [INFO] [stdout] 217 | | run_h3_server( [INFO] [stdout] 218 | | rustls_config, [INFO] [stdout] ... | [INFO] [stdout] 225 | | .await [INFO] [stdout] 226 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 211 | target: Target, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let rustls_config = get_rustls_config(vec!["h3".into()], config.tls).await?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 220 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/plain.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> anyhow::Result { [INFO] [stdout] 21 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 22 | | let incoming = hyper_addr_incoming_from_config(&config.tcp)?; [INFO] [stdout] 23 | | hyper::Server::builder(incoming) [INFO] [stdout] 24 | | .serve(tower::service_fn(move |conn: &AddrStream| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(()) [INFO] [stdout] 31 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/plain.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 25 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let remote_addr = conn.remote_addr(); [INFO] [stdout] 27 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn new(config: ServerConfig, incoming: AddrIncoming) -> TlsAcceptor { [INFO] [stdout] | -------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | TlsAcceptor { [INFO] [stdout] 105 | config: Arc::new(config), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 137 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | ) -> anyhow::Result { [INFO] [stdout] 139 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 140 | | let mut alpn = vec![]; [INFO] [stdout] 141 | | #[cfg(feature = "http2")] [INFO] [stdout] 142 | | alpn.push("h2".into()); [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(()) [INFO] [stdout] 156 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 150 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let remote_addr = conn.remote_addr(); [INFO] [stdout] 152 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/proxy.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | let client = get_client(config.client.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(tower::service_fn(move |mut request: Request| { [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | let client = client.clone(); [INFO] [stdout] 21 | | let config = config.clone(); [INFO] [stdout] 22 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/proxy.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(tower::service_fn(move |mut request: Request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let client = client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let request_uri = request.uri().clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok::<_, anyhow::Error>( [INFO] [stdout] 39 | / crate::reverse_proxy::call(client_ip, &config.target, request, &client).await [INFO] [stdout] 40 | | .context(format!("proxying from {} to {}", &request_uri, &config.target))? [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/redirect.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 31 | let uri: Uri = config.target.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let parts = uri.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let scheme = parts.scheme.ok_or(anyhow!("missing scheme"))?; [INFO] [stdout] | ------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let authority = parts.authority.ok_or(anyhow!("missing authority"))?; [INFO] [stdout] | --------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let handler = move |uri: Uri| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(handler.into_service()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/redirect.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 33 | let scheme = parts.scheme.ok_or(anyhow!("missing scheme"))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let authority = parts.authority.ok_or(anyhow!("missing authority"))?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let handler = move |uri: Uri| async move { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let mut parts = uri.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | match Uri::from_parts(parts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/router.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn host_router_from_config(config: HostRouterConfig) -> anyhow::Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut router_for_host = HashMap::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let handler = |Host(hostname): Host, request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(handler.into_service()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/router.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 51 | let mut router_for_host = HashMap::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let handler = |Host(hostname): Host, request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let hostrouter = match router_for_host.get(&hostname) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | hostrouter.oneshot(request).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 15 | let sock = socket2::Socket::new(domain, socket2::Type::STREAM, None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(sock.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_util.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | std::iter::from_fn(|| rustls_pemfile::read_one(&mut private_key_file).transpose()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httproxide` (lib) due to 28 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reverse_proxy.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(mut req) = upgrade_request { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let mut res_upgraded = hyper::upgrade::on(response).await?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | match hyper::upgrade::on(&mut req).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn to_automatic(inner: impl IntoTarget) -> Target { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | / inner [INFO] [stdout] 41 | | .into_target() [INFO] [stdout] 42 | | .map_response(|resp| { [INFO] [stdout] 43 | | let (parts, body) = resp.into_parts(); [INFO] [stdout] 44 | | Response::from_parts(parts, AutomaticBody::Boxed(body)) [INFO] [stdout] 45 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 42 | .map_response(|resp| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let (parts, body) = resp.into_parts(); [INFO] [stdout] | ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Response::from_parts(parts, AutomaticBody::Boxed(body)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add_automatic_body(inner: L) -> impl ApplyLayer [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | layer_fn(move |s| from_automatic(inner.layer(to_automatic(s)).boxed_clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/automatic_body.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn add_automatic_body(inner: L) -> impl ApplyLayer [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | layer_fn(move |s| from_automatic(inner.layer(to_automatic(s)).boxed_clone())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_layer(&self, t: Target) -> Target { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | self.layer(t).into_target() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn authorize(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let uri = self.uri.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 35 | | let client_ip = req.client_ip(); [INFO] [stdout] 36 | | let mut new_req = Request::new(ReqBody::default()); [INFO] [stdout] 37 | | let target = format!("{}://{}", uri.scheme_str().unwrap(), uri.authority().unwrap()); [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn authorize(&mut self, req: Request) -> Self::Future { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let uri = self.uri.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let client = self.client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let mut new_req = Request::new(ReqBody::default()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | match crate::reverse_proxy::call(client_ip, &target, new_req, &client).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/auth_request.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | let uri = config.target.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(add_automatic_body(AsyncRequireAuthorizationLayer::new( [INFO] [stdout] | ________^ [INFO] [stdout] 72 | | AuthRequest { [INFO] [stdout] 73 | | uri, [INFO] [stdout] 74 | | client: get_client(config.client)?, [INFO] [stdout] 75 | | }, [INFO] [stdout] 76 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layer/limit.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 14 | Ok(layer_fn(move |s| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | RequestBodyLimit::new(MapRequestBody::new(s, axum::body::boxed), config.limit) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(new_conn) = endpoint.accept().await { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let mut svc = match make_svc.call(new_conn.remote_address()).await { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | match new_conn.await { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 211 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 216 | | let rustls_config = get_rustls_config(vec!["h3".into()], config.tls).await?; [INFO] [stdout] 217 | | run_h3_server( [INFO] [stdout] 218 | | rustls_config, [INFO] [stdout] ... | [INFO] [stdout] 225 | | .await [INFO] [stdout] 226 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 211 | target: Target, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let rustls_config = get_rustls_config(vec!["h3".into()], config.tls).await?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/h3.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 220 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/plain.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | ) -> anyhow::Result { [INFO] [stdout] 21 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 22 | | let incoming = hyper_addr_incoming_from_config(&config.tcp)?; [INFO] [stdout] 23 | | hyper::Server::builder(incoming) [INFO] [stdout] 24 | | .serve(tower::service_fn(move |conn: &AddrStream| { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(()) [INFO] [stdout] 31 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/plain.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 25 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let remote_addr = conn.remote_addr(); [INFO] [stdout] 27 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn new(config: ServerConfig, incoming: AddrIncoming) -> TlsAcceptor { [INFO] [stdout] | -------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | TlsAcceptor { [INFO] [stdout] 105 | config: Arc::new(config), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 137 | target: Target, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | ) -> anyhow::Result { [INFO] [stdout] 139 | Ok(Box::pin(async move { [INFO] [stdout] | ________^ [INFO] [stdout] 140 | | let mut alpn = vec![]; [INFO] [stdout] 141 | | #[cfg(feature = "http2")] [INFO] [stdout] 142 | | alpn.push("h2".into()); [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(()) [INFO] [stdout] 156 | | })) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/listener/tls.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 150 | let target = target.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let remote_addr = conn.remote_addr(); [INFO] [stdout] 152 | async move { Ok::<_, Infallible>(AddExtension::new(target, remote_addr)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/proxy.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | let client = get_client(config.client.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(tower::service_fn(move |mut request: Request| { [INFO] [stdout] | ________^ [INFO] [stdout] 20 | | let client = client.clone(); [INFO] [stdout] 21 | | let config = config.clone(); [INFO] [stdout] 22 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/proxy.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(tower::service_fn(move |mut request: Request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let client = client.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let request_uri = request.uri().clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok::<_, anyhow::Error>( [INFO] [stdout] 39 | / crate::reverse_proxy::call(client_ip, &config.target, request, &client).await [INFO] [stdout] 40 | | .context(format!("proxying from {} to {}", &request_uri, &config.target))? [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/redirect.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 31 | let uri: Uri = config.target.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let parts = uri.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let scheme = parts.scheme.ok_or(anyhow!("missing scheme"))?; [INFO] [stdout] | ------ ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let authority = parts.authority.ok_or(anyhow!("missing authority"))?; [INFO] [stdout] | --------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let handler = move |uri: Uri| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(handler.into_service()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/redirect.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 33 | let scheme = parts.scheme.ok_or(anyhow!("missing scheme"))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let authority = parts.authority.ok_or(anyhow!("missing authority"))?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let handler = move |uri: Uri| async move { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let mut parts = uri.into_parts(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | match Uri::from_parts(parts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/router.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn host_router_from_config(config: HostRouterConfig) -> anyhow::Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut router_for_host = HashMap::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let handler = |Host(hostname): Host, request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(handler.into_service()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/router.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 51 | let mut router_for_host = HashMap::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let handler = |Host(hostname): Host, request: Request| async move { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let hostrouter = match router_for_host.get(&hostname) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | hostrouter.oneshot(request).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp_util.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 15 | let sock = socket2::Socket::new(domain, socket2::Type::STREAM, None)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Ok(sock.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tls_util.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | std::iter::from_fn(|| rustls_pemfile::read_one(&mut private_key_file).transpose()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httproxide` (lib test) due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "801c1425b09ffe6095e0eebe20b2380cf9a60aeb23dede77574fbad5fa732711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801c1425b09ffe6095e0eebe20b2380cf9a60aeb23dede77574fbad5fa732711", kill_on_drop: false }` [INFO] [stdout] 801c1425b09ffe6095e0eebe20b2380cf9a60aeb23dede77574fbad5fa732711