[INFO] cloning repository https://github.com/dacid44/basic_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dacid44/basic_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdacid44%2Fbasic_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdacid44%2Fbasic_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 107f3ff4cf932d1aa20f1a49a0221428a41f7c8c [INFO] checking dacid44/basic_rs/107f3ff4cf932d1aa20f1a49a0221428a41f7c8c 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%2Fdacid44%2Fbasic_rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dacid44/basic_rs 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/dacid44/basic_rs [INFO] finished tweaking git repo https://github.com/dacid44/basic_rs [INFO] tweaked toml for git repo https://github.com/dacid44/basic_rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dacid44/basic_rs 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cf2a3a6c8916ac8438ea26418f4340e1cfcd35351d9c93ba2b9fc9d89dc9dca6 [INFO] running `Command { std: "docker" "start" "-a" "cf2a3a6c8916ac8438ea26418f4340e1cfcd35351d9c93ba2b9fc9d89dc9dca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf2a3a6c8916ac8438ea26418f4340e1cfcd35351d9c93ba2b9fc9d89dc9dca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2a3a6c8916ac8438ea26418f4340e1cfcd35351d9c93ba2b9fc9d89dc9dca6", kill_on_drop: false }` [INFO] [stdout] cf2a3a6c8916ac8438ea26418f4340e1cfcd35351d9c93ba2b9fc9d89dc9dca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1aa95027e6531ceab1c62633152e32ebfaf023f05527ec616cc8f90c38dbbadf [INFO] running `Command { std: "docker" "start" "-a" "1aa95027e6531ceab1c62633152e32ebfaf023f05527ec616cc8f90c38dbbadf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking zeroize v1.5.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking dialoguer v0.10.0 [INFO] [stderr] Checking basic_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/data.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `matching_types` [INFO] [stdout] --> src/data.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | macro_rules! matching_types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorKind::TypeError` [INFO] [stdout] --> src/keyword.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::ErrorKind::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_not`, `take_till1`, `take_until1`, and `take_while` [INFO] [stdout] --> src/parser.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::bytes::complete::{tag_no_case, take_till1, take_until, take_until1, take_while, is_not, is_a}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `one_of` [INFO] [stdout] --> src/parser.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::character::complete::{char, i64, multispace0, one_of, u32}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `ErrorConvert`, `InputIter`, and `InputLength` [INFO] [stdout] --> src/parser.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::{Err, Finish, IResult, ErrorConvert, Parser, InputLength, InputIter}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, and `VerboseError` [INFO] [stdout] --> src/parser.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::error::{Error, ErrorKind, VerboseError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `trail_ws` [INFO] [stdout] --> src/parser.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | macro_rules! trail_ws { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{env, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/data.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Formatter, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `matching_types` [INFO] [stdout] --> src/data.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | macro_rules! matching_types { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorKind::TypeError` [INFO] [stdout] --> src/keyword.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::ErrorKind::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_not`, `take_till1`, `take_until1`, and `take_while` [INFO] [stdout] --> src/parser.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::bytes::complete::{tag_no_case, take_till1, take_until, take_until1, take_while, is_not, is_a}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `one_of` [INFO] [stdout] --> src/parser.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::character::complete::{char, i64, multispace0, one_of, u32}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `ErrorConvert`, `InputIter`, and `InputLength` [INFO] [stdout] --> src/parser.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::{Err, Finish, IResult, ErrorConvert, Parser, InputLength, InputIter}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, and `VerboseError` [INFO] [stdout] --> src/parser.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::error::{Error, ErrorKind, VerboseError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `trail_ws` [INFO] [stdout] --> src/parser.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | macro_rules! trail_ws { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | use std::{env, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_linked_loc` [INFO] [stdout] --> src/main.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let (next_name, next_linked_loc) = match instructions.get(&next_loc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_linked_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_linked_loc` [INFO] [stdout] --> src/main.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let (next_name, next_linked_loc) = match instructions.get(&next_loc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_linked_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `extract`, `is_type`, and `check_type` are never used [INFO] [stdout] --> src/data.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl DataType { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn extract>(self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn is_type(&self, test_type: &EmptyDataType) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn check_type(self, test_type: &EmptyDataType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/keyword.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Rem(String), [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] 10 | Rem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dim` is never constructed [INFO] [stdout] --> src/keyword.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum Keyword { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Dim(String, DataType), [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/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | ... .map(|x| x [INFO] [stdout] | _____________________________-__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | | ... .map_err(|x| x.wrap("ReadProgramLine (IO error)").into()) [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/main.rs:99:46 [INFO] [stdout] | [INFO] [stdout] 99 | ... .map_err(|x| x.wrap("ReadProgramLine (IO error)").into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | ... .and_then(|x| x.parse().map_err(|x: ParseError| x.into())) [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/data.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 342 | a: ResultKind, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | b: ResultKind, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | match (a, b) { [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/keyword.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|x| bubble_eval(x, state).map(|y| format!("{}", y))) [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/error.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 17 | fn bubble(self, context: &str) -> ErrorKind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | contained: Box::new(self.into()), [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] warning: methods `extract`, `is_type`, and `check_type` are never used [INFO] [stdout] --> src/data.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl DataType { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn extract>(self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn is_type(&self, test_type: &EmptyDataType) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn check_type(self, test_type: &EmptyDataType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/keyword.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Rem(String), [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] 10 | Rem(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dim` is never constructed [INFO] [stdout] --> src/keyword.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum Keyword { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Dim(String, DataType), [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/main.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | ... .map(|x| x [INFO] [stdout] | _____________________________-__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | | ... .map_err(|x| x.wrap("ReadProgramLine (IO error)").into()) [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/main.rs:99:46 [INFO] [stdout] | [INFO] [stdout] 99 | ... .map_err(|x| x.wrap("ReadProgramLine (IO error)").into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | ... .and_then(|x| x.parse().map_err(|x: ParseError| x.into())) [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/data.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 342 | a: ResultKind, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | b: ResultKind, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | match (a, b) { [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/keyword.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | .map(|x| bubble_eval(x, state).map(|y| format!("{}", y))) [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/error.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 17 | fn bubble(self, context: &str) -> ErrorKind { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | contained: Box::new(self.into()), [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 6 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_rs` (bin "basic_rs" test) due to 7 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `basic_rs` (bin "basic_rs") due to 7 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1aa95027e6531ceab1c62633152e32ebfaf023f05527ec616cc8f90c38dbbadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa95027e6531ceab1c62633152e32ebfaf023f05527ec616cc8f90c38dbbadf", kill_on_drop: false }` [INFO] [stdout] 1aa95027e6531ceab1c62633152e32ebfaf023f05527ec616cc8f90c38dbbadf