[INFO] fetching crate runfile 0.1.1... [INFO] checking runfile-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate runfile 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate runfile 0.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-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate runfile 0.1.1 [INFO] finished tweaking crates.io crate runfile 0.1.1 [INFO] tweaked toml for crates.io crate runfile 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate runfile 0.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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df96e3e83e427d203cc03c320a2be176ccb578614e04470e634056b7459f4bb0 [INFO] running `Command { std: "docker" "start" "-a" "df96e3e83e427d203cc03c320a2be176ccb578614e04470e634056b7459f4bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df96e3e83e427d203cc03c320a2be176ccb578614e04470e634056b7459f4bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df96e3e83e427d203cc03c320a2be176ccb578614e04470e634056b7459f4bb0", kill_on_drop: false }` [INFO] [stdout] df96e3e83e427d203cc03c320a2be176ccb578614e04470e634056b7459f4bb0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0ab6de19f9092956468a99771234a54cc18edcc4d3f89fa50904d452e0ce95 [INFO] running `Command { std: "docker" "start" "-a" "fd0ab6de19f9092956468a99771234a54cc18edcc4d3f89fa50904d452e0ce95", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling peg-runtime v0.8.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking xxhash-rust v0.8.8 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking app_dirs2 v2.5.5 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking ariadne v0.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling peg-macros v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking read_pipe v0.1.2 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking clap_complete v4.4.10 [INFO] [stderr] Checking peg v0.8.2 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking which v6.0.0 [INFO] [stderr] Checking yansi v1.0.0-rc.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Checking runfile v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/clap.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | clap::Command::new("run") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | .args([ [INFO] [stdout] 64 | arg!(-h --help "Prints help information"), [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | arg!(-c --commands "Prints available commands in the runfile"), [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | arg!(-f --file "Runs the specified file instead of searching for a runfile"), [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] | 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/clap.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | clap::Command::new("run") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | .args([ [INFO] [stdout] 64 | arg!(-h --help "Prints help information"), [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | arg!(-c --commands "Prints available commands in the runfile"), [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | arg!(-f --file "Runs the specified file instead of searching for a runfile"), [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] | 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 203 | let ac = aho_corasick::AhoCorasick::builder() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | ac.replace_all(&script, &replace_with.collect::>()) [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 `Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/command.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 203 | let ac = aho_corasick::AhoCorasick::builder() [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | ac.replace_all(&script, &replace_with.collect::>()) [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] warning: trait `Check` is never used [INFO] [stdout] --> src/utils.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait Check { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bye`, `byefmt`, `bye_and`, and `check` are never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Goodbye [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn bye(self, msg: impl AsRef) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn byefmt>(self, msg: impl Fn() -> S) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn bye_and(self, and: impl FnOnce()) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn check(self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drop_and` is never used [INFO] [stdout] --> src/utils.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait OptionExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 82 | fn drop_and(self, and: U) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolExt` is never used [INFO] [stdout] --> src/utils.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | pub trait BoolExt: Check<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Check` is never used [INFO] [stdout] --> src/utils.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) trait Check { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bye`, `byefmt`, `bye_and`, and `check` are never used [INFO] [stdout] --> src/utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Goodbye [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn bye(self, msg: impl AsRef) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn byefmt>(self, msg: impl Fn() -> S) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn bye_and(self, and: impl FnOnce()) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn check(self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drop_and` is never used [INFO] [stdout] --> src/utils.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait OptionExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 82 | fn drop_and(self, and: U) -> Option; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolExt` is never used [INFO] [stdout] --> src/utils.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | pub trait BoolExt: Check<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `runfile` (bin "run" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `runfile` (bin "run") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd0ab6de19f9092956468a99771234a54cc18edcc4d3f89fa50904d452e0ce95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0ab6de19f9092956468a99771234a54cc18edcc4d3f89fa50904d452e0ce95", kill_on_drop: false }` [INFO] [stdout] fd0ab6de19f9092956468a99771234a54cc18edcc4d3f89fa50904d452e0ce95