[INFO] fetching crate tokio-tungstenite 0.23.1... [INFO] checking tokio-tungstenite-0.23.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tokio-tungstenite 0.23.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate tokio-tungstenite 0.23.1 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 tokio-tungstenite 0.23.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tokio-tungstenite 0.23.1 [INFO] tweaked toml for crates.io crate tokio-tungstenite 0.23.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate tokio-tungstenite 0.23.1 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] eaa6e0a43f9b46bec94f453e3dee740739e5c5b87e3f3df30146896ab0c4b6e1 [INFO] running `Command { std: "docker" "start" "-a" "eaa6e0a43f9b46bec94f453e3dee740739e5c5b87e3f3df30146896ab0c4b6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaa6e0a43f9b46bec94f453e3dee740739e5c5b87e3f3df30146896ab0c4b6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa6e0a43f9b46bec94f453e3dee740739e5c5b87e3f3df30146896ab0c4b6e1", kill_on_drop: false }` [INFO] [stdout] eaa6e0a43f9b46bec94f453e3dee740739e5c5b87e3f3df30146896ab0c4b6e1 [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] 04248d4b85a0676c979b1adc54a2027afc0361a2422e34bc7b2b6e87324f2812 [INFO] running `Command { std: "docker" "start" "-a" "04248d4b85a0676c979b1adc54a2027afc0361a2422e34bc7b2b6e87324f2812", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking data-encoding v2.3.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 (/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/lib.rs:334:75 [INFO] [stdout] | [INFO] [stdout] 334 | (*self).with_context(Some((ContextWaker::Write, cx)), |s| cvt(s.flush())).map(|r| { [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/lib.rs:362:71 [INFO] [stdout] | [INFO] [stdout] 362 | (*self).with_context(Some((ContextWaker::Write, cx)), |s| cvt(s.flush())).map(|r| { [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/handshake.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 49 | let inner = self.get_mut().0.take().expect("future polled after completion"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | trace!("Setting context when skipping handshake"); [INFO] [stdout] 51 | let stream = AllowStd::new(inner.stream, ctx.waker()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Poll::Ready((inner.f)(stream)) [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/handshake.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 143 | let inner = self.0.take().expect("future polled after completion"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | trace!("Setting ctx when starting handshake"); [INFO] [stdout] 145 | let stream = AllowStd::new(inner.stream, ctx.waker()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | [INFO] [stdout] 147 | match (inner.f)(stream) { [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/handshake.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut s = self.as_mut().0.take().expect("future polled after completion"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | match s.handshake() { [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-tungstenite` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "04248d4b85a0676c979b1adc54a2027afc0361a2422e34bc7b2b6e87324f2812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04248d4b85a0676c979b1adc54a2027afc0361a2422e34bc7b2b6e87324f2812", kill_on_drop: false }` [INFO] [stdout] 04248d4b85a0676c979b1adc54a2027afc0361a2422e34bc7b2b6e87324f2812