[INFO] updating cached repository https://github.com/HenryMarkle/mep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa453a8c476c3bfd036d896fd6ef881097fcf22c [INFO] checking HenryMarkle/mep/aa453a8c476c3bfd036d896fd6ef881097fcf22c against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenryMarkle%2Fmep" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HenryMarkle/mep 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 git repo https://github.com/HenryMarkle/mep [INFO] finished tweaking git repo https://github.com/HenryMarkle/mep [INFO] tweaked toml for git repo https://github.com/HenryMarkle/mep written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HenryMarkle/mep 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4178c410ed3f599daac879c185c056f61ec2f6597fd3e0f9eddfcef74111594f [INFO] running `Command { std: "docker" "start" "-a" "4178c410ed3f599daac879c185c056f61ec2f6597fd3e0f9eddfcef74111594f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4178c410ed3f599daac879c185c056f61ec2f6597fd3e0f9eddfcef74111594f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4178c410ed3f599daac879c185c056f61ec2f6597fd3e0f9eddfcef74111594f", kill_on_drop: false }` [INFO] [stdout] 4178c410ed3f599daac879c185c056f61ec2f6597fd3e0f9eddfcef74111594f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c477d2a1f2cd99b718595967ca89b35542e7f45f468dc3e9719dbba09c1ff8a7 [INFO] running `Command { std: "docker" "start" "-a" "c477d2a1f2cd99b718595967ca89b35542e7f45f468dc3e9719dbba09c1ff8a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking mp v0.1.0 (/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/ast.rs:1814:8 [INFO] [stdout] | [INFO] [stdout] 712 | let mut parse_res: Result<_, _> = Err(ExpressionParseError::EmptyTokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1532 | let (parsed, reached) = parse_res.unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1533 | begin = reached; [INFO] [stdout] 1534 | let mut subtree = parsed; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1814 | Ok((subtree, begin)) [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/ast.rs:2259:9 [INFO] [stdout] | [INFO] [stdout] 2218 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2259 | / ( [INFO] [stdout] 2260 | | statements.into(), [INFO] [stdout] 2261 | | next [INFO] [stdout] 2262 | | ) [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/ast.rs:3389:9 [INFO] [stdout] | [INFO] [stdout] 3356 | let (condition, reached) = parse_repeat_header(tokens, next)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3386 | let (block, reached) = parse_repeat_statement_block(tokens, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3389 | / ( [INFO] [stdout] 3390 | | RepeatStatement { [INFO] [stdout] 3391 | | condition, [INFO] [stdout] 3392 | | block [INFO] [stdout] ... | [INFO] [stdout] 3395 | | reached [INFO] [stdout] 3396 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ast.rs:3565:9 [INFO] [stdout] | [INFO] [stdout] 3562 | let (block, reached) = parse_function_block(tokens, next, name.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3565 | / ( [INFO] [stdout] 3566 | | Function { [INFO] [stdout] 3567 | | name, [INFO] [stdout] 3568 | | parameters: parameters.into(), [INFO] [stdout] ... | [INFO] [stdout] 3572 | | reached [INFO] [stdout] 3573 | | ) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/ast.rs:3652:8 [INFO] [stdout] | [INFO] [stdout] 3578 | pub fn parse_script>(tokens: T) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3597 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3652 | Ok(Script { [INFO] [stdout] | ________^ [INFO] [stdout] 3653 | | functions: functions.into(), [INFO] [stdout] 3654 | | globals: globals.into(), [INFO] [stdout] 3655 | | properties: properties.into() [INFO] [stdout] 3656 | | }) [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 `mp` (lib) due to 6 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/ast.rs:1814:8 [INFO] [stdout] | [INFO] [stdout] 712 | let mut parse_res: Result<_, _> = Err(ExpressionParseError::EmptyTokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1532 | let (parsed, reached) = parse_res.unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1533 | begin = reached; [INFO] [stdout] 1534 | let mut subtree = parsed; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1814 | Ok((subtree, begin)) [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/ast.rs:2259:9 [INFO] [stdout] | [INFO] [stdout] 2218 | let mut statements = vec![]; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2259 | / ( [INFO] [stdout] 2260 | | statements.into(), [INFO] [stdout] 2261 | | next [INFO] [stdout] 2262 | | ) [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/ast.rs:3389:9 [INFO] [stdout] | [INFO] [stdout] 3356 | let (condition, reached) = parse_repeat_header(tokens, next)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3386 | let (block, reached) = parse_repeat_statement_block(tokens, next)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3389 | / ( [INFO] [stdout] 3390 | | RepeatStatement { [INFO] [stdout] 3391 | | condition, [INFO] [stdout] 3392 | | block [INFO] [stdout] ... | [INFO] [stdout] 3395 | | reached [INFO] [stdout] 3396 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ast.rs:3565:9 [INFO] [stdout] | [INFO] [stdout] 3562 | let (block, reached) = parse_function_block(tokens, next, name.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3565 | / ( [INFO] [stdout] 3566 | | Function { [INFO] [stdout] 3567 | | name, [INFO] [stdout] 3568 | | parameters: parameters.into(), [INFO] [stdout] ... | [INFO] [stdout] 3572 | | reached [INFO] [stdout] 3573 | | ) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/ast.rs:3652:8 [INFO] [stdout] | [INFO] [stdout] 3578 | pub fn parse_script>(tokens: T) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3597 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3652 | Ok(Script { [INFO] [stdout] | ________^ [INFO] [stdout] 3653 | | functions: functions.into(), [INFO] [stdout] 3654 | | globals: globals.into(), [INFO] [stdout] 3655 | | properties: properties.into() [INFO] [stdout] 3656 | | }) [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/tests.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | .filter(|e| e.file_type().unwrap().is_file()) [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/tests.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 18 | .map(|e| (e.file_name().to_string_lossy().into_owned(), fs::read_to_string(e.path()))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mp` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c477d2a1f2cd99b718595967ca89b35542e7f45f468dc3e9719dbba09c1ff8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c477d2a1f2cd99b718595967ca89b35542e7f45f468dc3e9719dbba09c1ff8a7", kill_on_drop: false }` [INFO] [stdout] c477d2a1f2cd99b718595967ca89b35542e7f45f468dc3e9719dbba09c1ff8a7