[INFO] fetching crate rflex 0.8.1... [INFO] checking rflex-0.8.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rflex 0.8.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rflex 0.8.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 rflex 0.8.1 [INFO] finished tweaking crates.io crate rflex 0.8.1 [INFO] tweaked toml for crates.io crate rflex 0.8.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rflex 0.8.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] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f41666b2f78e1365b2e3899dfe93d416f4a8f68af72180ee19aab68abc8f3fe4 [INFO] running `Command { std: "docker" "start" "-a" "f41666b2f78e1365b2e3899dfe93d416f4a8f68af72180ee19aab68abc8f3fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f41666b2f78e1365b2e3899dfe93d416f4a8f68af72180ee19aab68abc8f3fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41666b2f78e1365b2e3899dfe93d416f4a8f68af72180ee19aab68abc8f3fe4", kill_on_drop: false }` [INFO] [stdout] f41666b2f78e1365b2e3899dfe93d416f4a8f68af72180ee19aab68abc8f3fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a2cd81072afe466e061766797652036d10b7479990ded6cc4327541c8eaf588f [INFO] running `Command { std: "docker" "start" "-a" "a2cd81072afe466e061766797652036d10b7479990ded6cc4327541c8eaf588f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking liquid-error v0.16.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking addr2line v0.14.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking liquid-value v0.17.1 [INFO] [stderr] Checking liquid-interpreter v0.17.1 [INFO] [stderr] Checking liquid-compiler v0.17.1 [INFO] [stderr] Checking liquid v0.17.1 [INFO] [stderr] Checking rflex v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_end` and `set_start` are never used [INFO] [stdout] --> src/charclasses.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_end(&mut self, end: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_start(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_char` is never used [INFO] [stdout] --> src/charclasses.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl IntCharSet { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn add_char(&mut self, c: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_char_code`, `set_max_char_code`, and `to_string_i` are never used [INFO] [stdout] --> src/charclasses.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl CharClasses { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn get_max_char_code(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn set_max_char_code(&mut self, max_char_code: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn to_string_i(&self, index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_dot` and `dump` are never used [INFO] [stdout] --> src/dfa.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl DFA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn write_dot(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn dump(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, `write_dot`, and `dump_table` are never used [INFO] [stdout] --> src/nfa.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl NFA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn dump_epsilon(&self, epsilon: Vec>>>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn dump_fixedbit(&self, v: &FixedBitSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn write_dot(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn dump_table(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/nfa.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/scanner.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Ast { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_num` is never read [INFO] [stdout] --> src/scanner.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 334 | chars: Chars<'a>, [INFO] [stdout] 335 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_char_classes` is never used [INFO] [stdout] --> src/scanner.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn get_char_classes(&self) -> CharClasses { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_regex` is never used [INFO] [stdout] --> src/scanner.rs:584:4 [INFO] [stdout] | [INFO] [stdout] 584 | fn parse_regex(line_num: usize, line: &String) -> Result<(IR, String), TranslateError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `num` is never used [INFO] [stdout] --> src/scanner.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 671 | impl Action { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 681 | pub fn num(num: i32) -> Action { [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/error.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn from(kind: ErrorKind) -> Error { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Error { [INFO] [stdout] 57 | inner: Context::new(kind), [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/error.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(error: std::io::Error) -> Error { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | Error { [INFO] [stdout] 65 | inner: Context::new(ErrorKind::Io { error }), [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/scanner.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 593 | let ir = translator.translate(&ast).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 594 | Ok((ir, code)) [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/scanner.rs:606:8 [INFO] [stdout] | [INFO] [stdout] 605 | let ir = translator.translate(&ast)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 606 | Ok((ir, code, state)) [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: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rflex` (lib) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `set_end` and `set_start` are never used [INFO] [stdout] --> src/charclasses.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_end(&mut self, end: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_start(&mut self, start: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_max_char_code` and `set_max_char_code` are never used [INFO] [stdout] --> src/charclasses.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl CharClasses { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn get_max_char_code(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn set_max_char_code(&mut self, max_char_code: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> src/dfa.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl DFA { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn dump(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, and `dump_table` are never used [INFO] [stdout] --> src/nfa.rs:528:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl NFA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | fn dump_epsilon(&self, epsilon: Vec>>>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn dump_fixedbit(&self, v: &FixedBitSet) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn dump_table(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/nfa.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> src/scanner.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Ast { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line_num` is never read [INFO] [stdout] --> src/scanner.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 334 | chars: Chars<'a>, [INFO] [stdout] 335 | line_num: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_char_classes` is never used [INFO] [stdout] --> src/scanner.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn get_char_classes(&self) -> CharClasses { [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/error.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn from(kind: ErrorKind) -> Error { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Error { [INFO] [stdout] 57 | inner: Context::new(kind), [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/error.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(error: std::io::Error) -> Error { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | Error { [INFO] [stdout] 65 | inner: Context::new(ErrorKind::Io { error }), [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/scanner.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 593 | let ir = translator.translate(&ast).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 594 | Ok((ir, code)) [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/scanner.rs:606:8 [INFO] [stdout] | [INFO] [stdout] 605 | let ir = translator.translate(&ast)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 606 | Ok((ir, code, state)) [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: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rflex` (lib test) due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2cd81072afe466e061766797652036d10b7479990ded6cc4327541c8eaf588f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2cd81072afe466e061766797652036d10b7479990ded6cc4327541c8eaf588f", kill_on_drop: false }` [INFO] [stdout] a2cd81072afe466e061766797652036d10b7479990ded6cc4327541c8eaf588f