[INFO] fetching crate next-butler 1.0.1... [INFO] checking next-butler-1.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate next-butler 1.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate next-butler 1.0.1 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 crates.io crate next-butler 1.0.1 [INFO] finished tweaking crates.io crate next-butler 1.0.1 [INFO] tweaked toml for crates.io crate next-butler 1.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate next-butler 1.0.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] d55e1b1c8df8f578c51648060814bdf26de35b316a244f0a77de414630622b44 [INFO] running `Command { std: "docker" "start" "-a" "d55e1b1c8df8f578c51648060814bdf26de35b316a244f0a77de414630622b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d55e1b1c8df8f578c51648060814bdf26de35b316a244f0a77de414630622b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55e1b1c8df8f578c51648060814bdf26de35b316a244f0a77de414630622b44", kill_on_drop: false }` [INFO] [stdout] d55e1b1c8df8f578c51648060814bdf26de35b316a244f0a77de414630622b44 [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] be207fe1068106325e2fbc14f188c2b2302283394e16918a104efa6ba169b43e [INFO] running `Command { std: "docker" "start" "-a" "be207fe1068106325e2fbc14f188c2b2302283394e16918a104efa6ba169b43e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking assert_cmd v2.0.13 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking next-butler v1.0.1 (/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/commands/new_command/new_comp/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | app.subcommand( [INFO] [stdout] 13 | / Command::new("component") [INFO] [stdout] 14 | | .about("Create a new component file, inside /components/") [INFO] [stdout] 15 | | .arg(Arg::new("component_path").required(true).help( [INFO] [stdout] 16 | | "The name of the component file. You can \ [INFO] [stdout] ... | [INFO] [stdout] 61 | | .long("template"), [INFO] [stdout] 62 | | ), [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/commands/new_command/new_page/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | app.subcommand( [INFO] [stdout] 13 | / Command::new("page") [INFO] [stdout] 14 | | .about("Create a new page file, inside /pages/") [INFO] [stdout] 15 | | .arg( [INFO] [stdout] 16 | | Arg::new("page_path") [INFO] [stdout] ... | [INFO] [stdout] 71 | | .action(ArgAction::SetTrue), [INFO] [stdout] 72 | | ), [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/commands/new_command/new_style/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | app.subcommand( [INFO] [stdout] 15 | / Command::new("style") [INFO] [stdout] 16 | | .about("Create a new stylesheet, inside /styles/") [INFO] [stdout] 17 | | .arg(Arg::new("style_name").required(true).help( [INFO] [stdout] 18 | | "The name of the stylesheet. You can \ [INFO] [stdout] ... | [INFO] [stdout] 35 | | .long("template"), [INFO] [stdout] 36 | | ), [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/helpers/file_helper.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn rm_file_by_stem(file_path: impl AsRef) -> Result<(), String> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | fs::remove_file(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/template/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 158 | let mut handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let file = File::create_new(new_file_path).map_err(|err| format!("Error creating file: {}", err))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | / handlebars [INFO] [stdout] 178 | | .render_to_write("template", &template_vars, &file) [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/commands/new_command/new_comp/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | app.subcommand( [INFO] [stdout] 13 | / Command::new("component") [INFO] [stdout] 14 | | .about("Create a new component file, inside /components/") [INFO] [stdout] 15 | | .arg(Arg::new("component_path").required(true).help( [INFO] [stdout] 16 | | "The name of the component file. You can \ [INFO] [stdout] ... | [INFO] [stdout] 61 | | .long("template"), [INFO] [stdout] 62 | | ), [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/commands/new_command/new_page/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | app.subcommand( [INFO] [stdout] 13 | / Command::new("page") [INFO] [stdout] 14 | | .about("Create a new page file, inside /pages/") [INFO] [stdout] 15 | | .arg( [INFO] [stdout] 16 | | Arg::new("page_path") [INFO] [stdout] ... | [INFO] [stdout] 71 | | .action(ArgAction::SetTrue), [INFO] [stdout] 72 | | ), [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/commands/new_command/new_style/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn set_subcommand(app: Command) -> Command { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | app.subcommand( [INFO] [stdout] 15 | / Command::new("style") [INFO] [stdout] 16 | | .about("Create a new stylesheet, inside /styles/") [INFO] [stdout] 17 | | .arg(Arg::new("style_name").required(true).help( [INFO] [stdout] 18 | | "The name of the stylesheet. You can \ [INFO] [stdout] ... | [INFO] [stdout] 35 | | .long("template"), [INFO] [stdout] 36 | | ), [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/helpers/file_helper.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn rm_file_by_stem(file_path: impl AsRef) -> Result<(), String> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | fs::remove_file(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/template/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 158 | let mut handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let file = File::create_new(new_file_path).map_err(|err| format!("Error creating file: {}", err))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | / handlebars [INFO] [stdout] 178 | | .render_to_write("template", &template_vars, &file) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `next-butler` (lib test) due to 6 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `next-butler` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "be207fe1068106325e2fbc14f188c2b2302283394e16918a104efa6ba169b43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be207fe1068106325e2fbc14f188c2b2302283394e16918a104efa6ba169b43e", kill_on_drop: false }` [INFO] [stdout] be207fe1068106325e2fbc14f188c2b2302283394e16918a104efa6ba169b43e