[INFO] cloning repository https://github.com/PurpleMyst/rdotdot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PurpleMyst/rdotdot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPurpleMyst%2Frdotdot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPurpleMyst%2Frdotdot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7f61abb8cfbc794c83f5b47cbc234fb9cec0269 [INFO] checking PurpleMyst/rdotdot/f7f61abb8cfbc794c83f5b47cbc234fb9cec0269 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%2FPurpleMyst%2Frdotdot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PurpleMyst/rdotdot 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/PurpleMyst/rdotdot [INFO] finished tweaking git repo https://github.com/PurpleMyst/rdotdot [INFO] tweaked toml for git repo https://github.com/PurpleMyst/rdotdot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PurpleMyst/rdotdot 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2560eaa9de3b57ec30357d984138543b73de01bc2d496d97390a2da7b6a61837 [INFO] running `Command { std: "docker" "start" "-a" "2560eaa9de3b57ec30357d984138543b73de01bc2d496d97390a2da7b6a61837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2560eaa9de3b57ec30357d984138543b73de01bc2d496d97390a2da7b6a61837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2560eaa9de3b57ec30357d984138543b73de01bc2d496d97390a2da7b6a61837", kill_on_drop: false }` [INFO] [stdout] 2560eaa9de3b57ec30357d984138543b73de01bc2d496d97390a2da7b6a61837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 137acff3dcf2035859f815a21fb4f8b53efa477261d4764d2ed3178c8387424a [INFO] running `Command { std: "docker" "start" "-a" "137acff3dcf2035859f815a21fb4f8b53efa477261d4764d2ed3178c8387424a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking rpds v0.5.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking rdotdot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `bare_trait_object` has been renamed to `bare_trait_objects` [INFO] [stdout] --> src/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | anonymous_parameters, bare_trait_object, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use the new name: `bare_trait_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `bare_trait_object` has been renamed to `bare_trait_objects` [INFO] [stdout] --> src/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | anonymous_parameters, bare_trait_object, missing_copy_implementations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use the new name: `bare_trait_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | Ok((mut tokens, rhs)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct ParsingError(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParsingError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/parser.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 161 | mut tokens: List, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let func = Box::new(result.remove(0)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | [INFO] [stdout] 240 | Ok((tokens, AstNode::FunctionCall { func, args: result })) [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/parser.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 395 | fn statement(tokens: List) -> Result<(List, AstNode), (List, ParsingError)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | / var_declaration(tokens) [INFO] [stdout] 441 | | .or_else(|(tokens, _)| assignment(tokens)) [INFO] [stdout] 442 | | .or_else(|(tokens, _)| function_call(tokens)) [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/parser.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 395 | fn statement(tokens: List) -> Result<(List, AstNode), (List, ParsingError)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | .and_then(|(mut tokens, value)| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 444 | | if tokens.first() != Some(&Token::Semicolon) { [INFO] [stdout] 445 | | return Err((original_tokens, ParsingError::from("Expected a semicolon."))); [INFO] [stdout] 446 | | } [INFO] [stdout] ... | [INFO] [stdout] 449 | | Ok((tokens, value)) [INFO] [stdout] 450 | | }) [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/parser.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 423 | let assignment = |tokens: List| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [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/parser.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 423 | let assignment = |tokens: List| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 427 | | if tokens.first() == Some(&Token::Equals) { [INFO] [stdout] 428 | | assert!(tokens.drop_first_mut()); [INFO] [stdout] 429 | | expression(tokens) [INFO] [stdout] ... | [INFO] [stdout] 436 | | } [INFO] [stdout] 437 | | }) [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/parser.rs:431:34 [INFO] [stdout] | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | .map(|(tokens, rhs)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | (tokens, AstNode::Assignment(Box::new(lhs), Box::new(rhs))) [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/parser.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | .and_then(|(mut tokens, value)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | Ok((tokens, value)) [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 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdotdot` (bin "rdotdot" test) due to 8 previous errors; 3 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | Ok((mut tokens, rhs)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct ParsingError(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParsingError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/parser.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 161 | mut tokens: List, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let func = Box::new(result.remove(0)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | [INFO] [stdout] 240 | Ok((tokens, AstNode::FunctionCall { func, args: result })) [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/parser.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 395 | fn statement(tokens: List) -> Result<(List, AstNode), (List, ParsingError)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | / var_declaration(tokens) [INFO] [stdout] 441 | | .or_else(|(tokens, _)| assignment(tokens)) [INFO] [stdout] 442 | | .or_else(|(tokens, _)| function_call(tokens)) [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/parser.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 395 | fn statement(tokens: List) -> Result<(List, AstNode), (List, ParsingError)> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | .and_then(|(mut tokens, value)| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 444 | | if tokens.first() != Some(&Token::Semicolon) { [INFO] [stdout] 445 | | return Err((original_tokens, ParsingError::from("Expected a semicolon."))); [INFO] [stdout] 446 | | } [INFO] [stdout] ... | [INFO] [stdout] 449 | | Ok((tokens, value)) [INFO] [stdout] 450 | | }) [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/parser.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 423 | let assignment = |tokens: List| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [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/parser.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 423 | let assignment = |tokens: List| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 424 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 427 | | if tokens.first() == Some(&Token::Equals) { [INFO] [stdout] 428 | | assert!(tokens.drop_first_mut()); [INFO] [stdout] 429 | | expression(tokens) [INFO] [stdout] ... | [INFO] [stdout] 436 | | } [INFO] [stdout] 437 | | }) [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/parser.rs:431:34 [INFO] [stdout] | [INFO] [stdout] 426 | expression(tokens).and_then(|(mut tokens, lhs)| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | .map(|(tokens, rhs)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | (tokens, AstNode::Assignment(Box::new(lhs), Box::new(rhs))) [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/parser.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 396 | let original_tokens = tokens.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | .and_then(|(mut tokens, value)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | Ok((tokens, value)) [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 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rdotdot` (bin "rdotdot") due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "137acff3dcf2035859f815a21fb4f8b53efa477261d4764d2ed3178c8387424a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137acff3dcf2035859f815a21fb4f8b53efa477261d4764d2ed3178c8387424a", kill_on_drop: false }` [INFO] [stdout] 137acff3dcf2035859f815a21fb4f8b53efa477261d4764d2ed3178c8387424a