[INFO] fetching crate rsweb 0.9.12... [INFO] checking rsweb-0.9.12 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate rsweb 0.9.12 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rsweb 0.9.12 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsweb 0.9.12 [INFO] finished tweaking crates.io crate rsweb 0.9.12 [INFO] tweaked toml for crates.io crate rsweb 0.9.12 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rsweb 0.9.12 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8c15499b49caf1c01ed8e887401f1e148d450c610b152fc7f2e6fa7fe4a5556 [INFO] running `Command { std: "docker" "start" "-a" "a8c15499b49caf1c01ed8e887401f1e148d450c610b152fc7f2e6fa7fe4a5556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8c15499b49caf1c01ed8e887401f1e148d450c610b152fc7f2e6fa7fe4a5556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c15499b49caf1c01ed8e887401f1e148d450c610b152fc7f2e6fa7fe4a5556", kill_on_drop: false }` [INFO] [stdout] a8c15499b49caf1c01ed8e887401f1e148d450c610b152fc7f2e6fa7fe4a5556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f2949742f7f24906685cb44a68baddb8756fe01c735b54c0f29de8c9582a4a8 [INFO] running `Command { std: "docker" "start" "-a" "1f2949742f7f24906685cb44a68baddb8756fe01c735b54c0f29de8c9582a4a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking wildmatch v2.1.0 [INFO] [stderr] Checking btui v0.6.12 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking brotli v3.3.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking rsweb v0.9.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated tuple variant `http::MimeType::Other`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | MimeType::Other(n) => n.to_string(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `http::MimeType::Wildcard`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `http::MimeType::Other`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | MimeType::Other(n) => n.to_string(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `http::MimeType::Wildcard`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Other::0`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | MimeType::Other(n) => n.to_string(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Wildcard::0`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Wildcard::1`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Other::0`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | MimeType::Other(n) => n.to_string(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Wildcard::0`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `http::MimeType::Wildcard::1`: use `Custom` instead [INFO] [stdout] --> src/http/mod.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | MimeType::Wildcard(l, r) => format!("{}/{}", l, r), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 178 | let mut f = match OpenOptions::new().read(true).open(p.to_str().unwrap()) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | match f.read_to_string(&mut buf) { [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: this value of type `Result<(), std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 93 | let mut logging = log::Logger::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | match stream.shutdown(std::net::Shutdown::Both) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ssl.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 130 | let mut logging = log::Logger::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut stream = match acceptor.accept(stream) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | match stream.shutdown() { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 178 | let mut f = match OpenOptions::new().read(true).open(p.to_str().unwrap()) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | match f.read_to_string(&mut buf) { [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: this value of type `Result<(), std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 93 | let mut logging = log::Logger::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | match stream.shutdown(std::net::Shutdown::Both) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ssl.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 130 | let mut logging = log::Logger::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | let mut stream = match acceptor.accept(stream) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | match stream.shutdown() { [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 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsweb` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsweb` (lib) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f2949742f7f24906685cb44a68baddb8756fe01c735b54c0f29de8c9582a4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2949742f7f24906685cb44a68baddb8756fe01c735b54c0f29de8c9582a4a8", kill_on_drop: false }` [INFO] [stdout] 1f2949742f7f24906685cb44a68baddb8756fe01c735b54c0f29de8c9582a4a8