[INFO] fetching crate rusty-lines 0.3.0... [INFO] checking rusty-lines-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rusty-lines 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rusty-lines 0.3.0 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 rusty-lines 0.3.0 [INFO] finished tweaking crates.io crate rusty-lines 0.3.0 [INFO] tweaked toml for crates.io crate rusty-lines 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rusty-lines 0.3.0 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7167b36d1b591e79646badfc6ee1c8a38f84d28017276ff39714563cf9fbe01e [INFO] running `Command { std: "docker" "start" "-a" "7167b36d1b591e79646badfc6ee1c8a38f84d28017276ff39714563cf9fbe01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7167b36d1b591e79646badfc6ee1c8a38f84d28017276ff39714563cf9fbe01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7167b36d1b591e79646badfc6ee1c8a38f84d28017276ff39714563cf9fbe01e", kill_on_drop: false }` [INFO] [stdout] 7167b36d1b591e79646badfc6ee1c8a38f84d28017276ff39714563cf9fbe01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ecafd54da0e46b852d7ded24200f832b326790c04c05a4cd472705d9c3d4f96a [INFO] running `Command { std: "docker" "start" "-a" "ecafd54da0e46b852d7ded24200f832b326790c04c05a4cd472705d9c3d4f96a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rusty-lines v0.3.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:70:31 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn history(self, filename: P) -> Self { [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] 70 | history_filename: Some(filename), [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:78:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(self) -> Result>>> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let reader = LineEditor::try_new(&self.prompt_name, self.exit_terms, self.history_filename) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | .map_err(Error)?; [INFO] [stdout] 78 | Ok(Box::new(reader)) [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] = 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:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn build(self) -> Result>>> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let reader = FileReader::::try_new(self.filename, self.replace_variables)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Ok(Box::new(reader)) [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] = 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/editor.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [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/editor.rs:56:82 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 57 | | editor.set_helper(Some(MyHelper::default())); [INFO] [stdout] 58 | | if let Some(filename) = history_filename.as_ref() { [INFO] [stdout] 59 | | if filename.as_ref().exists() { [INFO] [stdout] ... | [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | }) [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/editor.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 65 | | exit_terms, [INFO] [stdout] 66 | | prompt: prompt(&mut editor, name), [INFO] [stdout] 67 | | editor, [INFO] [stdout] 68 | | history_filename: history_filename.map(|f| PathBuf::from(f.as_ref())), [INFO] [stdout] 69 | | }) [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/file.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn try_new>(path: P, replace_variables: bool) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / OpenOptions::new() [INFO] [stdout] 27 | | .read(true) [INFO] [stdout] 28 | | .open(path) [INFO] [stdout] 29 | | .map_err(ReadlineError::from) [INFO] [stdout] 30 | | .map_err(Error) [INFO] [stdout] 31 | | .map(BufReader::new) [INFO] [stdout] 32 | | .map(|reader| reader.lines()) [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/file.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|lines| FileReader:: { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | lines, [INFO] [stdout] 35 | re: regex(), [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/file.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 43 | let lines = BufReader::new(Cursor::new(s)).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | re: regex(), [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/file.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|result| result.map_err(ReadlineError::from).map_err(Error)) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-lines` (lib) due to 11 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/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn history(self, filename: P) -> Self { [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] 70 | history_filename: Some(filename), [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:78:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build(self) -> Result>>> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let reader = LineEditor::try_new(&self.prompt_name, self.exit_terms, self.history_filename) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | .map_err(Error)?; [INFO] [stdout] 78 | Ok(Box::new(reader)) [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] = 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:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn build(self) -> Result>>> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let reader = FileReader::::try_new(self.filename, self.replace_variables)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Ok(Box::new(reader)) [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] = 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/editor.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [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/editor.rs:56:82 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 57 | | editor.set_helper(Some(MyHelper::default())); [INFO] [stdout] 58 | | if let Some(filename) = history_filename.as_ref() { [INFO] [stdout] 59 | | if filename.as_ref().exists() { [INFO] [stdout] ... | [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | }) [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/editor.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 49 | history_filename: Option

, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | rustyline::Editor::::with_config(config).and_then(|mut editor| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 65 | | exit_terms, [INFO] [stdout] 66 | | prompt: prompt(&mut editor, name), [INFO] [stdout] 67 | | editor, [INFO] [stdout] 68 | | history_filename: history_filename.map(|f| PathBuf::from(f.as_ref())), [INFO] [stdout] 69 | | }) [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/file.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn try_new>(path: P, replace_variables: bool) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | / OpenOptions::new() [INFO] [stdout] 27 | | .read(true) [INFO] [stdout] 28 | | .open(path) [INFO] [stdout] 29 | | .map_err(ReadlineError::from) [INFO] [stdout] 30 | | .map_err(Error) [INFO] [stdout] 31 | | .map(BufReader::new) [INFO] [stdout] 32 | | .map(|reader| reader.lines()) [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/file.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 33 | .map(|lines| FileReader:: { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | lines, [INFO] [stdout] 35 | re: regex(), [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/file.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 43 | let lines = BufReader::new(Cursor::new(s)).lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | re: regex(), [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/file.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|result| result.map_err(ReadlineError::from).map_err(Error)) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-lines` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "ecafd54da0e46b852d7ded24200f832b326790c04c05a4cd472705d9c3d4f96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecafd54da0e46b852d7ded24200f832b326790c04c05a4cd472705d9c3d4f96a", kill_on_drop: false }` [INFO] [stdout] ecafd54da0e46b852d7ded24200f832b326790c04c05a4cd472705d9c3d4f96a