[INFO] fetching crate h2x 0.5.0... [INFO] checking h2x-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate h2x 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate h2x 0.5.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 h2x 0.5.0 [INFO] finished tweaking crates.io crate h2x 0.5.0 [INFO] tweaked toml for crates.io crate h2x 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate h2x 0.5.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc9d1891e478a9e885a7424702e4f5757b80204ef6ef1b9e47f62c51f6de5b08 [INFO] running `Command { std: "docker" "start" "-a" "fc9d1891e478a9e885a7424702e4f5757b80204ef6ef1b9e47f62c51f6de5b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc9d1891e478a9e885a7424702e4f5757b80204ef6ef1b9e47f62c51f6de5b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9d1891e478a9e885a7424702e4f5757b80204ef6ef1b9e47f62c51f6de5b08", kill_on_drop: false }` [INFO] [stdout] fc9d1891e478a9e885a7424702e4f5757b80204ef6ef1b9e47f62c51f6de5b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 1b0c1aad8df5e4e3662abe7762d566cd4029739e30a66316cd3e7a1b700ea530 [INFO] running `Command { std: "docker" "start" "-a" "1b0c1aad8df5e4e3662abe7762d566cd4029739e30a66316cd3e7a1b700ea530", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tls-listener v0.2.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2x v0.5.0 (/opt/rustwide/workdir) [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/graceful_shutdown.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | is_closed: Arc::new(AtomicBool::new(false)), [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/graceful_shutdown.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.inner.accept().await.map(|(inner, addr)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let is_closed = Arc::clone(&self.is_closed); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | (GracefulShutdown { inner, is_closed }, 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/graceful_shutdown.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn shutdown(self) -> impl Future { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | self.is_closed.store(true, Ordering::Relaxed); [INFO] [stdout] 64 | future::poll_fn(move |cx| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 65 | | // spin loop [INFO] [stdout] 66 | | if Arc::strong_count(&self.is_closed) == 1 { [INFO] [stdout] 67 | | return Poll::Ready(()); [INFO] [stdout] ... | [INFO] [stdout] 71 | | Poll::Pending [INFO] [stdout] 72 | | }) [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/graceful_shutdown.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn incoming(mut self, _s: impl Incoming) -> task::JoinHandle<()> { [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] 82 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | while let Some(Ok((req, res))) = self.inner.accept().await { [INFO] [stdout] 84 | | if self.is_closed.load(Ordering::Acquire) { [INFO] [stdout] 85 | | self.inner.graceful_shutdown(); [INFO] [stdout] ... | [INFO] [stdout] 96 | | drop(self.is_closed); [INFO] [stdout] 97 | | }) [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/response.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_stream(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let inner = self.create_response(false)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(Responder { inner }) [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/response.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn write_unbound(self, bytes: impl Into) -> 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] 62 | self.send_stream()?.end_write_unbound(bytes) [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/response.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn write_unbound(&mut self, bytes: impl Into) -> Result<()> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | self.inner.send_data(bytes.into(), false) [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/response.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn end_write_unbound(mut self, bytes: impl Into) -> 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] 124 | self.inner.send_data(bytes.into(), true) [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/response.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn end(mut self) -> Result<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | self.inner.send_data(Bytes::new(), true) [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/server.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn incoming(mut self, _s: impl Incoming) -> task::JoinHandle<()> [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] 155 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 156 | | while let Some(Ok((req, res))) = self.accept().await { [INFO] [stdout] 157 | | let state = _s.clone(); [INFO] [stdout] 158 | | tokio::spawn(state.stream(req, res)); [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | _s.close().await; [INFO] [stdout] 161 | | }) [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 10 previous errors [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/graceful_shutdown.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new(inner: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | is_closed: Arc::new(AtomicBool::new(false)), [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] [stderr] error: could not compile `h2x` (lib) due to 11 previous errors [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/graceful_shutdown.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.inner.accept().await.map(|(inner, addr)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let is_closed = Arc::clone(&self.is_closed); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | (GracefulShutdown { inner, is_closed }, 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/graceful_shutdown.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn shutdown(self) -> impl Future { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | self.is_closed.store(true, Ordering::Relaxed); [INFO] [stdout] 64 | future::poll_fn(move |cx| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 65 | | // spin loop [INFO] [stdout] 66 | | if Arc::strong_count(&self.is_closed) == 1 { [INFO] [stdout] 67 | | return Poll::Ready(()); [INFO] [stdout] ... | [INFO] [stdout] 71 | | Poll::Pending [INFO] [stdout] 72 | | }) [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/graceful_shutdown.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn incoming(mut self, _s: impl Incoming) -> task::JoinHandle<()> { [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] 82 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 83 | | while let Some(Ok((req, res))) = self.inner.accept().await { [INFO] [stdout] 84 | | if self.is_closed.load(Ordering::Acquire) { [INFO] [stdout] 85 | | self.inner.graceful_shutdown(); [INFO] [stdout] ... | [INFO] [stdout] 96 | | drop(self.is_closed); [INFO] [stdout] 97 | | }) [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/response.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn send_stream(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let inner = self.create_response(false)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(Responder { inner }) [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/response.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn write_unbound(self, bytes: impl Into) -> 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] 62 | self.send_stream()?.end_write_unbound(bytes) [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/response.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn write_unbound(&mut self, bytes: impl Into) -> Result<()> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | self.inner.send_data(bytes.into(), false) [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/response.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn end_write_unbound(mut self, bytes: impl Into) -> 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] 124 | self.inner.send_data(bytes.into(), true) [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/response.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn end(mut self) -> Result<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | self.inner.send_data(Bytes::new(), true) [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/server.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn incoming(mut self, _s: impl Incoming) -> task::JoinHandle<()> [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] 155 | tokio::spawn(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 156 | | while let Some(Ok((req, res))) = self.accept().await { [INFO] [stdout] 157 | | let state = _s.clone(); [INFO] [stdout] 158 | | tokio::spawn(state.stream(req, res)); [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | _s.close().await; [INFO] [stdout] 161 | | }) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `h2x` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "1b0c1aad8df5e4e3662abe7762d566cd4029739e30a66316cd3e7a1b700ea530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b0c1aad8df5e4e3662abe7762d566cd4029739e30a66316cd3e7a1b700ea530", kill_on_drop: false }` [INFO] [stdout] 1b0c1aad8df5e4e3662abe7762d566cd4029739e30a66316cd3e7a1b700ea530