[INFO] cloning repository https://github.com/dbsxdbsx/trait_variable [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbsxdbsx/trait_variable" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbsxdbsx%2Ftrait_variable", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbsxdbsx%2Ftrait_variable'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 153e067b49a33dc1ddb83fd52f15f1ad09c8777a [INFO] checking dbsxdbsx/trait_variable/153e067b49a33dc1ddb83fd52f15f1ad09c8777a 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%2Fdbsxdbsx%2Ftrait_variable" "/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/dbsxdbsx/trait_variable 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/dbsxdbsx/trait_variable [INFO] finished tweaking git repo https://github.com/dbsxdbsx/trait_variable [INFO] tweaked toml for git repo https://github.com/dbsxdbsx/trait_variable written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding derive-syn-parse v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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] f56193d8cb91ab49b8e330a4a9685895a7049d1008821e778c11da8719758949 [INFO] running `Command { std: "docker" "start" "-a" "f56193d8cb91ab49b8e330a4a9685895a7049d1008821e778c11da8719758949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f56193d8cb91ab49b8e330a4a9685895a7049d1008821e778c11da8719758949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56193d8cb91ab49b8e330a4a9685895a7049d1008821e778c11da8719758949", kill_on_drop: false }` [INFO] [stdout] f56193d8cb91ab49b8e330a4a9685895a7049d1008821e778c11da8719758949 [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] 3da13f00cac1506c71e40ecd38dbb356d4b074a04f6c4091a7e0693efd3dd5a1 [INFO] running `Command { std: "docker" "start" "-a" "3da13f00cac1506c71e40ecd38dbb356d4b074a04f6c4091a7e0693efd3dd5a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro_state_macros v0.2.0 [INFO] [stderr] Compiling macro_state v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking trait_variable v0.7.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/lib.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 94 | let var_vis: Visibility = input.parse().expect("Failed to Parse to `var_vis`"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let var_name: Ident = input.parse().expect("Failed to Parse to `var_name`"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let _: Token![:] = input.parse().expect("Failed to Parse to `:`"); [INFO] [stdout] 97 | let type_name: Type = input.parse().expect("Failed to Parse to `type_name`"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(TraitVarField { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | var_vis, [INFO] [stdout] 107 | | var_name, [INFO] [stdout] 108 | | type_name, [INFO] [stdout] 109 | | type_generics, [INFO] [stdout] 110 | | }) [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/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 148 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | [INFO] [stdout] 150 | Ok(TraitInput { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | trait_vis: input.parse()?, [INFO] [stdout] 152 | | _trait_token: input.parse()?, [INFO] [stdout] 153 | | trait_name: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 199 | | }, [INFO] [stdout] 200 | | }) [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/lib.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 406 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | Ok(AttrArgs(ident)) [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] [stderr] error: could not compile `trait_variable` (lib) due to 6 previous errors [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/trait_item.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn refine_trait_items(trait_items: Vec) -> Vec { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / trait_items [INFO] [stdout] 13 | | .into_iter() [INFO] [stdout] 14 | | .map(|item| { [INFO] [stdout] 15 | | match item { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | }) [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] [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/trait_utils.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_assignment_expr(expr: MyAssignExpr, is_method_mut: bool) -> Expr { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | syn::parse_str(&new_expr_str).expect("Failed to parse to expr in fn `parse_assignment_expr`") [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] [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/lib.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 94 | let var_vis: Visibility = input.parse().expect("Failed to Parse to `var_vis`"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let var_name: Ident = input.parse().expect("Failed to Parse to `var_name`"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | let _: Token![:] = input.parse().expect("Failed to Parse to `:`"); [INFO] [stdout] 97 | let type_name: Type = input.parse().expect("Failed to Parse to `type_name`"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(TraitVarField { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | var_vis, [INFO] [stdout] 107 | | var_name, [INFO] [stdout] 108 | | type_name, [INFO] [stdout] 109 | | type_generics, [INFO] [stdout] 110 | | }) [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/lib.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 148 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | [INFO] [stdout] 150 | Ok(TraitInput { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | trait_vis: input.parse()?, [INFO] [stdout] 152 | | _trait_token: input.parse()?, [INFO] [stdout] 153 | | trait_name: input.parse()?, [INFO] [stdout] ... | [INFO] [stdout] 199 | | }, [INFO] [stdout] 200 | | }) [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/lib.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 406 | let ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | Ok(AttrArgs(ident)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trait_item.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn refine_trait_items(trait_items: Vec) -> Vec { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | / trait_items [INFO] [stdout] 13 | | .into_iter() [INFO] [stdout] 14 | | .map(|item| { [INFO] [stdout] 15 | | match item { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | }) [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/trait_utils.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse_assignment_expr(expr: MyAssignExpr, is_method_mut: bool) -> Expr { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | syn::parse_str(&new_expr_str).expect("Failed to parse to expr in fn `parse_assignment_expr`") [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 `trait_variable` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "3da13f00cac1506c71e40ecd38dbb356d4b074a04f6c4091a7e0693efd3dd5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da13f00cac1506c71e40ecd38dbb356d4b074a04f6c4091a7e0693efd3dd5a1", kill_on_drop: false }` [INFO] [stdout] 3da13f00cac1506c71e40ecd38dbb356d4b074a04f6c4091a7e0693efd3dd5a1