[INFO] fetching crate toml-parse 0.2.11... [INFO] checking toml-parse-0.2.11 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate toml-parse 0.2.11 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate toml-parse 0.2.11 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 toml-parse 0.2.11 [INFO] finished tweaking crates.io crate toml-parse 0.2.11 [INFO] tweaked toml for crates.io crate toml-parse 0.2.11 written to /workspace/builds/worker-0-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 46 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.9.1 (latest: v0.14.5) [INFO] [stderr] Adding muncher v0.6.2 (latest: v0.7.0) [INFO] [stderr] Adding rowan v0.10.6 (latest: v0.15.16) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding smol_str v0.1.24 (latest: v0.2.2) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 907f906f358755db8a28fcdf0d81cfd68c1222f14e9535f86b77a3dbe777019d [INFO] running `Command { std: "docker" "start" "-a" "907f906f358755db8a28fcdf0d81cfd68c1222f14e9535f86b77a3dbe777019d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907f906f358755db8a28fcdf0d81cfd68c1222f14e9535f86b77a3dbe777019d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907f906f358755db8a28fcdf0d81cfd68c1222f14e9535f86b77a3dbe777019d", kill_on_drop: false }` [INFO] [stdout] 907f906f358755db8a28fcdf0d81cfd68c1222f14e9535f86b77a3dbe777019d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d79227def7624f9242f53578c23373434892082a8329fe9370a5d6719f524078 [INFO] running `Command { std: "docker" "start" "-a" "d79227def7624f9242f53578c23373434892082a8329fe9370a5d6719f524078", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking muncher v0.6.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking rowan v0.10.6 [INFO] [stderr] Checking toml-parse v0.2.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TomlNode` and `TomlToken` [INFO] [stdout] --> src/tkn_tree/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use kinds::{TomlKind, TomlNode, TomlToken}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TomlNode` and `TomlToken` [INFO] [stdout] --> src/tkn_tree/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use kinds::{TomlKind, TomlNode, TomlToken}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_milli`: use `from_hms_milli_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let _ = NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms_milli`: use `from_hms_milli_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .and_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let _ = NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_milli`: use `and_hms_milli_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .and_hms_milli( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | .and_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?).and_hms( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:72:91 [INFO] [stdout] | [INFO] [stdout] 72 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?).and_hms( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms_milli`: use `and_hms_milli_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .and_hms_milli( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?).and_hms( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:72:91 [INFO] [stdout] | [INFO] [stdout] 72 | NaiveDate::from_ymd(date[0].parse()?, date[1].parse()?, date[2].parse()?).and_hms( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_by` is never used [INFO] [stdout] --> src/common/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait GroupBy { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 10 | type Item; [INFO] [stdout] 11 | fn group_by

(self, predicate: P) -> (Vec, Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sort/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 74 | let kids = root.children_with_tokens().collect::>(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut tables = Vec::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | tables.into_iter().map(|p| p.1).flatten() [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/sort/mod.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 79 | .map(|(i, n)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | / n.as_node() [INFO] [stdout] 83 | | .unwrap() [INFO] [stdout] 84 | | .children() [INFO] [stdout] 85 | | .find(|n| n.kind() == TomlKind::Heading) [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/sort/mod.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | .map(|n| n.first_child().map(|n| n.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] [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/sort/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | .map(|n| n.first_child().map(|n| n.kind() == TomlKind::Array)) [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] warning: unused return value of `NaiveTime::from_hms_milli` that must be used [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `NaiveTime::from_hms` that must be used [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [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/tkn_tree/syntax.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn parse(self) -> TomlResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let green: GreenNode = self.builder.finish(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(ParsedToml { green }) [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 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_by` is never used [INFO] [stdout] --> src/common/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait GroupBy { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 10 | type Item; [INFO] [stdout] 11 | fn group_by

(self, predicate: P) -> (Vec, Vec) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sort/mod.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 74 | let kids = root.children_with_tokens().collect::>(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut tables = Vec::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | tables.into_iter().map(|p| p.1).flatten() [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/sort/mod.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 79 | .map(|(i, n)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | / n.as_node() [INFO] [stdout] 83 | | .unwrap() [INFO] [stdout] 84 | | .children() [INFO] [stdout] 85 | | .find(|n| n.kind() == TomlKind::Heading) [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/sort/mod.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | .map(|n| n.first_child().map(|n| n.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] [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/sort/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | .map(|n| n.first_child().map(|n| n.kind() == TomlKind::Array)) [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] warning: unused return value of `NaiveTime::from_hms_milli` that must be used [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = NaiveTime::from_hms_milli(time[0].parse()?, time[1].parse()?, sec, milli); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `NaiveTime::from_hms` that must be used [INFO] [stdout] --> src/tkn_tree/parse_tkns.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = NaiveTime::from_hms(time[0].parse()?, time[1].parse()?, time[2].parse()?); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toml-parse` (lib) due to 6 previous errors; 13 warnings emitted [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/tkn_tree/syntax.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn parse(self) -> TomlResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let green: GreenNode = self.builder.finish(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(ParsedToml { green }) [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 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toml-parse` (lib test) due to 6 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d79227def7624f9242f53578c23373434892082a8329fe9370a5d6719f524078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d79227def7624f9242f53578c23373434892082a8329fe9370a5d6719f524078", kill_on_drop: false }` [INFO] [stdout] d79227def7624f9242f53578c23373434892082a8329fe9370a5d6719f524078