[INFO] fetching crate thru 0.1.5... [INFO] checking thru-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate thru 0.1.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate thru 0.1.5 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 thru 0.1.5 [INFO] finished tweaking crates.io crate thru 0.1.5 [INFO] tweaked toml for crates.io crate thru 0.1.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate thru 0.1.5 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 593a7c7c8b971234d5aada0692d2ec6f7d15e8b449cb0aa5e8182162ba10f247 [INFO] running `Command { std: "docker" "start" "-a" "593a7c7c8b971234d5aada0692d2ec6f7d15e8b449cb0aa5e8182162ba10f247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593a7c7c8b971234d5aada0692d2ec6f7d15e8b449cb0aa5e8182162ba10f247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593a7c7c8b971234d5aada0692d2ec6f7d15e8b449cb0aa5e8182162ba10f247", kill_on_drop: false }` [INFO] [stdout] 593a7c7c8b971234d5aada0692d2ec6f7d15e8b449cb0aa5e8182162ba10f247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 27e8ba2bf6ed40e91a8c5bf7858fb0bb87bc2deca5675ac6cc3e0c571cde9063 [INFO] running `Command { std: "docker" "start" "-a" "27e8ba2bf6ed40e91a8c5bf7858fb0bb87bc2deca5675ac6cc3e0c571cde9063", kill_on_drop: false }` [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.15.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking quinn-udp v0.5.0 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking sender-sink v0.2.1 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking rustls-platform-verifier v0.3.1 [INFO] [stderr] Checking quinn-proto v0.11.1 [INFO] [stderr] Checking quinn v0.11.0 [INFO] [stderr] Checking thru v0.1.5 (/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/transport/quic.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 102 | let mut stream = join(recv, send); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let copy_stream = copy_stream.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | tokio::spawn(async move { copy_stream.copy(&mut stream).await }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/tcp.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 43 | let (mut stream, _) = result?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let copy_stream = copy_stream.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | tokio::spawn(async move { [INFO] [stdout] 46 | copy_stream.copy(&mut stream).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/transport/udp.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 88 | copy_stream: CopyStream, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut stream = join(reader, writer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | tokio::spawn(async move { [INFO] [stdout] 114 | copy_stream.copy(&mut stream).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/util/idle_timeout_stream.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(inner: T, timeout: Duration) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | timer: Box::pin(sleep(timeout)), [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thru` (lib test) due to 5 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/transport/quic.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 102 | let mut stream = join(recv, send); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let copy_stream = copy_stream.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | tokio::spawn(async move { copy_stream.copy(&mut stream).await }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/tcp.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 43 | let (mut stream, _) = result?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let copy_stream = copy_stream.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | tokio::spawn(async move { [INFO] [stdout] 46 | copy_stream.copy(&mut stream).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/transport/udp.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 88 | copy_stream: CopyStream, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut stream = join(reader, writer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | tokio::spawn(async move { [INFO] [stdout] 114 | copy_stream.copy(&mut stream).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/util/idle_timeout_stream.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(inner: T, timeout: Duration) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | timer: Box::pin(sleep(timeout)), [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thru` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "27e8ba2bf6ed40e91a8c5bf7858fb0bb87bc2deca5675ac6cc3e0c571cde9063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e8ba2bf6ed40e91a8c5bf7858fb0bb87bc2deca5675ac6cc3e0c571cde9063", kill_on_drop: false }` [INFO] [stdout] 27e8ba2bf6ed40e91a8c5bf7858fb0bb87bc2deca5675ac6cc3e0c571cde9063