[INFO] cloning repository https://github.com/berserkenthusiastabishek/rtools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/berserkenthusiastabishek/rtools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberserkenthusiastabishek%2Frtools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberserkenthusiastabishek%2Frtools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9109b6f0de571b61588a8a5516623718c1b91ec5 [INFO] checking berserkenthusiastabishek/rtools/9109b6f0de571b61588a8a5516623718c1b91ec5 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%2Fberserkenthusiastabishek%2Frtools" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/berserkenthusiastabishek/rtools 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/berserkenthusiastabishek/rtools [INFO] finished tweaking git repo https://github.com/berserkenthusiastabishek/rtools [INFO] tweaked toml for git repo https://github.com/berserkenthusiastabishek/rtools written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/berserkenthusiastabishek/rtools 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cdf8ef1c20d47150c3651f9fdcdfd8078943690f496d95eaf026799187b81d5f [INFO] running `Command { std: "docker" "start" "-a" "cdf8ef1c20d47150c3651f9fdcdfd8078943690f496d95eaf026799187b81d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdf8ef1c20d47150c3651f9fdcdfd8078943690f496d95eaf026799187b81d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf8ef1c20d47150c3651f9fdcdfd8078943690f496d95eaf026799187b81d5f", kill_on_drop: false }` [INFO] [stdout] cdf8ef1c20d47150c3651f9fdcdfd8078943690f496d95eaf026799187b81d5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bfd3a596644e0b2b722161d0ff4e08a67867a57fefda5da0a38461cb1d0ee86b [INFO] running `Command { std: "docker" "start" "-a" "bfd3a596644e0b2b722161d0ff4e08a67867a57fefda5da0a38461cb1d0ee86b", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking termion v2.0.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking rtools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/bin/rnano/document.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/bin/rnano/document.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/bin/rman/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | Ok(Box::new(ManConfig { command })) [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/bin/rfind/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok(Box::new(FindConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | directory, [INFO] [stdout] 16 | | file_name, [INFO] [stdout] 17 | | })) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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/bin/rzip/config.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(Box::new(ZipConfig{source, target, options : options_hm })) [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/bin/rsort/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | Ok(Box::new(SortConfig { file_name })) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rfind" test) due to 2 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/bin/rsort/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | Ok(Box::new(SortConfig { file_name })) [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] [stderr] error: could not compile `rtools` (bin "rman" test) due to 2 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/bin/rzip/config.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(Box::new(ZipConfig{source, target, options : options_hm })) [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/bin/rman/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | Ok(Box::new(ManConfig { command })) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rzip") due to 2 previous errors [INFO] [stderr] error: could not compile `rtools` (bin "rsort" test) due to 2 previous errors [INFO] [stderr] error: could not compile `rtools` (bin "rsort") due to 2 previous errors [INFO] [stderr] error: could not compile `rtools` (bin "rman") due to 2 previous errors [INFO] [stdout] warning: unused variable: `rcs_config` [INFO] [stdout] --> src/bin/rcs/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let rcs_config : config::RCSConfig = parse_args(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rcs_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rzip" test) due to 2 previous errors [INFO] [stdout] warning: fields `command_name` and `arguments` are never read [INFO] [stdout] --> src/bin/rcs/config.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RCSConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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/bin/rcs/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Box::new(RCSConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | command_name, [INFO] [stdout] 38 | | arguments, [INFO] [stdout] 39 | | })) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rcs") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused variable: `rcs_config` [INFO] [stdout] --> src/bin/rcs/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let rcs_config : config::RCSConfig = parse_args(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rcs_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_name` and `arguments` are never read [INFO] [stdout] --> src/bin/rcs/config.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RCSConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub command_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | pub arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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/bin/rfind/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | Ok(Box::new(FindConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | directory, [INFO] [stdout] 16 | | file_name, [INFO] [stdout] 17 | | })) [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/bin/rcs/config.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Box::new(RCSConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | command_name, [INFO] [stdout] 38 | | arguments, [INFO] [stdout] 39 | | })) [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/bin/rgrep/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GrepConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub options: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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/bin/rgrep/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(Box::new(GrepConfig { term, path, options})) [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rcs" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `rtools` (bin "rfind") due to 2 previous errors [INFO] [stderr] error: could not compile `rtools` (bin "rgrep" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/bin/rgrep/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GrepConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub options: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [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/bin/rgrep/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn build(mut args: impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(Box::new(GrepConfig { term, path, options})) [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rgrep") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/bin/rnano/editor.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Editor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 41 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_colour` is never used [INFO] [stdout] --> src/bin/rnano/highlighting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 9 | fn to_colour (&self) -> impl color::Color { [INFO] [stdout] | ^^^^^^^^^ [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/bin/rnano/editor.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | let terminal = Terminal::build()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(Editor { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | quit_confirm: false, [INFO] [stdout] 73 | | file_name: config.file_name, [INFO] [stdout] 74 | | exited: false, [INFO] [stdout] ... | [INFO] [stdout] 79 | | status_message: StatusMessage::from(initial_status), [INFO] [stdout] 80 | | }) [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] = 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/bin/rnano/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | Ok(Box::new(EditorConfig { file_name })) [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/bin/rnano/terminal.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Terminal { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | dimensions: Dimensions { [INFO] [stdout] 25 | | width: size.0, [INFO] [stdout] 26 | | height: size.1.saturating_sub(2), [INFO] [stdout] 27 | | }, [INFO] [stdout] 28 | | _stdout: stdout().into_raw_mode()?, [INFO] [stdout] 29 | | }) [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rnano" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `file_name` is never read [INFO] [stdout] --> src/bin/rnano/editor.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Editor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 41 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_colour` is never used [INFO] [stdout] --> src/bin/rnano/highlighting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 9 | fn to_colour (&self) -> impl color::Color { [INFO] [stdout] | ^^^^^^^^^ [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/bin/rnano/editor.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | let terminal = Terminal::build()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(Editor { [INFO] [stdout] | ____________^ [INFO] [stdout] 72 | | quit_confirm: false, [INFO] [stdout] 73 | | file_name: config.file_name, [INFO] [stdout] 74 | | exited: false, [INFO] [stdout] ... | [INFO] [stdout] 79 | | status_message: StatusMessage::from(initial_status), [INFO] [stdout] 80 | | }) [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] = 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/bin/rnano/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | fn build(mut args : impl Iterator) -> Result, &'static str> { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | Ok(Box::new(EditorConfig { file_name })) [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/bin/rnano/terminal.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Terminal { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | dimensions: Dimensions { [INFO] [stdout] 25 | | width: size.0, [INFO] [stdout] 26 | | height: size.1.saturating_sub(2), [INFO] [stdout] 27 | | }, [INFO] [stdout] 28 | | _stdout: stdout().into_raw_mode()?, [INFO] [stdout] 29 | | }) [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtools` (bin "rnano") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bfd3a596644e0b2b722161d0ff4e08a67867a57fefda5da0a38461cb1d0ee86b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd3a596644e0b2b722161d0ff4e08a67867a57fefda5da0a38461cb1d0ee86b", kill_on_drop: false }` [INFO] [stdout] bfd3a596644e0b2b722161d0ff4e08a67867a57fefda5da0a38461cb1d0ee86b