[INFO] fetching crate hyperapi 0.2.2... [INFO] checking hyperapi-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hyperapi 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hyperapi 0.2.2 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 hyperapi 0.2.2 [INFO] finished tweaking crates.io crate hyperapi 0.2.2 [INFO] tweaked toml for crates.io crate hyperapi 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate hyperapi 0.2.2 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 56fce4d2af58e0424777b0c71767b8d2e1a4c28e08681bc09d60815baab4d632 [INFO] running `Command { std: "docker" "start" "-a" "56fce4d2af58e0424777b0c71767b8d2e1a4c28e08681bc09d60815baab4d632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56fce4d2af58e0424777b0c71767b8d2e1a4c28e08681bc09d60815baab4d632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fce4d2af58e0424777b0c71767b8d2e1a4c28e08681bc09d60815baab4d632", kill_on_drop: false }` [INFO] [stdout] 56fce4d2af58e0424777b0c71767b8d2e1a4c28e08681bc09d60815baab4d632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c806bc4836358530e065fdd98dcd55ab1664ac15869c00f406cc41c28e2b2880 [INFO] running `Command { std: "docker" "start" "-a" "c806bc4836358530e065fdd98dcd55ab1664ac15869c00f406cc41c28e2b2880", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Compiling protobuf v2.23.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking cpufeatures v0.1.1 [INFO] [stderr] Checking sha-1 v0.9.5 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking async-tungstenite v0.13.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking tower v0.4.7 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking tracing-bunyan-formatter v0.2.4 [INFO] [stderr] Checking tracing-appender v0.1.2 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyperapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `last_attempt` is never read [INFO] [stdout] --> src/middleware/circuit_breaker/state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HalfOpenState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub last_attempt: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalfOpenState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | start_middleware_macro!(UpstreamMiddleware, stack, conf_tx); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | start_middleware_macro!(HeaderMiddleware, stack, conf_tx); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | start_middleware_macro!(RateLimitMiddleware, stack, conf_tx); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | start_middleware_macro!(ACLMiddleware, stack, conf_tx); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | start_middleware_macro!(LoggerMiddleware, stack, conf_tx); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/proxy/server.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 27 | let (conf_tx, conf_rx) = broadcast::channel(16); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let (auth_tx, auth_rx) = mpsc::channel(16); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let mut auth_service = AuthService::new(conf_rx, auth_rx); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | auth_service.start().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/proxy/request_handler.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn call(&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] ... [INFO] [stdout] 57 | let stack = self.stack.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let auth = self.auth.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let span = span!(Level::DEBUG, "request"); [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] 62 | event!(Level::DEBUG, "{:?} {:?}", req.method(), req.uri()); [INFO] [stdout] 63 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 64 | | // auth [INFO] [stdout] 65 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] 66 | | let (head, body) = req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }.instrument(span)) [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/proxy/https.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(stream: AddrStream, config: Arc) -> TlsStream { [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] 292 | let remote_addr = stream.remote_addr(); [INFO] [stdout] 293 | let accept = tokio_rustls::TlsAcceptor::from(config).accept(stream); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | TlsStream { [INFO] [stdout] 295 | state: State::Handshaking(accept), [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/proxy/https.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 363 | pub 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] 364 | TlsAcceptor { [INFO] [stdout] 365 | 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/middleware/proxy.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn call(&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] 102 | let req = ProxyHandler::alter_request(req, &self.upstream); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let sleep = tokio::time::sleep(self.timeout.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let fut = self.client.request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 116 | | let result: Result, GatewayError> = tokio::select! { [INFO] [stdout] 117 | | resp = fut => { [INFO] [stdout] 118 | | Ok(resp?) [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(resp) [INFO] [stdout] 138 | | }) [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/middleware/header.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn request(&mut self, task: MwPreRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let MwPreRequest {context, mut request, service_filters, client_filters, result} = task; [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] 38 | let resp = MwPreResponse {context: context, next: MwNextAction::Next(request) }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _ = result.send(Ok(resp)); [INFO] [stdout] 40 | Box::pin(async {}) [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/middleware/header.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn response(&mut self, task: MwPostRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let MwPostRequest {context, mut response, service_filters, client_filters, result} = task; [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] 56 | let resp = MwPostResponse {context: context, response: response }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let _ = result.send(Ok(resp)); [INFO] [stdout] 58 | Box::pin(async {}) [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/middleware/acl.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn request(&mut self, task: MwPreRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let MwPreRequest {context, request, service_filters: _, client_filters: _, result} = task; [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] 56 | Box::pin(async {}) [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/middleware/logger.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn response(&mut self, task: MwPostRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let MwPostRequest {context, response, service_filters: _, client_filters: _, result} = task; [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] 53 | let status = response.status().as_u16().to_string(); [INFO] [stdout] 54 | let empty_value = HeaderValue::from_static(""); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let response = MwPostResponse {context: context, response: response }; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let _ = result.send(Ok(response)); [INFO] [stdout] 78 | Box::pin(async {}) [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/middleware/circuit_breaker/circuit_breaker.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(inner: S, config: CircuitBreakerConfig) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | CircuitBreakerService { inner, config, state: Arc::new(Mutex::new(state)) } [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/middleware/weighted/service.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(discover: D) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self::from_rng(discover, &mut rand::thread_rng()).expect("ThreadRNG must be valid") [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/middleware/weighted/service.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_rng(discover: D, rng: R) -> Result { [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] 43 | let rng = SmallRng::from_rng(rng)?; [INFO] [stdout] 44 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | rng, [INFO] [stdout] 46 | | discover, [INFO] [stdout] 47 | | services: ReadyCache::default(), [INFO] [stdout] 48 | | ready_index: None, [INFO] [stdout] 49 | | _req: PhantomData, [INFO] [stdout] 50 | | }) [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/middleware/weighted/service.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn call(&mut self, request: Req) -> Self::Future { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let index = self.ready_index.take().expect("called before ready"); [INFO] [stdout] 189 | / self.services [INFO] [stdout] 190 | | .call_ready_index(index, request) [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/auth/service.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(conf_receiver: broadcast::Receiver, auth_receiver: mpsc::Receiver) -> Self { [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] 28 | authenticators: HashMap::new(), [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/auth/service.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn auth_handler(&mut self, head: Parts) -> Result<(Parts, AuthResponse), GatewayAuthError> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let (head, auth_result) = provider.identify_client(head, service_id)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok((head, resp)) [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/auth/no_auth.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | fn identify_client(&self, head: Parts, _service_id: &str) -> Result<(Parts, AuthResult), GatewayAuthError> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok((head, result)) [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 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperapi` (lib test) due to 22 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `last_attempt` is never read [INFO] [stdout] --> src/middleware/circuit_breaker/state.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HalfOpenState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub last_attempt: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalfOpenState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | start_middleware_macro!(UpstreamMiddleware, stack, conf_tx); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | start_middleware_macro!(HeaderMiddleware, stack, conf_tx); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | start_middleware_macro!(RateLimitMiddleware, stack, conf_tx); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | start_middleware_macro!(ACLMiddleware, stack, conf_tx); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:14:72 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = mpsc::channel(16); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let conf_update = $c.subscribe(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | crate::middleware::start_middleware::<$t>(rx, conf_update).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proxy/server.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | start_middleware_macro!(LoggerMiddleware, stack, conf_tx); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `start_middleware_macro` (in Nightly builds, run with -Z macro-backtrace for more info) [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/proxy/server.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 27 | let (conf_tx, conf_rx) = broadcast::channel(16); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let (auth_tx, auth_rx) = mpsc::channel(16); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let mut auth_service = AuthService::new(conf_rx, auth_rx); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | auth_service.start().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/proxy/request_handler.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 44 | fn call(&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] ... [INFO] [stdout] 57 | let stack = self.stack.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let auth = self.auth.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | let span = span!(Level::DEBUG, "request"); [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] 62 | event!(Level::DEBUG, "{:?} {:?}", req.method(), req.uri()); [INFO] [stdout] 63 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 64 | | // auth [INFO] [stdout] 65 | | let (tx, rx) = oneshot::channel(); [INFO] [stdout] 66 | | let (head, body) = req.into_parts(); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }.instrument(span)) [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/proxy/https.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 291 | fn new(stream: AddrStream, config: Arc) -> TlsStream { [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] 292 | let remote_addr = stream.remote_addr(); [INFO] [stdout] 293 | let accept = tokio_rustls::TlsAcceptor::from(config).accept(stream); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | TlsStream { [INFO] [stdout] 295 | state: State::Handshaking(accept), [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/proxy/https.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 363 | pub 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] 364 | TlsAcceptor { [INFO] [stdout] 365 | 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/middleware/proxy.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 101 | fn call(&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] 102 | let req = ProxyHandler::alter_request(req, &self.upstream); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let sleep = tokio::time::sleep(self.timeout.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | let fut = self.client.request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 116 | | let result: Result, GatewayError> = tokio::select! { [INFO] [stdout] 117 | | resp = fut => { [INFO] [stdout] 118 | | Ok(resp?) [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(resp) [INFO] [stdout] 138 | | }) [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/middleware/header.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn request(&mut self, task: MwPreRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let MwPreRequest {context, mut request, service_filters, client_filters, result} = task; [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] 38 | let resp = MwPreResponse {context: context, next: MwNextAction::Next(request) }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _ = result.send(Ok(resp)); [INFO] [stdout] 40 | Box::pin(async {}) [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/middleware/header.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn response(&mut self, task: MwPostRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let MwPostRequest {context, mut response, service_filters, client_filters, result} = task; [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] 56 | let resp = MwPostResponse {context: context, response: response }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let _ = result.send(Ok(resp)); [INFO] [stdout] 58 | Box::pin(async {}) [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/middleware/acl.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn request(&mut self, task: MwPreRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let MwPreRequest {context, request, service_filters: _, client_filters: _, result} = task; [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] 56 | Box::pin(async {}) [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/middleware/logger.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 51 | fn response(&mut self, task: MwPostRequest) -> Pin + Send>> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let MwPostRequest {context, response, service_filters: _, client_filters: _, result} = task; [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] 53 | let status = response.status().as_u16().to_string(); [INFO] [stdout] 54 | let empty_value = HeaderValue::from_static(""); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let response = MwPostResponse {context: context, response: response }; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let _ = result.send(Ok(response)); [INFO] [stdout] 78 | Box::pin(async {}) [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/middleware/circuit_breaker/circuit_breaker.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(inner: S, config: CircuitBreakerConfig) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | CircuitBreakerService { inner, config, state: Arc::new(Mutex::new(state)) } [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/middleware/weighted/service.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(discover: D) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Self::from_rng(discover, &mut rand::thread_rng()).expect("ThreadRNG must be valid") [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/middleware/weighted/service.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_rng(discover: D, rng: R) -> Result { [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] 43 | let rng = SmallRng::from_rng(rng)?; [INFO] [stdout] 44 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | rng, [INFO] [stdout] 46 | | discover, [INFO] [stdout] 47 | | services: ReadyCache::default(), [INFO] [stdout] 48 | | ready_index: None, [INFO] [stdout] 49 | | _req: PhantomData, [INFO] [stdout] 50 | | }) [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/middleware/weighted/service.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 187 | fn call(&mut self, request: Req) -> Self::Future { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let index = self.ready_index.take().expect("called before ready"); [INFO] [stdout] 189 | / self.services [INFO] [stdout] 190 | | .call_ready_index(index, request) [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/auth/service.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(conf_receiver: broadcast::Receiver, auth_receiver: mpsc::Receiver) -> Self { [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] 28 | authenticators: HashMap::new(), [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/auth/service.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn auth_handler(&mut self, head: Parts) -> Result<(Parts, AuthResponse), GatewayAuthError> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let (head, auth_result) = provider.identify_client(head, service_id)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok((head, resp)) [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/auth/no_auth.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | fn identify_client(&self, head: Parts, _service_id: &str) -> Result<(Parts, AuthResult), GatewayAuthError> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | Ok((head, result)) [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 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperapi` (lib) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c806bc4836358530e065fdd98dcd55ab1664ac15869c00f406cc41c28e2b2880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c806bc4836358530e065fdd98dcd55ab1664ac15869c00f406cc41c28e2b2880", kill_on_drop: false }` [INFO] [stdout] c806bc4836358530e065fdd98dcd55ab1664ac15869c00f406cc41c28e2b2880