[INFO] cloning repository https://github.com/0xJonas/rehearse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xJonas/rehearse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xJonas%2Frehearse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xJonas%2Frehearse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5843d6bb2e369f8507b4b370f3d7ce13c9ddbdf1 [INFO] checking 0xJonas/rehearse/5843d6bb2e369f8507b4b370f3d7ce13c9ddbdf1 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%2F0xJonas%2Frehearse" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xJonas/rehearse 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/0xJonas/rehearse [INFO] finished tweaking git repo https://github.com/0xJonas/rehearse [INFO] tweaked toml for git repo https://github.com/0xJonas/rehearse written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding crossterm v0.22.1 (latest: v0.28.1) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.5) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mio v0.7.14 (latest: v1.0.2) [INFO] [stderr] Adding miow v0.3.7 (latest: v0.6.0) [INFO] [stderr] Adding ntapi v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding simplelog v0.11.2 (latest: v0.12.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding termcolor v1.1.3 (latest: v1.4.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] 737d3efc87e7fb223916a9cfc130ec4ded85e26e7f708584e45c78446fc41c1c [INFO] running `Command { std: "docker" "start" "-a" "737d3efc87e7fb223916a9cfc130ec4ded85e26e7f708584e45c78446fc41c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "737d3efc87e7fb223916a9cfc130ec4ded85e26e7f708584e45c78446fc41c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "737d3efc87e7fb223916a9cfc130ec4ded85e26e7f708584e45c78446fc41c1c", kill_on_drop: false }` [INFO] [stdout] 737d3efc87e7fb223916a9cfc130ec4ded85e26e7f708584e45c78446fc41c1c [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] 5213b1e236048bbeec687317451ddae2f9a8331c0bb1822f37d22ff08b03ab0b [INFO] running `Command { std: "docker" "start" "-a" "5213b1e236048bbeec687317451ddae2f9a8331c0bb1822f37d22ff08b03ab0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking simplelog v0.11.2 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rehearse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::priority_queue::PriorityQueue` [INFO] [stdout] --> src/diff/differ.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::priority_queue::PriorityQueue` [INFO] [stdout] --> src/diff/differ.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/match_script/expression_parser.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | struct Cursor<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 155 | content: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_newline` is never used [INFO] [stdout] --> src/match_script/expression_parser.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn find_next_newline(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Number(i64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | FunctionCall(Box) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | FunctionCall(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_BUFFER_SIZE` is never used [INFO] [stdout] --> src/diff/differ.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const READ_BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DifferParams` is never constructed [INFO] [stdout] --> src/diff/differ.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DifferParams<'ref_name, 'test_name, 'delimiter_tag, R: AsyncReadExt + Unpin> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiffInput` is never constructed [INFO] [stdout] --> src/diff/differ.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct DiffInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mark_as_processed`, `discard_processed_data`, `top_up_ref_buffer`, `decode_strip`, and `push_test_data` are never used [INFO] [stdout] --> src/diff/differ.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl DiffInput { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn new<'a, 'b, 'c, X>(params: DifferParams<'a, 'b, 'c, X>) -> DiffInput [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn mark_as_processed(&mut self, ref_chars: usize, test_chars: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn discard_processed_data(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | async fn top_up_ref_buffer(&mut self, new_len: usize) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn decode_strip(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn push_test_data(&mut self, data: &[u8]) -> Result<(), ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inserted`, `Decreased`, and `Ignored` are never constructed [INFO] [stdout] --> src/diff/priority_queue.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum InsertOrDecreaseResult { [INFO] [stdout] | ---------------------- variants in this enum [INFO] [stdout] 34 | Inserted, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | Decreased, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Ignored [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertOrDecreaseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/diff/priority_queue.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PriorityQueue { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new() -> PriorityQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn move_up(&mut self, index: usize) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn move_down(&mut self, index: usize) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn insert(&mut self, data: T, priority: isize) -> () { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn peek_min(&self) -> Option<(&T, isize)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn extract_min(&mut self) -> Option<(T, isize)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn decrease_key(&mut self, index: usize, new_priority: isize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn insert_or_decrease(&mut self, elem: T, priority: isize) -> InsertOrDecreaseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn iter(&self) -> PQueueIter { [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/test_cases/runner.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 272 | let c_progress_reporter_mutex = progress_reporter_mutex.clone(); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | tokio::spawn(process_single_test_case(tc, c_progress_reporter_mutex)) [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/cli.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 173 | fn write(&mut self, buf: D) -> std::io::Result<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | match self.stdout.lock().queue(Print(buf)) { [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/match_script/functions.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | let compiled_expression = compile_text_expression(context, expr)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Ok(Box::new(compiled_expression)) [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 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rehearse` (lib) due to 4 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/match_script/expression_parser.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 154 | struct Cursor<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 155 | content: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_next_newline` is never used [INFO] [stdout] --> src/match_script/expression_parser.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn find_next_newline(text: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Number(i64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/match_script/functions.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | FunctionCall(Box) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | FunctionCall(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `test_input` is never read [INFO] [stdout] --> src/diff/differ.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DifferParams<'ref_name, 'test_name, 'delimiter_tag, R: AsyncReadExt + Unpin> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub test_input: R, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/diff/priority_queue.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PriorityQueue { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn iter(&self) -> PQueueIter { [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/test_cases/runner.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 272 | let c_progress_reporter_mutex = progress_reporter_mutex.clone(); [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | tokio::spawn(process_single_test_case(tc, c_progress_reporter_mutex)) [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/cli.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 173 | fn write(&mut self, buf: D) -> std::io::Result<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | match self.stdout.lock().queue(Print(buf)) { [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/match_script/proto_grapheme_source.rs:251:86 [INFO] [stdout] | [INFO] [stdout] 251 | ...toGrapheme::ProtoExpression(Box::new(ProtoExpression { expr: new_expr, position: CursorPosition::new() }))) [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/match_script/functions.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | let compiled_expression = compile_text_expression(context, expr)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Ok(Box::new(compiled_expression)) [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rehearse` (lib test) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5213b1e236048bbeec687317451ddae2f9a8331c0bb1822f37d22ff08b03ab0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5213b1e236048bbeec687317451ddae2f9a8331c0bb1822f37d22ff08b03ab0b", kill_on_drop: false }` [INFO] [stdout] 5213b1e236048bbeec687317451ddae2f9a8331c0bb1822f37d22ff08b03ab0b