[INFO] cloning repository https://github.com/Lucretiel/usefix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucretiel/usefix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucretiel%2Fusefix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucretiel%2Fusefix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57ef0871a87e731afc6827aed659fb7eaf479599 [INFO] checking Lucretiel/usefix/57ef0871a87e731afc6827aed659fb7eaf479599 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%2FLucretiel%2Fusefix" "/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/Lucretiel/usefix 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/Lucretiel/usefix [INFO] finished tweaking git repo https://github.com/Lucretiel/usefix [INFO] tweaked toml for git repo https://github.com/Lucretiel/usefix written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lucretiel/usefix 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: unused manifest key: build [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] 36ce11e7c76e69b166614d00b5f3920604856a8c8cfc63ed3e29d70528da996d [INFO] running `Command { std: "docker" "start" "-a" "36ce11e7c76e69b166614d00b5f3920604856a8c8cfc63ed3e29d70528da996d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ce11e7c76e69b166614d00b5f3920604856a8c8cfc63ed3e29d70528da996d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ce11e7c76e69b166614d00b5f3920604856a8c8cfc63ed3e29d70528da996d", kill_on_drop: false }` [INFO] [stdout] 36ce11e7c76e69b166614d00b5f3920604856a8c8cfc63ed3e29d70528da996d [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] 34199d649e911bab98240c7c36df2e08a835a229000b264e16c18ca54ce269a4 [INFO] running `Command { std: "docker" "start" "-a" "34199d649e911bab98240c7c36df2e08a835a229000b264e16c18ca54ce269a4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking joinery v3.1.0 [INFO] [stderr] Checking lazy_format v2.0.3 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking usefix 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/main.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | .filter_map(|use_item| UseItem::from_syn_use_item(use_item).ok()) [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] = 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/gitfile.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 118 | fn from_chunks(chunks: impl IntoIterator>) -> Self { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | chunks: chunks [INFO] [stdout] | _____________________^ [INFO] [stdout] 123 | | .into_iter() [INFO] [stdout] 124 | | .map(|chunk| chunk.with_line_number(&mut line_number)) [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/pretty.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|thread| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | / thread [INFO] [stdout] 54 | | .join() [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/pretty.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 71 | let mut command = Command::new(command_name) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut stdin = command [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | thread::scope(move |scope| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 91 | | // stdin thread [INFO] [stdout] 92 | | let stdin_thread = scope.spawn(move || stdin.write_all(formatted_use_items.as_bytes())); [INFO] [stdout] ... | [INFO] [stdout] 125 | | }) [INFO] [stdout] 126 | | }) [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/pretty.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut command = Command::new(command_name) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut stdin = command [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let stdin_thread = scope.spawn(move || stdin.write_all(formatted_use_items.as_bytes())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let stdout_thread = scope.spawn(move || { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | / stdout_thread [INFO] [stdout] 121 | | .join() [INFO] [stdout] 122 | | .unwrap_or_else(|panic| panic::resume_unwind(panic)) [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/pretty.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | stdout.read_to_end(&mut output).map(move |_| { [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/printable.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 156 | let items = self.items(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | match items.exactly_one() { [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/tree.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn from_syn_use_item(item: syn::ItemUse) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let visibility = Visibility::from_syn_vis(item.vis)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | [INFO] [stdout] 301 | let mut children = HashMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 312 | | docs: DocsList(docs), [INFO] [stdout] 313 | | configs: ConfigsList(configs), [INFO] [stdout] 314 | | visibility, [INFO] [stdout] 315 | | children, [INFO] [stdout] 316 | | span, [INFO] [stdout] 317 | | }) [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/write_file.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn map_lines(self, mut f: impl FnMut(I) -> T) -> PrintableConflict<'a, T, T> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | PrintableConflict { [INFO] [stdout] 13 | left: PrintableConflictHalf { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | name: self.left.name, [INFO] [stdout] 15 | | lines: f(self.left.lines), [INFO] [stdout] 16 | | }, [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/write_file.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn map_lines(self, mut f: impl FnMut(I) -> T) -> PrintableConflict<'a, T, T> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | right: PrintableConflictHalf { [INFO] [stdout] | ____________________^ [INFO] [stdout] 18 | | name: self.right.name, [INFO] [stdout] 19 | | lines: f(self.right.lines), [INFO] [stdout] 20 | | }, [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/write_file.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 83 | lines: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / lines [INFO] [stdout] 90 | | .into_iter() [INFO] [stdout] 91 | | .filter(move |line| !discarded_lines.contains(&line.line_number)) [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/write_file.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 96 | lines: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | lines.into_iter().filter_map(move |line| { [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usefix` (bin "usefix") due to 13 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/main.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | .filter_map(|use_item| UseItem::from_syn_use_item(use_item).ok()) [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] = 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/gitfile.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 118 | fn from_chunks(chunks: impl IntoIterator>) -> Self { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | chunks: chunks [INFO] [stdout] | _____________________^ [INFO] [stdout] 123 | | .into_iter() [INFO] [stdout] 124 | | .map(|chunk| chunk.with_line_number(&mut line_number)) [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/pretty.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|thread| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | / thread [INFO] [stdout] 54 | | .join() [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/pretty.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 71 | let mut command = Command::new(command_name) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut stdin = command [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | thread::scope(move |scope| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 91 | | // stdin thread [INFO] [stdout] 92 | | let stdin_thread = scope.spawn(move || stdin.write_all(formatted_use_items.as_bytes())); [INFO] [stdout] ... | [INFO] [stdout] 125 | | }) [INFO] [stdout] 126 | | }) [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/pretty.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut command = Command::new(command_name) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | let mut stdin = command [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let stdin_thread = scope.spawn(move || stdin.write_all(formatted_use_items.as_bytes())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | let stdout_thread = scope.spawn(move || { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | / stdout_thread [INFO] [stdout] 121 | | .join() [INFO] [stdout] 122 | | .unwrap_or_else(|panic| panic::resume_unwind(panic)) [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/pretty.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut stdout = command [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | stdout.read_to_end(&mut output).map(move |_| { [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/printable.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 156 | let items = self.items(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | match items.exactly_one() { [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/tree.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn from_syn_use_item(item: syn::ItemUse) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let visibility = Visibility::from_syn_vis(item.vis)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | [INFO] [stdout] 301 | let mut children = HashMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 312 | | docs: DocsList(docs), [INFO] [stdout] 313 | | configs: ConfigsList(configs), [INFO] [stdout] 314 | | visibility, [INFO] [stdout] 315 | | children, [INFO] [stdout] 316 | | span, [INFO] [stdout] 317 | | }) [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/write_file.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn map_lines(self, mut f: impl FnMut(I) -> T) -> PrintableConflict<'a, T, T> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | PrintableConflict { [INFO] [stdout] 13 | left: PrintableConflictHalf { [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | name: self.left.name, [INFO] [stdout] 15 | | lines: f(self.left.lines), [INFO] [stdout] 16 | | }, [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/write_file.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn map_lines(self, mut f: impl FnMut(I) -> T) -> PrintableConflict<'a, T, T> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | right: PrintableConflictHalf { [INFO] [stdout] | ____________________^ [INFO] [stdout] 18 | | name: self.right.name, [INFO] [stdout] 19 | | lines: f(self.right.lines), [INFO] [stdout] 20 | | }, [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/write_file.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 83 | lines: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | / lines [INFO] [stdout] 90 | | .into_iter() [INFO] [stdout] 91 | | .filter(move |line| !discarded_lines.contains(&line.line_number)) [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/write_file.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 96 | lines: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | lines.into_iter().filter_map(move |line| { [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usefix` (bin "usefix" test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "34199d649e911bab98240c7c36df2e08a835a229000b264e16c18ca54ce269a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34199d649e911bab98240c7c36df2e08a835a229000b264e16c18ca54ce269a4", kill_on_drop: false }` [INFO] [stdout] 34199d649e911bab98240c7c36df2e08a835a229000b264e16c18ca54ce269a4