[INFO] fetching crate ripgrep 14.1.1... [INFO] checking ripgrep-14.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ripgrep 14.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ripgrep 14.1.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ripgrep 14.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ripgrep 14.1.1 [INFO] tweaked toml for crates.io crate ripgrep 14.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ripgrep 14.1.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f97c4aa1e6d2851a51a89f6383e72aa5c0946eb8e6375253d229bd488bd973b3 [INFO] running `Command { std: "docker" "start" "-a" "f97c4aa1e6d2851a51a89f6383e72aa5c0946eb8e6375253d229bd488bd973b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f97c4aa1e6d2851a51a89f6383e72aa5c0946eb8e6375253d229bd488bd973b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97c4aa1e6d2851a51a89f6383e72aa5c0946eb8e6375253d229bd488bd973b3", kill_on_drop: false }` [INFO] [stdout] f97c4aa1e6d2851a51a89f6383e72aa5c0946eb8e6375253d229bd488bd973b3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f678ce67da11d492b462e8b1b4930cd3286e303e02583e31f30ada5e31ce97b4 [INFO] running `Command { std: "docker" "start" "-a" "f678ce67da11d492b462e8b1b4930cd3286e303e02583e31f30ada5e31ce97b4", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking grep-matcher v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ripgrep v14.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking lexopt v0.3.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking grep-searcher v0.1.14 [INFO] [stderr] Checking grep-regex v0.1.13 [INFO] [stderr] Checking grep-cli v0.1.11 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking grep-printer v0.2.2 [INFO] [stderr] Checking grep v0.3.2 [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] --> crates/core/flags/config.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 58 | path: P, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | match std::fs::File::open(&path) { [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` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/core/main.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | match run(flags::parse()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/core/messages.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let stdout = std::io::stdout().lock(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut stderr = std::io::stderr().lock(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ripgrep` (bin "rg") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> crates/core/flags/config.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 58 | path: P, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | match std::fs::File::open(&path) { [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 `E` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/util.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 422 | fn nice_err(path: &Path, res: Result) -> T { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | Err(err) => panic!("{}: {:?}", path.display(), err), [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` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/core/main.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | match run(flags::parse()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/core/messages.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let stdout = std::io::stdout().lock(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let mut stderr = std::io::stderr().lock(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ripgrep` (bin "rg" test) due to 3 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ripgrep` (test "integration") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f678ce67da11d492b462e8b1b4930cd3286e303e02583e31f30ada5e31ce97b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f678ce67da11d492b462e8b1b4930cd3286e303e02583e31f30ada5e31ce97b4", kill_on_drop: false }` [INFO] [stdout] f678ce67da11d492b462e8b1b4930cd3286e303e02583e31f30ada5e31ce97b4